-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ldap_search: make sure to also handle binary strings in Python 3 #7264
ldap_search: make sure to also handle binary strings in Python 3 #7264
Conversation
@ursetto would be glad if you could try this out. |
@felixfontein This seems to have fixed it. Tested with # Encodes everything (except "dn")
- base64_attributes:
- '*' # Encodes just these two binary fields, which is enough to avoid a crash
- base64_attributes:
- objectGUID
- objectSid And finally without
So everything seems to be working as expected. |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #7268 🤖 @patchback |
Make sure to also handle binary strings in Python 3. (cherry picked from commit fc530cd)
@ursetto thanks a lot for reporting this and for testing! |
… handle binary strings in Python 3 (#7268) ldap_search: make sure to also handle binary strings in Python 3 (#7264) Make sure to also handle binary strings in Python 3. (cherry picked from commit fc530cd) Co-authored-by: Felix Fontein <[email protected]>
…ible-collections#7264) Make sure to also handle binary strings in Python 3.
SUMMARY
Fixes #5704
Fixes #7262
Updates #6475
ISSUE TYPE
COMPONENT NAME
ldap_search