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

Fix LDAP attributes with a list of strings not populating, Closes #2 #3

Merged
merged 1 commit into from May 22, 2022

Conversation

ION28
Copy link
Contributor

@ION28 ION28 commented May 21, 2022

Note that in making this fix, I also modified the cast_to_dict function to retain all LDAP object attributes of type list as lists. Before in the code if the list only had a single element, the cast_to_dict function would make the attribute just a single string, stripping the knowledge that this field should be a list which in turn would likely cause problems for anyone trying to write a parser for the output of this tool.

Also add retain list datatype for all ldap attributes originally
of type list
@ION28
Copy link
Contributor Author

ION28 commented May 21, 2022

addresses #2

@p0dalirius p0dalirius merged commit 8c49c91 into p0dalirius:master May 22, 2022
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 this pull request may close these issues.

None yet

2 participants