Don't reset password last set time just because the expired flag
commit26b67d63698a70ec98e1cf4228be0d6a17e258c8
authorJim McDonough <jmcd@samba.org>
Mon, 9 Jun 2008 15:45:39 +0000 (9 11:45 -0400)
committerKarolin Seeger <kseeger@samba.org>
Tue, 10 Jun 2008 06:40:04 +0000 (10 08:40 +0200)
tree983926b953d6c9bff60ac3f03f7cdf45e85d8e15
parent9d6d9e205e195afba7f0e9b3e3ee2c37f7bab3b2
Don't reset password last set time just because the expired flag
is set to 0.  If the account wasn't expired but autolocked,
using "net user /dom <username> /active:y" would clear this,
incorrectly setting the current time as the new "password last set"
time.
(cherry picked from commit 2089c692cfe5a4f9bbed1e658c6f73c310dbff57)
source/rpc_server/srv_samr_util.c