Yes, that is the bugger.
using "ldap_bind = yes" within this context gives that error.
Thanks for all the help. It seems so harmless ...
passdb ldap { passdb_use_worker = yes passdb_ldap_filter = ... fields { ... } }
Op 5-2-2026 om 20:46 schreef John Fawcett via dovecot:
On 05/02/2026 14:57, Ruud Baart via dovecot wrote:
Wrong idea I think. The simplest thing to try is to mask the bind password in the LDAP configuration by turning it into a comment. Restarting Dovecot immediately shows in the log files that the password is missing.
auth-worker(154994): Error: ldap([1]ldap://localhost:389): binding failed (dn cn=xxx,ou=xxx,dc=xxx,dc=xx): Server is unwilling to perform, unauthenticated bind (DN with no password) disallowed
Op 5-2-2026 om 11:31 schreef Aki Tuomi via dovecot:
HI
if you put the bind password back in the configuration and take out the ldap_bind = yes or set it to no in the passdb ldap config, does that go back to working again? If so is the error message about userpassword still produced?
John
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
--
Cordialement,
R.J. Baart Portable: +33 7 88398245
Yes, that is the bugger.
using "ldap_bind = yes" within this context gives that error.
Thanks for all the help. It seems so harmless ...
passdb ldap { passdb_use_worker = yes passdb_ldap_filter = ... fields { ... } }
Op 5-2-2026 om 20:46 schreef John Fawcett via dovecot:
On 05/02/2026 14:57, Ruud Baart via dovecot wrote:
Wrong idea I think. The simplest thing to try is to mask the bind
password
in the LDAP configuration by turning it into a comment. Restarting
Dovecot
immediately shows in the log files that the password is missing.
auth-worker(154994): Error: ldap([1][1]ldap://localhost:389):
binding
failed (dn cn=xxx,ou=xxx,dc=xxx,dc=xx): Server is unwilling to
perform,
unauthenticated bind (DN with no password) disallowed
Op 5-2-2026 om 11:31 schreef Aki Tuomi via dovecot:
HI
if you put the bind password back in the configuration and take out
the ldap_bind = yes or set it to no in the passdb ldap config, does that
go back to working again? If so is the error message about userpassword
still produced?
John
_______________________________________________
dovecot mailing list -- [2]dovecot@dovecot.org
To unsubscribe send an email to [3]dovecot-leave@dovecot.org
--
Cordialement,
R.J. Baart Portable: +33 7 88398245
References
Visible links
- file:///tmp/tmplov8zxxy/ldap:/localhost:389
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org