diff options
author | Jeremy Allison <jra@samba.org> | 2000-03-02 02:50:05 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-03-02 02:50:05 +0000 |
commit | 45695955190edb353dd118d7e4f7bc200c827d92 (patch) | |
tree | 17776465ecf442958ee714646275e739e5616f62 /source3 | |
parent | d82ea9d32bbb94c6152a1d719e7408e82a0ba3d4 (diff) | |
download | samba-45695955190edb353dd118d7e4f7bc200c827d92.tar.gz samba-45695955190edb353dd118d7e4f7bc200c827d92.tar.bz2 samba-45695955190edb353dd118d7e4f7bc200c827d92.zip |
Update last changed time for new password entry.
Jeremy.
(This used to be commit a8ccf1d9532cdf623342c968f51f1d89f89d728a)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/smbpasschange.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/smbpasschange.c b/source3/passdb/smbpasschange.c index 0348a2b97b..2c971fbff9 100644 --- a/source3/passdb/smbpasschange.c +++ b/source3/passdb/smbpasschange.c @@ -36,6 +36,7 @@ static BOOL add_new_user(char *user_name, uid_t uid, int local_flags, new_smb_pwent.smb_name = user_name; new_smb_pwent.smb_passwd = NULL; new_smb_pwent.smb_nt_passwd = NULL; + new_smb_pwent.pass_last_set_time = time(NULL); new_smb_pwent.acct_ctrl = ((local_flags & LOCAL_TRUST_ACCOUNT) ? ACB_WSTRUST : ACB_NORMAL); if(local_flags & LOCAL_DISABLE_USER) { |