diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/rpc_lsa.h | 36 | ||||
-rw-r--r-- | source3/include/rpc_misc.h | 11 |
2 files changed, 44 insertions, 3 deletions
diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h index 7cb5fbfdfd..92189b5619 100644 --- a/source3/include/rpc_lsa.h +++ b/source3/include/rpc_lsa.h @@ -542,13 +542,47 @@ typedef struct lsa_r_lookup_names uint32 num_entries; uint32 ptr_entries; uint32 num_entries2; - DOM_RID2 *dom_rid; /* domain RIDs being looked up */ + DOM_RID *dom_rid; /* domain RIDs being looked up */ uint32 mapped_count; NTSTATUS status; /* return code */ } LSA_R_LOOKUP_NAMES; +/* LSA_Q_LOOKUP_NAMES2 - LSA Lookup NAMEs 2*/ +typedef struct lsa_q_lookup_names2 +{ + POLICY_HND pol; /* policy handle */ + uint32 num_entries; + uint32 num_entries2; + UNIHDR *hdr_name; /* name buffer pointers */ + UNISTR2 *uni_name; /* names to be looked up */ + + uint32 num_trans_entries; + uint32 ptr_trans_sids; /* undocumented domain SID buffer pointer */ + uint32 lookup_level; + uint32 mapped_count; + uint32 unknown1; + uint32 unknown2; + +} LSA_Q_LOOKUP_NAMES2; + +/* LSA_R_LOOKUP_NAMES - response to LSA Lookup NAMEs by name */ +typedef struct lsa_r_lookup_names2 +{ + uint32 ptr_dom_ref; + DOM_R_REF *dom_ref; /* domain reference info */ + + uint32 num_entries; + uint32 ptr_entries; + uint32 num_entries2; + DOM_RID2 *dom_rid; /* domain RIDs being looked up */ + + uint32 mapped_count; + + NTSTATUS status; /* return code */ +} LSA_R_LOOKUP_NAMES2; + typedef struct lsa_enum_priv_entry { UNIHDR hdr_name; diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h index 091ba3395e..7b71e80c55 100644 --- a/source3/include/rpc_misc.h +++ b/source3/include/rpc_misc.h @@ -264,13 +264,20 @@ typedef struct { * Domain SID structures **********************************************************************/ -/* DOM_RID2 - domain RID structure for ntlsa pipe */ +/* DOM_RID - domain RID structure for ntlsa pipe */ typedef struct { uint8 type; /* value is SID_NAME_USE enum */ uint32 rid; uint32 rid_idx; /* referenced domain index */ -} DOM_RID2; +} DOM_RID; +/* DOM_RID2 - second domain RID structure for ntlsa pipe */ +typedef struct { + uint8 type; /* value is SID_NAME_USE enum */ + uint32 rid; + uint32 rid_idx; /* referenced domain index */ + uint32 unknown; +} DOM_RID2; typedef struct { /* DOM_RID3 - domain RID structure for samr pipe */ uint32 rid; /* domain-relative (to a SID) id */ |