adding group member code, made a start. found that the group members'
[samba.git] / source3 / rpc_parse / parse_misc.c
index e9423b3a51277108515c4fa919191ce2c88d9915..6c42070de4d90b52db17a145efe45606b67732a1 100644 (file)
@@ -651,6 +651,7 @@ void make_dom_rid3(DOM_RID3 *rid3, uint32 rid, uint8 type)
        rid3->type1    = type;
        rid3->ptr_type = 0x1; /* non-zero, basically. */
        rid3->type2    = 0x1;
+       rid3->unk      = type;
 }
 
 /*******************************************************************
@@ -669,6 +670,7 @@ void smb_io_dom_rid3(char *desc,  DOM_RID3 *rid3, prs_struct *ps, int depth)
        prs_uint32("type1   ", ps, depth, &(rid3->type1   ));
        prs_uint32("ptr_type", ps, depth, &(rid3->ptr_type));
        prs_uint32("type2   ", ps, depth, &(rid3->type2   ));
+       prs_uint32("unk     ", ps, depth, &(rid3->unk     ));
 }
 
 /*******************************************************************
@@ -681,7 +683,6 @@ void make_dom_rid4(DOM_RID4 *rid4, uint16 unknown, uint16 attr, uint32 rid)
        rid4->rid     = rid;
 }
 
-
 /*******************************************************************
 makes a DOM_CLNT_SRV structure.
 ********************************************************************/