-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add module ldap inc #9275
base: main
Are you sure you want to change the base?
Add module ldap inc #9275
Conversation
This module adds the ‘modify-increment’ capability corresponding to the extension implemented by OpenLdap described in RFC-4525. It can be used to increment an integer attribute and read it atomically. It is an help for posix userId definition while relying only on the directory server.
This comment was marked as duplicate.
This comment was marked as duplicate.
After fixing quality check errors and warnings |
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.
hi @pduveau thanks for your contribution!
Got a couple of comments below, but overall it looks good.
Fully aligned with that Co-authored-by: Alexei Znamensky <[email protected]>
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 your contribution! Please note that all new modules must have tests (unit and/or integration tests). See the ldap_search integration tests in tests/integration/targets/ldap_search/ as an example.
Co-authored-by: Felix Fontein <[email protected]>
The test
|
SUMMARY
This contribution propose to adds a module that use the ‘modify-increment’ capability corresponding to the extension implemented by OpenLdap described in RFC-4525. It can be used to increment an integer attribute and read it atomically. It is an help for managing posix userId while relying only on the directory server.
ISSUE TYPE
Not an issue
COMPONENT NAME
ldap_inc
ADDITIONAL INFORMATION
The module uses the DN of the entry containing the "sequence", the attribute to increment and the increment to apply. The result of the module is the new value of "sequence".