You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AD password history length slider fails above 24 #7735
When attempting to set a higher value through Samba, an error is raised:
:/# samba-tool domain passwordsettings set --max-pwd-age=90 --history-length=40 --min-pwd-length=8 --complexity=on
ERROR: Password history length must be in the range of 0 to 24!
We should limit the slider’s maximum value to 24.
Expected Behavior
The slider for “Password history length” should only allow values from 0 to 24, since higher values are invalid and cause the command to fail.
Steps to Reproduce
Install a Samba AD internal account provider;
Try to set the password history length above 24 (e.g., 40 or 50).
changed the title [-]AD password history length slider allows invalid values above 24[/-][+]AD password history length slider fails above 24[/+]on Nov 6, 2025
Activity
[-]AD password history length slider allows invalid values above 24[/-][+]AD password history length slider fails above 24[/+]fix: reduce maximum history length for password strength policy to 24 (…
Add maximum constraint for history_length in password policy (#78)
Add maximum constraint for history_length in password policy (#141)
DavidePrincipi commentedon Nov 14, 2025
In Testing
Test case
Check the bug is not reproducible
nrauso commentedon Nov 18, 2025
test cases: VERIFIED
Works flawlessly with both Samba and OpenLDAP account providers
DavidePrincipi commentedon Nov 18, 2025
Released