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

[Bug] Ldap_Query_2_0 Cortex Analyzer uid_search_field is missing Error #1030

Closed
psyopm opened this issue Aug 29, 2021 · 2 comments · Fixed by #1031
Closed

[Bug] Ldap_Query_2_0 Cortex Analyzer uid_search_field is missing Error #1030

psyopm opened this issue Aug 29, 2021 · 2 comments · Fixed by #1031
Milestone

Comments

@psyopm
Copy link

psyopm commented Aug 29, 2021

Describe the bug
In the python file ldapQuery.py the uid_search_field is wrongly defined as search_field, which causes the Analyzer to run into the Exception "uid_search_field is missing".

To Reproduce
Steps to reproduce the behavior:

  1. Configure the Analyzer under the Cortex Analyzer Config.
  2. Enable the Ldap_Query_2_0 Analyzer.
  3. Run a new Analysis wit the Ldap_Query_2_0 Analyzer.

Expected behavior
The Analyzer should start the Analysis and request the defined attributes in the Cortex Analyzer Config to harvest the relevant LDAP information for the username/e-mail address provided as input.

Complementary information
Cortex Analyzer Ldap_Query_2_0 Error message if a new Analysis is started:
image

Work environment

  • Cortex version: 3.1.1-1
  • Cortex Analyzer/Responder name: Ldap_Query_2_0
  • Cortex Analyzer/Responder version: 2.0

Possible solutions
In the python file ldapQuery.py Line 22 we need following

From:

"config.search_field", None, "uid_search_field is missing"

To:

"config.uid_search_field", None, "uid_search_field is missing"
@psyopm
Copy link
Author

psyopm commented Aug 29, 2021

Added Link to Pull Request #1031

@p1kusmie
Copy link

p1kusmie commented Feb 4, 2022

Hi
Will the cortexneurons/ldap_query: 2 image be updated?

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

Successfully merging a pull request may close this issue.

3 participants