[Dovecot] Cannot Authenticate via LDAP

Christian Wiese christian.wiese at securepoint.de
Tue Jun 4 14:56:00 EEST 2013

Hi Ron,

I didn't had the time to check all logs but the error log.
First thing you should check if there are LDAP REFFERALS enabled in the
systems ldap.conf.
I had a similar looking issue and it took me a good amount of time to
figure out that I had to disable LDAP REFFERALS globally.
This happened when using an AD as LDAP backend, but also applies to
Samba4 as you can see in the following mailing list thread:


The settings within the systems ldap.conf might influence dovecot,
because libldap (openldap) functions might read the global ldap.conf

Hope that helps.


Am Tue, 4 Jun 2013 05:50:16 -0400
schrieb Ron Scott-Adams <ron at tohuw.net>:

> a login tohuw [myPassword] returns "NO [AUTHENTICATIONFAILED]
> Authentication failed." I believe I'm missing a configuration detail,
> but what?
> info.log: http://pastebin.ca/2388873
> debug.log: http://pastebin.ca/2388872
> error.log: http://pastebin.ca/2388871
> dovecot -n: http://pastebin.ca/2388870
> dovecot-ldap.conf.ext summary: http://pastebin.ca/2388867

More information about the dovecot mailing list