-
Notifications
You must be signed in to change notification settings - Fork 155
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
feat: add support for ldap compare request #2780
Conversation
42f8780
to
a3e4627
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this. There are quite a few comments but I hope we can help out get this to a state we can merge it.
82e06f5
to
fefe698
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you got this spot on, great work :)
2782ade
to
1ccb15a
Compare
This may need a rebase to latest master before we can merge but otherwise it looks great, thank you! |
Head branch was pushed to by a user without write access
1ccb15a
to
1280465
Compare
I rebased, but this reset the auto-merge status. |
This adds support for the LDAP CompareRequest. The implementation is
usingbased on the existingSearch
operation.I tried to follow this description of the request: https://ldap.com/the-ldap-compare-operation/.
As theSearch
operation is not exposing the reason for errors, I could not returninvalidDNSyntax
.I decided on using the same authentication decision as for the
Search
.Edit:
After the review, I changed the implementation to be standalone with copy-pasted code from
do_search
instead of calling the method.Checklist