python Programming Glossary: conn.simple_bind_s
Authenticating to Active Directory with python-ldap always returns (97, []) http://stackoverflow.com/questions/10725891/authenticating-to-active-directory-with-python-ldap-always-returns-97 3 conn.set_option ldap.OPT_REFERRALS 0 conn.simple_bind_s 'user@domain.com' 'WrongPassword' ldap.INVALID_CREDENTIALS 'info'.. error data 52e vece' 'desc' 'Invalid credentials' conn.simple_bind_s 'user@domain.com' 'CorrectPassword' 97 Error code 97 is not.. Nor can I use it as a de facto success indicator because conn.simple_bind_s '' 'CorrectPassword' 97 conn.simple_bind_s '' '' 97 Even more..
|