blse2-public/package-postfix_access/templates/postfix-ldap/virtual_group_members_maps....

14 lines
516 B
Django/Jinja

# {{ ansible_managed }}
server_host = {{ ldap_host }}
server_port = {{ ldap_port }}
version = 3
bind = yes
start_tls = no
bind_dn = {{ username_ldap_admin }}
bind_pw = {{ passwd_ldap_admin }}
search_base = {{ ldap_basedn }}
scope = sub
query_filter = (&(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=deliver)(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s))))
result_attribute= mail
debuglevel = 0