/* DOM_RID - domain RID structure for ntlsa pipe */
typedef struct {
- uint8 type; /* value is SID_NAME_USE enum */
+ uint16 type; /* value is SID_NAME_USE enum */
uint32 rid;
uint32 rid_idx; /* referenced domain index */
} DOM_RID;
/* DOM_RID2 - second domain RID structure for ntlsa pipe */
typedef struct {
- uint8 type; /* value is SID_NAME_USE enum */
+ uint16 type; /* value is SID_NAME_USE enum */
uint32 rid;
uint32 rid_idx; /* referenced domain index */
uint32 unknown;
Inits a DOM_RID structure.
********************************************************************/
-void init_dom_rid(DOM_RID *prid, uint32 rid, uint8 type, uint32 idx)
+void init_dom_rid(DOM_RID *prid, uint32 rid, uint16 type, uint32 idx)
{
prid->type = type;
prid->rid = rid;
if(!prs_align(ps))
return False;
- if(!prs_uint8("type ", ps, depth, &rid->type))
+ if(!prs_uint16("type ", ps, depth, &rid->type))
return False;
if(!prs_align(ps))
return False;
if(!prs_align(ps))
return False;
- if(!prs_uint8("type ", ps, depth, &rid->type))
+ if(!prs_uint16("type ", ps, depth, &rid->type))
return False;
if(!prs_align(ps))
return False;