Don't reset password last set time just because the expired flag
authorJim McDonough <jmcd@samba.org>
Mon, 9 Jun 2008 15:45:39 +0000 (11:45 -0400)
committerJim McDonough <jmcd@samba.org>
Mon, 9 Jun 2008 15:49:29 +0000 (11:49 -0400)
commit13b2f59383c117033605df77935a67c7cc1c8da1
tree1228d986ed003d4f2cdbc4aae41870722e69a1a3
parentb76f9673004e2337d459de85d78c85544b8bcdef
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.
(This used to be commit 0f292d70f698b8ae885005b5704a96476e876571)
source3/rpc_server/srv_samr_util.c