Feature request: allow Settings variables to be used in ldap_auth_dn
Hi,
with the migration to 2.4 my setup for LDAP authentication stopped working. I used to have different LDAP config files for every virtual domain. Each domain has an domain-specific service user with read access, that is used by dovecot. There is no service user with access across domains.
With the current 2.4 configuration I only see the possibility to configure one user in the variables ldap_auth_dn ldap_auth_dn_password
In ldap_base I am able to use settings variables
ldap_base = ou=people,dc=%{user | domain | ldap_dn}
which allows me to select the right LDAP tree depending on the domain of the user. I would need this also in ldap_auth_dn to keep my current setup.
I can see, that this is specific to my setup without an service user with access to all domains, and that this ignores the problem of having different passwords for different domain users, but it would at least keep some compatibility to working 2.3 setups.
Kind regards
Kristian
participants (1)
-
Kristian