Skip to content

[bugfix] Fix ldap import#17

Merged
p0dalirius merged 1 commit intop0dalirius:mainfrom
qu35t-code:fix-import
Sep 19, 2025
Merged

[bugfix] Fix ldap import#17
p0dalirius merged 1 commit intop0dalirius:mainfrom
qu35t-code:fix-import

Conversation

@qu35t-code
Copy link
Contributor

@qu35t-code qu35t-code commented Sep 19, 2025

Same bug as here :

p0dalirius/ExtractBitlockerKeys#10

Traceback (most recent call last):
  File "/opt/tools/pyFindUncommonShares/FindUncommonShares.py", line 10, in <module>
    from sectools.windows.ldap.wrappers import get_computers_from_domain, get_servers_from_domain, get_subnets
  File "/opt/tools/pyFindUncommonShares/venv/lib/python3.11/site-packages/sectools/windows/ldap/wrappers.py", line 9, in <module>
    from sectools.windows.ldap import init_ldap_session
ImportError: cannot import name 'init_ldap_session' from 'sectools.windows.ldap' (unknown location)

@p0dalirius p0dalirius self-assigned this Sep 19, 2025
@p0dalirius p0dalirius added the bug Something isn't working label Sep 19, 2025
@p0dalirius p0dalirius changed the title Fix ldap import [bugfix] Fix ldap import Sep 19, 2025
@p0dalirius p0dalirius merged commit a676cdf into p0dalirius:main Sep 19, 2025
1 check passed
@qu35t-code qu35t-code deleted the fix-import branch September 19, 2025 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants