Qianlitp / WatchAD

AD Security Intrusion Detection System
GNU General Public License v3.0
1.29k stars 297 forks source link

遇到ldap3的报错 #34

Closed T4di5 closed 4 years ago

T4di5 commented 4 years ago

Traceback (most recent call last): File "WatchAD.py", line 159, in main() File "WatchAD.py", line 145, in main install(domain=options.domain, server=options.server, user=options.username, password=options.password) File "WatchAD.py", line 35, in install get_all_dc_names(domain) File "/home/polo/WatchAD/scripts/init_settings.py", line 194, in get_all_dc_names ldap_search = LDAPSearch(domain) File "/home/polo/WatchAD/tools/LDAPSearch.py", line 24, in init auto_bind=True) File "/usr/local/lib/python3.6/dist-packages/ldap3/core/connection.py", line 321, in init self.do_auto_bind() File "/usr/local/lib/python3.6/dist-packages/ldap3/core/connection.py", line 349, in do_auto_bind raise LDAPBindError(self.last_error) ldap3.core.exceptions.LDAPBindError: automatic bind not successful - invalidCredentials