Thank you Timo,

dovecot-ldap.conf works fine - obviously thanks to auth_bind_userdn, so it authenticates as the binding user:

   auth_bind_userdn = uid=%u,ou=people,dc=example,dc=com

I've tried to use a similar configuration (using auth_bind_userdn) in the new configuration in dovecot-usrdb-ldap.conf and in dovecot-passdb-ldap.conf but, as I described, it doesn't work.

So, the question is what may be wrong in dovecot-usrdb-ldap.conf (dovecot-passdb-ldap.conf is identical).

Thanks again,
Nick


On 22/2/2011 10:51 πμ, Timo Sirainen wrote:
On Mon, 2011-02-21 at 22:02 +0200, Nikolaos Milas wrote:

I am trying to enable per user quotas, but I get the following error:

     Feb 18 23:59:20 vmail dovecot: auth(default):
ldap(tester,10.10.100.150): ldap_search((uid=tester)) failed: No such object

It seems as if ldapsearch for username/password won't work with my new
settings, but I can't find why.
Your dovecot-ldap.conf has no dn or dnpass settings, so it's doing the
userdb lookups anonymously. My guess is that won't work.



Reply via email to