diff --git a/conf/hm3.sample.ini b/conf/hm3.sample.ini index 77fc55d..d678503 100644 --- a/conf/hm3.sample.ini +++ b/conf/hm3.sample.ini @@ -62,18 +62,20 @@ 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 ; Enable TLS/SSL connections. Leave blank or set to false to disable. Set to ; true to enable TLS connections. -ldap_auth_tls= +ldap_auth_tls=false ; 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 ; -------------------