diff options
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/krb5pac.idl | 3 | ||||
-rw-r--r-- | source4/librpc/idl/netlogon.idl | 3 | ||||
-rw-r--r-- | source4/librpc/idl/samr.idl | 18 |
3 files changed, 11 insertions, 13 deletions
diff --git a/source4/librpc/idl/krb5pac.idl b/source4/librpc/idl/krb5pac.idl index c5b64993f0..a8a0ca0697 100644 --- a/source4/librpc/idl/krb5pac.idl +++ b/source4/librpc/idl/krb5pac.idl @@ -26,8 +26,7 @@ interface krb5pac uint32 unknown[5]; netr_SamInfo3 info3; dom_sid2 *res_group_dom_sid; - uint32 res_groups_count; - [size_is(res_groups_count)] netr_GroupMembership *res_groups[]; + samr_RidWithTypeArray res_groups; } PAC_LOGON_INFO; const uint8 PAC_TYPE_LOGON_INFO = 1; diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index c97a640d18..0e601b372a 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -156,8 +156,7 @@ interface netlogon uint16 bad_password_count; uint32 rid; uint32 primary_gid; - uint32 group_count; - [size_is(group_count)] netr_GroupMembership *groupids[]; + samr_RidWithTypeArray groups; uint32 user_flags; netr_UserSessionKey key; netr_String logon_server; diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 0a94756868..3cf2aeaf7e 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -432,12 +432,12 @@ typedef struct { uint32 count; [size_is(count)] uint32 *rids[]; - [size_is(count)] uint32 *unknown[]; - } samr_ridArray; + [size_is(count)] uint32 *types[]; + } samr_RidTypeArray; NTSTATUS samr_QueryGroupMember( [in,ref] policy_handle *group_handle, - [out] samr_ridArray *rids + [out] samr_RidTypeArray *rids ); @@ -813,19 +813,19 @@ /************************/ /* Function 0x27 */ - typedef struct { + typedef [public] struct { uint32 rid; uint32 type; - } samr_RidType; + } samr_RidWithType; - typedef struct { + typedef [public] struct { uint32 count; - [size_is(count)] samr_RidType *rid[]; - } samr_RidArray; + [size_is(count)] samr_RidWithType *rids[]; + } samr_RidWithTypeArray; NTSTATUS samr_GetGroupsForUser( [in,ref] policy_handle *user_handle, - [out] samr_RidArray *rids + [out] samr_RidWithTypeArray *rids ); /************************/ |