Files @ 9fa438ee34c0
Branch filter:

Location: majic-ansible-roles/roles/mail_server/templates/dovecot-ldap.conf.ext.j2

branko
MAR-5: Added another example to role reference for running PHP websites. Allow duplicates of roles php_website and wsgi_website. Use parameter in handler for restarting WSGI website (to have them website-specific). Updated test site to force handler execution in order to avoid being in undefined state.
uris = {{ mail_ldap_url }}
dn = cn=dovecot,ou=services,{{ mail_ldap_root_dn }}
dnpass = {{ mail_ldap_dovecot_password }}
tls = yes
tls_ca_cert_file = {{ mail_ldap_tls_truststore }}
tls_require_cert = demand
auth_bind = yes
base = ou=people,{{ mail_ldap_root_dn }}
scope = onelevel
user_filter = (&(objectClass=inetOrgPerson)(mail=%u)(memberOf=cn=mail,ou=groups,{{ mail_ldap_root_dn }}))
pass_attrs = mail=user,userPassword=password
pass_filter = (&(objectClass=inetOrgPerson)(mail=%u)(memberOf=cn=mail,ou=groups,{{ mail_ldap_root_dn }}))
iterate_attrs = mail=user
iterate_filter = (memberOf=cn=mail,ou=groups,{{ mail_ldap_root_dn }})
default_pass_scheme = SSHA
user_attrs =