[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: bind with meta backend (ITS#2968)



> Full_Name: Raphael Ouazana
> Version: 2.2.5
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (194.98.7.155)
>
>
> When I do a bind operation with a bad password, I get Success as result
> code, instead of Invalid credentials.
> I think the error is in back-meta/bind.c : there is a call to
> ldap_sasl_bind instead of ldap_sasl_bind_s in function
> dgcp_back_do_single_bind.
> In OpenLDAP 2.1.26, the call was ldap_bind_s, not ldap_bind.

The solution is not that easy.  I agree the code
is partially screwed up; a call to get the result
of the asynchronous ldap_sasl_bind was plainly
eaten up at some point.  I'll fix it.  Thanks.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it