summaryrefslogtreecommitdiffstats
path: root/source/include/rpc_samr.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-01-29 21:22:08 +0000
committerLuke Leighton <lkcl@samba.org>1999-01-29 21:22:08 +0000
commitad58cdfac6b85d9431216e32e532ad4d60f9c6dd (patch)
tree3d792b9c6930841100d1125a36e1f8e4909e0b89 /source/include/rpc_samr.h
parent6d14db6a6c101e86b3c62d5098a05d29ae4e9cd8 (diff)
downloadsamba-ad58cdfac6b85d9431216e32e532ad4d60f9c6dd.tar.gz
samba-ad58cdfac6b85d9431216e32e532ad4d60f9c6dd.tar.xz
samba-ad58cdfac6b85d9431216e32e532ad4d60f9c6dd.zip
fix for enumerate domain users (bug spotted by sean matthews).
also needed to use start index properly and generate next index. both client and server code need to recognise error code 0x105 when there's not enough room to store all the users in one call. sort this out another time.
Diffstat (limited to 'source/include/rpc_samr.h')
-rw-r--r--source/include/rpc_samr.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/include/rpc_samr.h b/source/include/rpc_samr.h
index 07ae0301d43..d70702f8a68 100644
--- a/source/include/rpc_samr.h
+++ b/source/include/rpc_samr.h
@@ -486,8 +486,7 @@ typedef struct q_samr_enum_dom_users_info
{
POLICY_HND pol; /* policy handle */
- uint16 req_num_entries; /* number of values (0 indicates unlimited?) */
- uint16 unknown_0; /* enumeration context? */
+ uint32 start_idx; /* number of values (0 indicates unlimited?) */
uint16 acb_mask; /* 0x0000 indicates all */
uint16 unknown_1; /* 0x0000 */
@@ -499,8 +498,8 @@ typedef struct q_samr_enum_dom_users_info
/* SAMR_R_ENUM_DOM_USERS - SAM rids and names */
typedef struct r_samr_enum_dom_users_info
{
- uint32 unknown_0; /* unknown. */
- uint32 ptr_entries1; /* actual number of entries to follow, having masked some out */
+ uint32 next_idx; /* next starting index required for enum */
+ uint32 ptr_entries1;
uint32 num_entries2;
uint32 ptr_entries2;