From ec1a58d09e08583288b18747a0c82e5cf8139b63 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 12 Jun 2003 15:37:06 +0000 Subject: [PATCH] Working on bug#3. We want all of the aliases, so start with 0. Volker --- source/utils/net_rpc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c index 544525b705a..b7a685a2ac8 100644 --- a/source/utils/net_rpc.c +++ b/source/utils/net_rpc.c @@ -957,6 +957,7 @@ rpc_group_list_internals(const DOM_SID *domain_sid, struct cli_state *cli, } } while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES)); /* query domain aliases */ + start_idx = 0; do { result = cli_samr_enum_als_groups(cli, mem_ctx, &domain_pol, &start_idx, max_entries, @@ -981,6 +982,7 @@ rpc_group_list_internals(const DOM_SID *domain_sid, struct cli_state *cli, goto done; } /* query builtin aliases */ + start_idx = 0; do { result = cli_samr_enum_als_groups(cli, mem_ctx, &domain_pol, &start_idx, max_entries, -- 2.11.4.GIT