Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

channel binding error on running find. any ideas ? Thanks! #172

Closed
russokiwi opened this issue Sep 25, 2023 · 1 comment
Closed

channel binding error on running find. any ideas ? Thanks! #172

russokiwi opened this issue Sep 25, 2023 · 1 comment

Comments

@russokiwi
Copy link

[+] Trying to resolve 'MY.LAN' at '172.16.200.130'
[+] Resolved 'MY.LAN' from cache: 192.168.16.2
[+] Authenticating to LDAP server
[-] Got error: Connection.init() got an unexpected keyword argument 'channel_binding'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/entry.py", line 60, in main
actionsoptions.action
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/commands/parsers/find.py", line 12, in entry
find.entry(options)
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/commands/find.py", line 1179, in entry
find.find()
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/commands/find.py", line 165, in find
connection = self.connection
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/commands/find.py", line 124, in connection
self._connection.connect()
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/lib/ldap.py", line 77, in connect
self.connect(version=ssl.PROTOCOL_TLSv1_2)
File "/usr/local/lib/python3.11/dist-packages/certipy_ad-4.8.1-py3.11.egg/certipy/lib/ldap.py", line 125, in connect
ldap_conn = ldap3.Connection(
^^^^^^^^^^^^^^^^^
TypeError: Connection.init() got an unexpected keyword argument 'channel_binding'

ly4k added a commit that referenced this issue Sep 26, 2023
@ly4k
Copy link
Owner

ly4k commented Sep 26, 2023

Thanks for reporting. It was a bug made by me in the previous version. It's fixed in 4.8.2. pip install -U certipy-ad should fix it for you

@ly4k ly4k closed this as completed Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants