mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
samba-tool user create rejected the cluster-generated trust_shared_password with "0000052D: Constraint violation - check_password_restrictions: the password does not meet the complexity criteria". The trust password is high-entropy random bytes from init_kdc.sh and may not satisfy AD's "3 of 4 character categories" rule. Wrap the create + setpassword steps in a block that: 1. reads the current `samba-tool domain passwordsettings show` state 2. flips complexity off if it was on 3. does the user write 4. always: restores complexity to its prior on/off state The restore is in an `always:` clause so a failure inside the write block does not leave the domain policy weakened. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| deployments/svc-check-helm | ||
| inventory | ||
| playbooks | ||
| roles | ||
| setup | ||
| ansible.cfg | ||