[Samba] How to change Domain password as normal user?

Andrew Bartlett abartlet at samba.org
Wed Mar 28 07:14:00 UTC 2018

On Wed, 2018-03-28 at 03:09 -0400, Mark Foley via samba wrote:
> Actually, that didn't quite work. It did change the domain password, but didn't reset the
> expiration days. So today, when the previous password was set to expire. My account was locked
> out. I had to log onto the AD/DC as the Domain Administrator and do 'samba-tool user setpassword'.
> Suggestions on how I can get the expiration back to the 'Maximum password age' value?

This sounds very strange.  Are you sure the password changed on the DC?
 Did the msDS-KeyVersionNumber change, did the pwdLastSet change?

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list