Where's the RES_BIND?

Jerry Lee tesno2 at hotmail.com
Tue May 11 23:06:40 CEST 2004


Hello All,

I just dusted off a QT LDAP browser I had been working on and noticed it 
didn't work.
A bit of investigation revealed that after:
import ldap
>>>c = ldap.open(host='localhost', port=389)
>>>msg = c.bind("cn=root,o=University of Michigan, 
>>>c=US","secret",ldap.AUTH_SIMPLE)
>>>msg
1
>>>status,res =c.result(msg,1,5)
>>>status
97

97?  It used to be 'RES_BIND'.....
Guess things have changed a bit :-)

Any idea where it might be documented what result is returning??
These docs:
http://python-ldap.sourceforge.net/doc/python-ldap/ldap-objects.html
seem a bit off.

Thanks in advance,

Jerry.




More information about the python-ldap mailing list