Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] Problems w/ LDAP Authentication and Sympa 3.3.3

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Vincent MATHIEU <address@concealed>
  • To: Luca Maranzano <address@concealed>, address@concealed
  • Subject: Re: [sympa-dev] Problems w/ LDAP Authentication and Sympa 3.3.3
  • Date: Mon, 04 Feb 2002 10:58:07 +0100

Can you send the ldap logs?


A 10:46 04/02/02 +0100, Luca Maranzano a écrit :
Hello,

I've configured LDAP authentication with Sympa 3.3.3 on Debian 3.0.
In the auth.conf I've something like this:

ldap
    host myldap.domain.it:389
    timeout                  20
    suffix                   dc=domain,dc=it
    get_dn_by_uid_filter    (uid=[sender])
    get_dn_by_email_filter  (|(mail=[sender])(mailalternateaddress=[sender]))
    email_attribute          mail
    scope                    sub

When I try to log into sympa via Web if I try a non existent user I get
the following from the log:

Feb  4 10:22:27 logsrv wwsympa[12277]: [client 130.251.200.2] do_loginrequest
Feb  4 10:22:47 logsrv wwsympa[12225]: [client 130.251.200.2] do_login(liuk)
Feb  4 10:22:47 logsrv wwsympa[12225]: No entry in the Ldap Directory Tree of myldap.domain.it:389 for liuk
Feb  4 10:22:47 logsrv wwsympa[12225]: [client 130.251.200.2] Incorrect Ldap pas
sword
Feb  4 10:22:47 logsrv wwsympa[12225]: Authentication failed
Feb  4 10:22:47 logsrv wwsympa[12225]: [client 130.251.200.2] do_home

Instead, when I try to log into sympa with correct login and password I get
the following:

Feb  4 10:24:37 logsrv wwsympa[12277]: [client 130.251.200.2] do_loginrequest
Feb  4 10:24:45 logsrv wwsympa[12225]: [client 130.251.200.2] do_login(sliuk)
Feb  4 10:24:45 logsrv wwsympa[12225]: [client 130.251.200.2] Incorrect Ldap pas
sword
Feb  4 10:24:45 logsrv wwsympa[12225]: Authentication failed
Feb  4 10:24:45 logsrv wwsympa[12225]: [client 130.251.200.2] do_home

From the log of the LDAP server I see that it is able to do anonymous bind
and then the bind with the right DN. I'm sure that the password is
correct :)

So the question is: how can I try to debug this?

Thanks in advance for any help.

Regards,
Luca

--
Vincent MATHIEU                 
CRI - Universite NANCY 2            | Email : address@concealed
Pole Lorrain de Gestion             | Tel   : (33) 03.83.39.64.06
13, Rue Michel Ney - C.O. 75        | Fax   : (33) 03.83.39.64.43
54013 Nancy Cedex.   FRANCE




Archive powered by MHonArc 2.6.19+.

Top of Page