9 Sep
2011
9 Sep
'11
9:54 a.m.
On Thu, Sep 08, 2011 at 04:03:58PM +0300, Timo Sirainen wrote:
So the "No such object" isn't expected.. Maybe different LDAP servers work in different ways?.. Yours appears to give out the difference between "user doesn't exist" and "wrong password"? Does the attached patch change these to "unknown user" messages?
Yes it does.
Before patch:
Sep 9 08:46:43 popimap2 dovecot: auth: Error: ldap(user@example.co,192.168.11.16): ldap_bind() failed: No such object
after patch:
Sep 9 08:50:50 popimap2 dovecot: auth: ldap(user@example.co,192.168.42.15): unknown user
-jf