mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Second part of fix for bug #7072 - Accounts can't be unlocked from ldap.
Missed read of entry_timestamp (was entry->entry_timestamp). Jeremy.
This commit is contained in:
parent
627fb85092
commit
69fd8461b8
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user