summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_smbpasswd.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-10-03 22:58:37 +0000
committerJeremy Allison <jra@samba.org>2001-10-03 22:58:37 +0000
commit3a17bab00f7ab3a3e506c5a6b10a85a8cb65b0d2 (patch)
tree9bed5116a2e87ee2a6393fabbcb926b5eb908bdf /source3/passdb/pdb_smbpasswd.c
parenta42efb497153dcca1fad227e28f5eaf41ee943c3 (diff)
downloadsamba-3a17bab00f7ab3a3e506c5a6b10a85a8cb65b0d2.tar.gz
Ensure accessing NT member servers works with a Samba PDC. Don't
change these timestamp settings without good reason. Remove CLEAR_IF_FIRST flag is tdb is read-only. Jeremy. (This used to be commit a71d9d98b013a6c30fd85524b7cdc929bdbd9bcb)
Diffstat (limited to 'source3/passdb/pdb_smbpasswd.c')
-rw-r--r--source3/passdb/pdb_smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c
index 7d14d3e0e0a..45c983b1ca6 100644
--- a/source3/passdb/pdb_smbpasswd.c
+++ b/source3/passdb/pdb_smbpasswd.c
@@ -108,7 +108,7 @@ static void pdb_init_smb(struct smb_passwd *user)
return;
ZERO_STRUCTP (user);
- user->pass_last_set_time = get_time_t_max();
+ user->pass_last_set_time = (time_t)0;
}
/***************************************************************