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

LDAPSocketReceiveError (timeout config to 70sec) #74

Open
antonbek89 opened this issue Aug 12, 2021 · 2 comments
Open

LDAPSocketReceiveError (timeout config to 70sec) #74

antonbek89 opened this issue Aug 12, 2021 · 2 comments

Comments

@antonbek89
Copy link

Someone facing this issue?

My command was
bloodhound-python -u --hashes <>:<> -c all -d DOMAIN.COM --dns-tcp --dns-timeout 70 -ns DC.DOMAIN.COM -v

(I check the user and NTLM with Impact and its work great)

DEBUG: Authenticating to LDAP server

Traceback (most recent call last):
  File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python27\Scripts\bloodhound-python.exe\__main__.py", line 7, in <module>
  File "c:\python27\lib\site-packages\bloodhound\__init__.py", line 300, in main
    timestamp=timestamp)
  File "c:\python27\lib\site-packages\bloodhound\__init__.py", line 73, in run
    self.pdc.prefetch_info('objectprops' in collect, 'acl' in collect)
  File "c:\python27\lib\site-packages\bloodhound\ad\domain.py", line 393, in prefetch_info
    self.get_objecttype()
  File "c:\python27\lib\site-packages\bloodhound\ad\domain.py", line 223, in get_objecttype
    self.ldap_connect()
  File "c:\python27\lib\site-packages\bloodhound\ad\domain.py", line 69, in ldap_connect
    baseDN=self.ad.baseDN, protocol=protocol)
  File "c:\python27\lib\site-packages\bloodhound\ad\authentication.py", line 78, in getLDAPConnection
    if not conn.bind():
  File "c:\python27\lib\site-packages\ldap3\core\connection.py", line 671, in bind
    self.refresh_server_info()
  File "c:\python27\lib\site-packages\ldap3\core\connection.py", line 1427, in refresh_server_info
    self.server.get_info_from_server(self)
  File "c:\python27\lib\site-packages\ldap3\core\server.py", line 525, in get_info_from_server
    self._get_schema_info(connection)
  File "c:\python27\lib\site-packages\ldap3\core\server.py", line 489, in _get_schema_info
    get_operational_attributes=True
  File "c:\python27\lib\site-packages\ldap3\core\connection.py", line 853, in search
    response = self.post_send_search(self.send('searchRequest', request, controls))
  File "c:\python27\lib\site-packages\ldap3\strategy\sync.py", line 178, in post_send_search
    responses, result = self.get_response(message_id)
  File "c:\python27\lib\site-packages\ldap3\strategy\base.py", line 355, in get_response
    responses = self._get_response(message_id, timeout)
  File "c:\python27\lib\site-packages\ldap3\strategy\sync.py", line 196, in _get_response
    responses = self.receiving()
  File "c:\python27\lib\site-packages\ldap3\strategy\sync.py", line 99, in receiving
    raise communication_exception_factory(LDAPSocketReceiveError, type(e)(str(e)))(self.connection.last_error)
ldap3.core.exceptions.LDAPSocketReceiveError: error receiving data: timed out
@voker2311
Copy link

Yes I am facing the same issue. Did you resolve it?

@eversinc33
Copy link

eversinc33 commented Aug 23, 2022

Same. Would appreciate if someone who found the cause/solution would share.

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

3 participants