-
Notifications
You must be signed in to change notification settings - Fork 385
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
LDAP3 Module not found on cortex analyser #883
Comments
can you check if ldap3 is properly installed?
A classic error is to install it with pip (python2) instead of pip3 (python3) or picking the wrong ldap lib. |
If you are running cortex in docker, you should install libs inside cortex docker image |
I think is related to selected attributes, can you try using only |
Ok.. then I'll suggest to use attributes = ldap3.ALL_ATTRIBUTES to extract all the attributes and fix that later when you see what is present in your ldap server.. |
ok you can add: or add ALL_ATTRIBUTES in |
In this case you had to add the import to the existing one |
Sorry but I didn't get your point |
Keep them both `import ldap from ldap import Server, Connection, ALL` |
I did that but also the same problem |
I wrote a test analyzer based from your code and it's working fine. |
Thank you! It is working also with me |
I have also a question, I am writing another script that let me enable disable users. when I test it from analysers it works but when i test it from responders it does not appear in analysers when I choose the datatype = sid. What could be the problem? json file: |
Thanks you for your help |
Hello, I'm trying to develop an analyser that get the SID from a user in a specific active directory and return user infos. I installed ldap3 module but it always give me an error. Please can someone help?
The text was updated successfully, but these errors were encountered: