diff options
author | Luke Leighton <lkcl@samba.org> | 1999-02-11 18:48:18 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-02-11 18:48:18 +0000 |
commit | b5396d3c6de4b8cb0e981bab10367e5838f78a53 (patch) | |
tree | e02d58fc31d2040cfd9cd0dd9c4055b19b609dd2 | |
parent | c1d65e906054297e42d6d177194d3b9ab16c7e35 (diff) | |
download | samba-b5396d3c6de4b8cb0e981bab10367e5838f78a53.tar.gz samba-b5396d3c6de4b8cb0e981bab10367e5838f78a53.tar.xz samba-b5396d3c6de4b8cb0e981bab10367e5838f78a53.zip |
enum dom users buffer was 0x80 not 0x8000. must fix "enumeration" code
as you need to make multiple enum dom users calls.
-rw-r--r-- | source/rpcclient/cmd_samr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpcclient/cmd_samr.c b/source/rpcclient/cmd_samr.c index 18018659b92..852521d850e 100644 --- a/source/rpcclient/cmd_samr.c +++ b/source/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) |