I am using python-ldap to try to authenticate against an existing Active Directory, and when I use the following code:
import ldap
l = ldap.initialize('LDAP://example.com')
m = l.simple_bind_s([email protected],password)
I get the following back:
print m
(97, [])
What does the 97 and empty list signify coming from a Microsoft Active Directory server?
I gather this is a successful authentication since it doesn't error (which it does if you use the wrong password or non-existent username), but I'd like to know if the tuple means something useful.