diff options
author | Jim McDonough <jmcd@samba.org> | 2004-03-18 20:05:00 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2004-03-18 20:05:00 +0000 |
commit | 2332bebd9fabc32dbc2756347338dbecc06e527b (patch) | |
tree | 08d49649a4e52c75765b6e915e7c204d3bd69469 /source3/include/passdb.h | |
parent | 4b9423fc2205b6f37300e134f425d0aef3022a6e (diff) | |
download | samba-2332bebd9fabc32dbc2756347338dbecc06e527b.tar.gz samba-2332bebd9fabc32dbc2756347338dbecc06e527b.tar.bz2 samba-2332bebd9fabc32dbc2756347338dbecc06e527b.zip |
merge from 3.0...LDAP password lockout support
(This used to be commit b627cee3848d73e35181c9e6fdd9931452b28e48)
Diffstat (limited to 'source3/include/passdb.h')
-rw-r--r-- | source3/include/passdb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h index 21feb7208f..92e4bf3e8d 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -134,6 +134,15 @@ enum pdb_value_state { #define IS_SAM_SET(x, flag) (pdb_get_init_flags(x, flag) == PDB_SET) #define IS_SAM_CHANGED(x, flag) (pdb_get_init_flags(x, flag) == PDB_CHANGED) #define IS_SAM_DEFAULT(x, flag) (pdb_get_init_flags(x, flag) == PDB_DEFAULT) + +/* cache for bad password lockout data, to be used on replicated SAMs */ +typedef struct logon_cache_struct +{ + time_t entry_timestamp; + uint16 acct_ctrl; + uint16 bad_password_count; + time_t bad_password_time; +} LOGIN_CACHE; typedef struct sam_passwd { |