diff --git a/conf/hm3.sample.ini b/conf/hm3.sample.ini index 293903c..2635371 100644 --- a/conf/hm3.sample.ini +++ b/conf/hm3.sample.ini @@ -23,7 +23,7 @@ ; custom Create your own session class. See the modules/site/lib.php file for ; more info ; -session_type=PHP +session_type=DB ; Authentication Type @@ -52,7 +52,7 @@ session_type=PHP ; custom Create your own auth class. See the modules/site/lib.php file for ; more info ; -auth_type=DB +auth_type=LDAP ; LDAP Authentication @@ -62,7 +62,7 @@ auth_type=DB ; ; The hostname or IP address of the LDAP server to authenticate to -ldap_auth_server=localhost +ldap_auth_server=127.0.0.1 ; The port the LDAP server is listening on. ldap_auth_port=389 @@ -74,6 +74,9 @@ ldap_auth_tls= ; The "base dn" of the LDAP server ldap_auth_base_dn="ou=users,dc=yunohost,dc=org" +; Search filter +ldap_auth_search_term="(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))" + ; IMAP Authentication ; -------------------