jackdaw
jackdaw copied to clipboard
Unable to connect via ldap
Not sure what is happening, I am using the right password.
root@kali:/opt/jackdaw# python3 jackdaw.py --sql sqlite:////opt/jackdaw/test.db ldap 'ldap://DOMAIN\user:password@domaincontroller'
Traceback (most recent call last):
File "jackdaw.py", line 4, in <module>
main()
File "/opt/jackdaw/jackdaw/__main__.py", line 260, in main
run(args)
File "/opt/jackdaw/jackdaw/__main__.py", line 86, in run
ldap_conn.connect()
File "/usr/local/lib/python3.7/dist-packages/msldap-0.2.5-py3.7.egg/msldap/connection.py", line 66, in connect
auto_bind=True
File "/usr/lib/python3/dist-packages/ldap3/core/connection.py", line 321, in __init__
self.do_auto_bind()
File "/usr/lib/python3/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
'''
Could be a parsing error in the code. Can you verify in wireshark that the ldap actually sends out the user/password that you specified? (sometimes the special chars messing the parser up depending on the shell you are using)
Looks like everything is being sent over the wire correctly, username and password are correct and not mangled.