'I would like to know the difference between LDAP3 Connection(auto_bind=True) and Connection().bind() in Python
I was passing wrong credentials(password) in below code
conn = Connection(server, account_username, account_password, auto_bind=True)
and getting below error
ldap3.core.exceptions.LDAPBindError: automatic bind not successful - invalidCredentials
When I do the same without auto_bind argument in connection.
conn = Connection(server, account_username, account_password)
conn.bind()
conn was not throwing any error. conn.bind() is False. Help would be appreciated. Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
