The Samba-Bugzilla – Bug 8843
User can not change own password (samr_ChangePasswordUser3)
Last modified: 2012-04-06 13:52:55 UTC
Created attachment 7425 [details]
selfttest for user password change
User on Windows 7 Client can not change his own password.
samba-tool user password -Uuser%verYc0mpleXPW --newpassword="newverYc0mpleXPW" does the same.
ERROR: Failed to change password : samr_ChangePasswordUser3 for 'SAMBADOMAIN\\sambatool1' failed: NT_STATUS_PASSWORD_RESTRICTION
I attached a patch for the samba_tool selftest which triggers the problem.
Wasn't able to test the patch, since password changes do not work atm ;-)
git HEAD is on 48166468fe3ca515dae3431bbe674809489f743c
That is not a real bug: look at "samdb_check_password()" - "check_password_quality()" seems not to be satisfied.
Or there is also the minimum password age which has to be satisfied ecc...
Please try to disable the various password complexity settings - the password changes should work then.
You are right! Sorry for confusion.
It is the minimum password age, with the default value of one day.
But some weeks ago (I'm nearly sure) I was able to change the user password with the default password settings several times (without waiting one day ;-) ).