[Dovecot] ldap userdb warning in v2.1.1

Timo Sirainen tss at iki.fi
Wed Mar 21 14:06:53 EET 2012

On 21.3.2012, at 11.00, Nikolaos Milas wrote:

> Mar 21 10:07:23 imapserver dovecot: master: Dovecot v2.1.1 starting up (core dumps disabled)
> Mar 21 10:08:17 imapserverdovecot: auth: Warning: ldap: Ignoring changed user_attrs in /etc/dovecot/dovecot-passdb-ldap.conf, because userdb ldap not used. (If this is intentional, set userdb_warning_disable=yes)
> I didn't see such warnings in 2.0.13.
> I guess I should/could remove the "user_attrs" line from dovecot-passdb-ldap.conf because it's not needed?

Hmm. Yes, if dovecot-usrdb-ldap.conf is a separate file from dovecot-passdb-ldap.conf you can just remove it. But this reminds me that in several places I've suggested to make one of them a symlink to the other, and you can't really do it then. Perhaps I'll need to remove this warning, or maybe make it recognize the symlink case.

Anyway I added it for both LDAP and SQL hoping that it would reduce questions like: "I changed user_attrs, but it doesn't do anything!"

More information about the dovecot mailing list