From: David M. <da...@es...> - 2001-06-06 21:45:07
|
self.ldapconn.modify_s(self.dn, modlist) ldap.LDAPError: unknown error (C API does not expose error) This was from the latest packaged release (1.10a3 i think) Maybe we could make the exception for unknown errors include the numeric error code: #ifdef LDAP_TYPE_IS_OPAQUE else { PyErr_SetString(LDAPexception_class, "unknown error (C API does not expose error %d)", l->ld_errno); return NULL; } #else My $.02 Dave |