authentication - no errors

Michael Engelhart mengelhart at katahdinsoftware.com
Wed May 7 20:17:09 CEST 2003


how do I tell if it's using the "right" libraries?  I'm using pre06 and 
built it against the only libraries that are on my Mac OS X box which 
comes with openldap 2.0.x libs installed.    Maybe I did build it 
incorrectly???

thanks
Mike
On Wednesday, May 7, 2003, at 02:02  PM, Michael Ströder wrote:

> Michael Engelhart wrote:
>> I'm still losing my mind with why my python-ldap won't throw 
>> authentication errors when invalid passwords are passed
>
> Hmm...
>
>> I still can't figure out how to force python-ldap to throw an 
>> exception upon entering an invalid dn or password or combination 
>> thereof.
>
> You don't have to force python-ldap to throw the exception. If the 
> error code returned by the LDAP server is non-zero there is always an 
> appropriate LDAPError exception raised.
>
>> This is definitely a python-ldap issue because when I try and do an 
>> ldapsearch on the command line it gives an error message saying that 
>> the dn or password is invalid.
>
> I doubt that.
>
> Check whether you _ldap.so uses the right OpenLDAP libs.
>
> Ciao, Michael.
>






More information about the python-ldap mailing list