From: <mi...@st...> - 2003-05-07 18:02:42
|
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. |