diff options
author | Günther Deschner <gd@samba.org> | 2004-12-20 12:52:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:41 -0500 |
commit | 111f62c00c31ac98d50c0a01e31cb1d44082be29 (patch) | |
tree | 8d21e9d0d53e81c2e50a57e1718a41cfe76d2e31 /source3/include | |
parent | 992ad2848522e5219291d6b9b7a6be982c147a12 (diff) | |
download | samba-111f62c00c31ac98d50c0a01e31cb1d44082be29.tar.gz samba-111f62c00c31ac98d50c0a01e31cb1d44082be29.tar.bz2 samba-111f62c00c31ac98d50c0a01e31cb1d44082be29.zip |
r4287: Vampire SAM_DELTA_DOMAIN_INFO.
Based on samba4-idl. The decoding of account-lockout-string is somewhat
experimental though.
Guenther
(This used to be commit 721bf50d7446b8ce18bc1d45e17d4214d5a43d26)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/rpc_misc.h | 9 | ||||
-rw-r--r-- | source3/include/rpc_netlogon.h | 47 |
2 files changed, 51 insertions, 5 deletions
diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h index 0c6eee3650..ee8208e90e 100644 --- a/source3/include/rpc_misc.h +++ b/source3/include/rpc_misc.h @@ -395,6 +395,15 @@ typedef struct bufhdr2_info } BUFHDR2; +/* BUFHDR4 - another buffer header */ +typedef struct bufhdr4_info +{ + uint32 size; + uint32 buffer; + +} +BUFHDR4; + /* BUFFER4 - simple length and buffer */ typedef struct buffer4_info { diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h index 97b2523d72..b865d05b34 100644 --- a/source3/include/rpc_netlogon.h +++ b/source3/include/rpc_netlogon.h @@ -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; |