diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-06-01 14:45:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:51 -0500 |
commit | 92cb49de7757cb181ad0636a7498674eebba2aab (patch) | |
tree | 76c3d120120b5f4a81338c3060709e15936889c7 /source3 | |
parent | 6798fd8e3c764f46f9993bb7c986b2454b2aab42 (diff) | |
download | samba-92cb49de7757cb181ad0636a7498674eebba2aab.tar.gz samba-92cb49de7757cb181ad0636a7498674eebba2aab.tar.bz2 samba-92cb49de7757cb181ad0636a7498674eebba2aab.zip |
r964: The max_size field in cli_samr_enum_als_groups is more like an account_control
field with indiviual bits what to retrieve. Set this to 0xffff as NT4
usrmgr.exe does to get everything. I'm too lazy (sorry) to get this through to
rpc_parse/ etc.
Volker
(This used to be commit d7239c2611a62873cc9eff296c84e91198a5c552)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_rpc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 817ba912b0..41ab5ff8a7 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -1867,8 +1867,14 @@ rpc_group_list_internals(const DOM_SID *domain_sid, const char *domain_name, do { if (!local) break; + /* The max_size field in cli_samr_enum_als_groups is more like + * an account_control field with indiviual bits what to + * retrieve. Set this to 0xffff as NT4 usrmgr.exe does to get + * everything. I'm too lazy (sorry) to get this through to + * rpc_parse/ etc. Volker */ + result = cli_samr_enum_als_groups(cli, mem_ctx, &domain_pol, - &start_idx, max_entries, + &start_idx, 0xffff, &groups, &num_entries); if (!NT_STATUS_IS_OK(result) && |