|
From: Jerry L. <te...@ho...> - 2004-05-11 21:06:53
|
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.
_________________________________________________________________
Express yourself with the new version of MSN Messenger! Download today -
it's FREE! http://messenger.msn.com/go/onm00200471ave/direct/01/
|