python - What does the LDAP response tuple (97, []) mean? -


I am using Python-LDAP so that I can try authentication against an existing Active Directory, and when I Code:

  import ldap l = ldap.initialize ('LDAP: //example.com') m = l.simple_bind_s (user name @ example.com, password) < / Code> 

I get the following backing:

  print meter (97, [])  

from a Microsoft Active Directory What are the upcoming 97 and empty lists Is the server?

I am collecting this is a successful authentication because this is not an error (which does this if you use an incorrect password or a non-existent username), but I would like to know whether Tupal Means something useful According to

, it is:

  cross the LDAP_REFERRAL_LIMIT_EXCEEDED 0x61 referral border  

Maybe

  ldap.set_option (ldap.OPT_REFERRALS, 0)  

can help .


Comments