Repository navigation
Document the ldapservice password rotation - #158
Merged
Merged
Conversation
The ldapservice password is generated once when the domain is created and no action rotates it. Document the manual procedure, because the secret is stored in three places that must be kept in sync: the LDAP entry, the module environment file and the service discovery Redis key. Assisted-by: Claude Code:claude-opus-5
This was referenced Aug 26, 2026
gsanchietti
approved these changes
Aug 26, 2026
gsanchietti
left a comment
Member
There was a problem hiding this comment.
Bear in mind that this will not be visible to users.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a README section describing how to rotate the
ldapservicepassword ofan internal LDAP domain. There is no action for it, and the procedure is not
obvious, because the password is stored in three places that must be kept in
sync:
userPasswordattribute ofcn=ldapservice,<base DN>LDAP_SVCPASSvariable of everyopenldapmodule of the domainbind_passwordfield of themodule/<module id>/srv/tcp/ldapRediskey, which is the record consumers read
The documented steps set the new value in the module environment, change it
in the LDAP database on one provider (replication propagates it), update the
service discovery record of each provider with
redis-clion the leadernode, and finally raise the
user-domain-changedevent.NethServer/dev#8138
🤖 Generated with Claude Code