From ebb309b834d4937a3412f5faa5ddb4410a3ea92b Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Thu, 30 May 2019 23:58:39 -0300 Subject: [PATCH] arreglando templates --- templates/dovecot-ldap.conf.ext.j2 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/dovecot-ldap.conf.ext.j2 b/templates/dovecot-ldap.conf.ext.j2 index d543331..765f631 100644 --- a/templates/dovecot-ldap.conf.ext.j2 +++ b/templates/dovecot-ldap.conf.ext.j2 @@ -5,7 +5,7 @@ # http://wiki2.dovecot.org/AuthDatabase/LDAP # Space separated list of LDAP hosts to use. host:port is allowed too. -hosts = {{ dovecot_auth_ldap_servers | join(" ") }} +hosts = {{ dovecot_ldap_servers | join(" ") }} # Use authentication binding for verifying password's validity. This works by # logging into LDAP server using the username and password given by client. @@ -21,14 +21,14 @@ auth_bind = yes # auth_bind_userdn = # LDAP protocol version to use. Likely 2 or 3. -ldap_version = {{ dovecot_auth_ldap_version }} +ldap_version = {{ dovecot_ldap_version }} # LDAP base. %variables can be used here. # For example: dc=mail, dc=example, dc=org -base = {{ dovecot_auth_ldap_base }} +base = {{ dovecot_ldap_base }} # Search scope: base, onelevel, subtree -scope = {{ dovecot_auth_ldap_scope }} +scope = {{ dovecot_ldap_scope }} # User attributes are given in LDAP-name=dovecot-internal-name list. The # internal names are: @@ -40,14 +40,14 @@ scope = {{ dovecot_auth_ldap_scope }} # There are also other special fields which can be returned, see # http://wiki2.dovecot.org/UserDatabase/ExtraFields #user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid -user_attrs = {{ dovecot_auth_ldap_user_attrs }} +user_attrs = {{ dovecot_ldap_user_attrs }} # Filter for user lookup. Some variables can be used (see # http://wiki2.dovecot.org/Variables for full list): # %u - username # %n - user part in user@domain, same as %u if there's no domain # %d - domain part in user@domain, empty if user there's no domain -user_filter = {{ dovecot_auth_ldap_user_filter }} +user_filter = {{ dovecot_ldap_user_filter }} # Password checking attributes: # user: Virtual user name (user@domain), if you wish to change the @@ -61,15 +61,15 @@ user_filter = {{ dovecot_auth_ldap_user_filter }} # userdb prefetch instead of userdb ldap in dovecot.conf. In that case you'll # also have to include user_attrs in pass_attrs field prefixed with "userdb_" # string. For example: -pass_attrs = {{ dovecot_auth_ldap_pass_attrs }} +pass_attrs = {{ dovecot_ldap_pass_attrs }} # Filter for password lookups -pass_filter = {{ dovecot_auth_ldap_pass_filter }} +pass_filter = {{ dovecot_ldap_pass_filter }} # Attributes and filter to get a list of all users -iterate_attrs = {{ dovecot_auth_ldap_iterate_attrs }} -iterate_filter = {{ dovecot_auth_ldap_iterate_filter }} +iterate_attrs = {{ dovecot_ldap_iterate_attrs }} +iterate_filter = {{ dovecot_ldap_iterate_filter }} # Default password scheme. "{scheme}" before password overrides this. # List of supported schemes is in: http://wiki2.dovecot.org/Authentication -default_pass_scheme = {{ dovecot_auth_ldap_default_pass_scheme }} +default_pass_scheme = {{ dovecot_ldap_default_pass_scheme }}