summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-02-11 18:48:18 +0000
committerLuke Leighton <lkcl@samba.org>1999-02-11 18:48:18 +0000
commit0e402f197da78abca13d08d924027ac68d51a1d2 (patch)
tree3819665bfce0c8f87d4e9701ad2af31ef8ab322a /source3/rpcclient
parentf02321a9987555d616d36b0c151e408d7140c023 (diff)
downloadsamba-0e402f197da78abca13d08d924027ac68d51a1d2.tar.gz
samba-0e402f197da78abca13d08d924027ac68d51a1d2.tar.bz2
samba-0e402f197da78abca13d08d924027ac68d51a1d2.zip
enum dom users buffer was 0x80 not 0x8000. must fix "enumeration" code
as you need to make multiple enum dom users calls. (This used to be commit b5396d3c6de4b8cb0e981bab10367e5838f78a53)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 18018659b9..852521d850 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -1128,7 +1128,7 @@ void cmd_sam_enum_users(struct client_info *info)
/* read some users */
res = res ? samr_enum_dom_users(smb_cli, fnum,
&info->dom.samr_pol_open_domain,
- start_idx, acb_mask, unk_1, 0x80,
+ start_idx, acb_mask, unk_1, 0x8000,
&info->dom.sam, &info->dom.num_sam_entries) : False;
if (res && info->dom.num_sam_entries == 0)