From 10f0c34a2aa1171fe8d769100d6027580dada5ad Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 8 Jul 2004 06:39:22 +0000 Subject: 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) --- source3/lib/smbldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/smbldap.c') 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; -- cgit