From 8e1f542ddf97fef925a88e2c3d9c1e82fb2f6683 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 25 Oct 1999 16:22:08 +0000 Subject: one of those wonderful moments when running against a different MSRPC implementation (NT5) when you discover that your code is trash. samr_enum_dom_users(), samr_enum_dom_aliases() and samr_enum_dom_groups() all take a HANDLE for multiple-call enumeration purposes. (This used to be commit 19490d8b4fb8a103f3df4e6104f6f22937b0c518) --- source3/include/rpc_samr.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/include/rpc_samr.h') diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index 0d55e40bc0..afe104a93a 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -637,7 +637,7 @@ typedef struct q_samr_enum_dom_groups_info POLICY_HND pol; /* policy handle */ /* this is possibly an enumeration context handle... */ - uint32 unknown_0; /* 0x0000 0000 */ + uint32 start_idx; /* 0x0000 0000 */ uint32 max_size; /* 0x0000 ffff */ @@ -647,8 +647,8 @@ typedef struct q_samr_enum_dom_groups_info /* SAMR_R_ENUM_DOM_GROUPS - SAM rids and names */ typedef struct r_samr_enum_dom_groups_info { - uint32 num_entries; - uint32 ptr_entries; + uint32 next_idx; + uint32 ptr_entries1; uint32 num_entries2; uint32 ptr_entries2; @@ -671,7 +671,7 @@ typedef struct q_samr_enum_dom_aliases_info POLICY_HND pol; /* policy handle */ /* this is possibly an enumeration context handle... */ - uint32 unknown_0; /* 0x0000 0000 */ + uint32 start_idx; /* 0x0000 0000 */ uint32 max_size; /* 0x0000 ffff */ @@ -681,8 +681,8 @@ typedef struct q_samr_enum_dom_aliases_info /* SAMR_R_ENUM_DOM_ALIASES - SAM rids and names */ typedef struct r_samr_enum_dom_aliases_info { - uint32 num_entries; - uint32 ptr_entries; + uint32 next_idx; + uint32 ptr_entries1; uint32 num_entries2; uint32 ptr_entries2; -- cgit