summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2004-02-19 15:57:54 +0000
committerJim McDonough <jmcd@samba.org>2004-02-19 15:57:54 +0000
commitc32cfdb505d711f1496f81fe646fa42f1c29d91f (patch)
tree321ddae0ad15f3a3e9d8b9c0ba83c419de5f1b20
parent6c038e463f2c76a5b1fd03d2adaf17cfd95a32b6 (diff)
downloadsamba-c32cfdb505d711f1496f81fe646fa42f1c29d91f.tar.gz
samba-c32cfdb505d711f1496f81fe646fa42f1c29d91f.tar.bz2
samba-c32cfdb505d711f1496f81fe646fa42f1c29d91f.zip
Add bad password time fields
(This used to be commit 9f496e113c60bde1746c7f1063e83735117b2fe8)
-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 139a753e8b..6489704fdd 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,
@@ -150,6 +151,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 */