Use cn instead of mail to store emails

This commit is contained in:
Quentin 2021-09-14 11:33:29 +02:00
parent e74bda617c
commit a2a25e2ea4
Signed by: quentin
GPG key ID: A98E9B769E4FF428
2 changed files with 2 additions and 2 deletions

View file

@ -5,4 +5,4 @@ base = dc=deuxfleurs,dc=fr
scope = subtree scope = subtree
user_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=deuxfleurs,dc=fr))) user_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=deuxfleurs,dc=fr)))
pass_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=deuxfleurs,dc=fr))) pass_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=deuxfleurs,dc=fr)))
user_attrs = mail=/var/mail/%{ldap:mail} user_attrs = mail=/var/mail/%{ldap:cn}