summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-06-12 15:37:06 +0000
committerVolker Lendecke <vlendec@samba.org>2003-06-12 15:37:06 +0000
commitc8667b03f893fe1f8e19e63433a758c137097375 (patch)
treea995ee9c2b157cf231344d6280d52c2b193467cd /source3/utils
parent511789b8555213d2f3d1b96c5434d2d0ebfd666f (diff)
downloadsamba-c8667b03f893fe1f8e19e63433a758c137097375.tar.gz
samba-c8667b03f893fe1f8e19e63433a758c137097375.tar.bz2
samba-c8667b03f893fe1f8e19e63433a758c137097375.zip
Working on bug#3. We want all of the aliases, so start with 0.
Volker (This used to be commit ec1a58d09e08583288b18747a0c82e5cf8139b63)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 544525b705..b7a685a2ac 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/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,