Displaying 2 results from an estimated 2 matches for "ldap_msgid".
2008 Apr 03
2
LDAP auth_bind hangs and times out
I have _almost_ got Dovecot working! One little snag...
My users login using their email address as username. Each domain has
their own LDAP subtree. Each user has an entry in the ou=users subtree
of the domain subtree, and has a mail: field (inetOrgPerson) listing
their email address/login name.
I am trying to use auth_bind: when I login with jackmc at lorentz.com,
dovecot should search for
2008 Apr 08
1
Please help: LDAP configuration _almost_ works.
...d to add pass_attrs, in case there was a bug in dovecot where it
ignores the reply if there are no pass_attrs (even though none are
needed), but it still fails the same way.
Timo Sirainen suggested that I add a debug line to src/auth/db-ldap.c
ldap_input() around line 372:
msgid = ldap_msgid(res);
// added line:
i_info("LDAP: Received reply %d", msgid);
I did this. Now, when the server first starts up, this line is logged.
However, it is not logged when it queries the LDAP server as a result of
an IMAP connection needing authentication.
--
Jack McKinney
G...