Make filter configurable
This commit is contained in:
parent
b820cc001d
commit
d2b051f2dd
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ postfix:
|
||||||
bind_dn: ""
|
bind_dn: ""
|
||||||
bind_pw: ""
|
bind_pw: ""
|
||||||
search_base: ou=users,dc=example,dc=com
|
search_base: ou=users,dc=example,dc=com
|
||||||
query_filter: ""
|
filter: "uid=%u"
|
||||||
result_attributes:
|
result_attributes:
|
||||||
aliases: mailForwardingAddress
|
aliases: mailForwardingAddress
|
||||||
mailboxes: mailMessageStore
|
mailboxes: mailMessageStore
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ ldap_bind_dn: {{ postfix.ldap.bind_dn }}
|
||||||
ldap_bind_pw: {{ postfix.ldap.bind_pw }}
|
ldap_bind_pw: {{ postfix.ldap.bind_pw }}
|
||||||
ldap_search_base: {{ postfix.ldap.search_base }}
|
ldap_search_base: {{ postfix.ldap.search_base }}
|
||||||
ldap_scope: sub
|
ldap_scope: sub
|
||||||
ldap_filter: uid=%u
|
ldap_filter: {{ postfix.ldap.filter }}
|
||||||
ldap_auth_method: bind
|
ldap_auth_method: bind
|
||||||
{% else %}
|
{% else %}
|
||||||
# LDAP is not configured for this server.
|
# LDAP is not configured for this server.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue