diff --git a/templates/ldap_table.cf.j2 b/templates/ldap_table.cf.j2 index afb19cc..42e589c 100644 --- a/templates/ldap_table.cf.j2 +++ b/templates/ldap_table.cf.j2 @@ -4,7 +4,7 @@ server_host = {{ postfix_ldap_server }} server_port = {{ postfix_ldap_port }} version = {{ postfix_ldap_version }} scope = {{ postfix_ldap_scope }} -bind = {{ postfix_ldap_bind }} +bind = {{ 'yes' if postfix_ldap_bind else 'no' }} bind_dn = {{ postfix_ldap_bind_dn }} bind_pw = {{ postfix_ldap_bind_pw }} start_tls = {{ postfix_ldap_start_tls }}