1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-10 04:23:50 +03:00

r4287: Vampire SAM_DELTA_DOMAIN_INFO.

Based on samba4-idl. The decoding of account-lockout-string is somewhat
experimental though.

Guenther
This commit is contained in:
Günther Deschner
2004-12-20 12:52:33 +00:00
committed by Gerald (Jerry) Carter
parent bd4c5125d6
commit 721bf50d74
5 changed files with 259 additions and 19 deletions

View File

@@ -597,6 +597,27 @@ typedef struct sam_delta_hdr_info
} SAM_DELTA_HDR;
/* LOCKOUT_STRING */
typedef struct account_lockout_string {
uint32 array_size;
uint32 offset;
uint32 length;
/* uint16 *bindata; */
UINT64_S lockout_duration;
UINT64_S reset_count;
uint32 bad_attempt_lockout;
uint32 dummy;
} LOCKOUT_STRING;
/* HDR_LOCKOUT_STRING */
typedef struct hdr_account_lockout_string {
uint16 size;
uint16 length;
uint32 buffer;
} HDR_LOCKOUT_STRING;
/* SAM_DOMAIN_INFO (0x1) */
typedef struct sam_domain_info_info
{
@@ -610,16 +631,32 @@ typedef struct sam_domain_info_info
UINT64_S min_pwd_age;
UINT64_S dom_mod_count;
NTTIME creation_time;
uint32 security_information;
BUFHDR2 hdr_sec_desc; /* security descriptor */
UNIHDR hdr_unknown;
uint8 reserved[40];
BUFHDR4 hdr_sec_desc; /* security descriptor */
HDR_LOCKOUT_STRING hdr_account_lockout;
UNIHDR hdr_unknown2;
UNIHDR hdr_unknown3;
UNIHDR hdr_unknown4;
UNISTR2 uni_dom_name;
UNISTR2 buf_oem_info; /* never seen */
UNISTR2 buf_oem_info;
BUFFER4 buf_sec_desc;
UNISTR2 buf_unknown;
LOCKOUT_STRING account_lockout;
UNISTR2 buf_unknown2;
UNISTR2 buf_unknown3;
UNISTR2 buf_unknown4;
uint32 logon_chgpass;
uint32 unknown6;
uint32 unknown7;
uint32 unknown8;
} SAM_DOMAIN_INFO;