Repository navigation
Document the ldapservice password rotation - #236
Merged
Merged
Conversation
The ldapservice password of an internal AD domain has no rotation action, and the procedure is not obvious because the value is stored in three places that must be kept in sync: the AD account, the module environment and the service discovery record read by consumers. Assisted-by: Claude Code:claude-opus-5
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.
7 of 15 tasks
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 AD 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:
ldapserviceAD accountSVCPASSvariable of everysambaDC module of the domainbind_passwordfield of themodule/<module id>/srv/tcp/ldapRediskey, which is the record consumers read through
agent.ldapproxyThe documented steps set the new value in the module environment, change it
in AD on one DC with
samba-tool(replication propagates it), update theservice discovery record of each DC with
redis-clion the leader node, andfinally raise the
user-domain-changedevent. The section also notes thatneither
Ldapproxynor thesamba-dccontainer needs a restart, and thatmemberrole instances are not involved.Same content as NethServer/ns8-openldap#158, adapted to the Samba AD backend.
NethServer/dev#8138
🤖 Generated with Claude Code