summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-07-08 06:39:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:09 -0500
commit10f0c34a2aa1171fe8d769100d6027580dada5ad (patch)
treeef6ec999b0b1233171bdb3cffd89466843eb5dc2 /source3/lib
parent76cf406197d216bda0a11ccf8dcc7867fcb7707a (diff)
downloadsamba-10f0c34a2aa1171fe8d769100d6027580dada5ad.tar.gz
samba-10f0c34a2aa1171fe8d769100d6027580dada5ad.tar.bz2
samba-10f0c34a2aa1171fe8d769100d6027580dada5ad.zip
r1392: Added password history code to tdbsam backend. Not yet tested (ie. may
core dump) but compiles and links correctly. I will run the full set of tests on the ldap sam and the tdb sam for password history tomorrow. Jeremy. (This used to be commit ac846420d0ef2c60d2dc71319b24401c73699249)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index 9b6d597606..a1a3117d88 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -936,7 +936,7 @@ int smbldap_search(struct smbldap_state *ldap_state,
ZERO_STRUCT(tval);
GetTimeOfDay(&tval);
- tdiff = usec_time_diff(&tval, &ldap_state->last_rebind.tv_sec);
+ tdiff = usec_time_diff(&tval, &ldap_state->last_rebind);
tdiff /= 1000; /* Convert to milliseconds. */
sleep_time = lp_ldap_replication_sleep()-(int)tdiff;