diff options
author | Jeremy Allison <jra@samba.org> | 2010-01-27 16:52:40 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-01-27 16:52:40 -0800 |
commit | 69fd8461b8792f4fee1b61db03953044565492c6 (patch) | |
tree | 25ff59c93e618f82ed7a0c7b08600c3717247ebd /source3 | |
parent | 627fb85092f728065b6d772c41aeb75018154e86 (diff) | |
download | samba-69fd8461b8792f4fee1b61db03953044565492c6.tar.gz samba-69fd8461b8792f4fee1b61db03953044565492c6.tar.bz2 samba-69fd8461b8792f4fee1b61db03953044565492c6.zip |
Second part of fix for bug #7072 - Accounts can't be unlocked from ldap.
Missed read of entry_timestamp (was entry->entry_timestamp).
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/login_cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/passdb/login_cache.c b/source3/passdb/login_cache.c index 5e1c9775cd..5630372a01 100644 --- a/source3/passdb/login_cache.c +++ b/source3/passdb/login_cache.c @@ -96,7 +96,8 @@ LOGIN_CACHE * login_cache_read(struct samu *sampass) ZERO_STRUCTP(entry); if (tdb_unpack (databuf.dptr, databuf.dsize, SAM_CACHE_FORMAT, - &entry->entry_timestamp, &entry->acct_ctrl, + &entry_timestamp, + &entry->acct_ctrl, &entry->bad_password_count, &bad_password_time) == -1) { DEBUG(7, ("No cache entry found\n")); |