summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-02-19 15:57:53 +0000
committerJim McDonough <jmcd@samba.org>2004-02-19 15:57:53 +0000
commit955ec7c6e237775f1835f22288b1295f1b04ba8f (patch)
tree19e34add58a4464569966632fd98ca940777b2e6
parent8eec62ebfb238133d95d7247b7126292f47c7093 (diff)
downloadsamba-955ec7c6e237775f1835f22288b1295f1b04ba8f.tar.gz
samba-955ec7c6e237775f1835f22288b1295f1b04ba8f.tar.bz2
samba-955ec7c6e237775f1835f22288b1295f1b04ba8f.zip
Add bad password time fields
(This used to be commit 59e7c3ababd0bb8bc91cbc421b7a842cca38101f)
-rw-r--r--source3/include/passdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index f13cfbe162..a3474196e1 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -73,6 +73,7 @@ enum pdb_elements {
PDB_LOGONTIME,
PDB_LOGOFFTIME,
PDB_KICKOFFTIME,
+ PDB_BAD_PASSWORD_TIME,
PDB_CANCHANGETIME,
PDB_MUSTCHANGETIME,
PDB_PLAINTEXT_PW,
@@ -141,6 +142,7 @@ typedef struct sam_passwd
time_t logon_time; /* logon time */
time_t logoff_time; /* logoff time */
time_t kickoff_time; /* kickoff time */
+ time_t bad_password_time; /* last bad password entered */
time_t pass_last_set_time; /* password last set time */
time_t pass_can_change_time; /* password can change time */
time_t pass_must_change_time; /* password must change time */