[Dovecot] LDAP auth_bind hangs and times out
Timo Sirainen
tss at iki.fi
Thu Apr 3 23:59:53 EEST 2008
On Thu, 2008-04-03 at 09:46 -0500, Jack McKinney wrote:
> ldap(jackmc at lorentz.com,y.y.y.y): bind search: base=ou=users,
> dc=lorentz,dc=com
> filter=(&(objectClass=inetOrgPerson)(mail=jackmc at lorentz.com))
Here should be a line saying "result: <returned fields>". Since there
isn't, Dovecot never appears to receive the reply. You could verify this
by adding to src/auth/db-ldap.c ldap_input() around line 372:
msgid = ldap_msgid(res);
// added line:
i_info("LDAP: Received reply %d", msgid);
msgid might be the same as this tag:
> Apr 3 08:13:30 fourier slapd[14039]: conn=7 op=3 SEARCH RESULT tag=101
But I'm not sure. If you anyway receive a reply after the "bind search",
there's something wrong in Dovecot's error handling.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080403/995c5072/attachment.bin
More information about the dovecot
mailing list