On 05/02/2026 11:56 EET Ruud Baart via dovecot <dovecot@dovecot.org> wrote:
I think you're pointing me in the right direction. I copied the LDAP configuration from version 2.3 to 2.4 and modified it, but perhaps I modified the bind section not correctly. If so, it probably works because an anonymous bind provides the requested data. In that case I need to rethink my access rules in the LDAP.
What if have:
ldap_uris = ldap://localhost ldap_auth_dn = cn=xxxx,ou=xxxx,dc=abc,dc=xy ldap_auth_dn_password = secret ldap_base = ou=xxx,dc=xxx,dc=xx
passdb ldap {...}
userdb ldap {....}
And looking at the documentation now, perhaps it should be:
dict_server { dict ldap {
<not related to authentication at all>
} }
passdb ldap {...}
userdb ldap {....}
Can you actually head out to https://dovecot.org/upgrader/ , choose dovecot-auth-ldap.conf.ext and feed your 2.3 config file there? It should give you the corresponding 2.4 configuration.
Aki