Don't reset password last set time just because the expired flag
commit2089c692cfe5a4f9bbed1e658c6f73c310dbff57
authorJim McDonough <jmcd@samba.org>
Mon, 9 Jun 2008 15:45:39 +0000 (9 11:45 -0400)
committerJim McDonough <jmcd@samba.org>
Mon, 9 Jun 2008 15:45:39 +0000 (9 11:45 -0400)
tree46acbed2fd8b9982f7890766f5415ca29c64dc48
parent1b9894622fccd044647abfe2c13c3018f72a6949
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.
source/rpc_server/srv_samr_util.c