From: Michael E. <men...@ka...> - 2003-05-07 18:17:36
|
how do I tell if it's using the "right" libraries? I'm using pre06 and=20= built it against the only libraries that are on my Mac OS X box which=20 comes with openldap 2.0.x libs installed. Maybe I did build it=20 incorrectly??? thanks Mike On Wednesday, May 7, 2003, at 02:02 PM, Michael Str=F6der wrote: > Michael Engelhart wrote: >> I'm still losing my mind with why my python-ldap won't throw=20 >> authentication errors when invalid passwords are passed > > Hmm... > >> I still can't figure out how to force python-ldap to throw an=20 >> exception upon entering an invalid dn or password or combination=20 >> thereof. > > You don't have to force python-ldap to throw the exception. If the=20 > error code returned by the LDAP server is non-zero there is always an=20= > appropriate LDAPError exception raised. > >> This is definitely a python-ldap issue because when I try and do an=20= >> ldapsearch on the command line it gives an error message saying that=20= >> the dn or password is invalid. > > I doubt that. > > Check whether you _ldap.so uses the right OpenLDAP libs. > > Ciao, Michael. > |