[Dovecot] ldap auth with test66

Thomas Hummel hummel at pasteur.fr
Mon Apr 4 19:38:46 EEST 2005


Hello,

The installation of 1.0-test66 (still on FreeBSD 5.3-RELEASE-p1 with
openldap-2.1.27) solved the SIGSEV problem I posted here on March 30
but I still cannot authenticate correctly with ldap.

logs report 

  "ldap(dovetest,127.0.0.1): No password in reply"

and my client gets a

  "NO Temporary authentication failure."

Obviously the attr_names array of the passdb_ldap_connection struct is
valid until the preinit function but has been corrupted when we're at
the passdb_init function.

For instance, here's what I get in the log file for the 'fields' value :

---
dovecot: Apr 04 11:43:19 Info: Dovecot v1.0-test66 starting up

dovecot: Apr 04 11:44:58 Info: auth(default): client in: AUTH   1       PLAIN   
service=IMAP    secured lip=127.0.0.1   rip=127.0.0.1   resp=AGRvdmV0ZXN0AHBhc3M
=
dovecot: Apr 04 11:44:58 Info: auth(default): ldap(dovetest,127.0.0.1): base=ou=
personnes, dc=pasteur, dc=fr scope=subtree filter=(&(objectClass=posixAccount)(u
id=dovetest)) fields=0^S^<^S^d^S^°^S^ð^S^^T^T^Ð^T^Ø^T^^C
--

Beside, I could notice, by adding some logging info, that the
attr_names seem to hold the USER attrs instead of the PASS attrs.

I'm trying now to investigate further through gdb (I added a sleep in
the main of dovecot-auth to be able to attach the running process in
gdb) but without success for now.

Do you have any clue of where I should look ?

-- 
Thomas Hummel 	    | Institut Pasteur
<hummel at pasteur.fr> | Pôle informatique - systèmes et réseau


More information about the dovecot mailing list