FreeBSD/jails/config/mail/dovecot/ldap.conf.ext
2020-02-25 11:28:31 -08:00

15 lines
437 B
Plaintext

hosts = ldap.ahlawat.com
auth_bind = no
ldap_version = 3
base = ou=people,dc=infra
deref = never
scope = subtree
user_attrs = homeDirectory=cn
user_filter = (&(objectclass=posixAccount)(cn=%n))
pass_attrs = uid=user,userPassword=password
pass_filter = (&(objectclass=posixAccount)(cn=%n))
# Attributes and filter to get a list of all users
iterate_attrs = uid=user
iterate_filter = (objectClass=posixAccount)
default_pass_scheme = CRYPT