From bf3e2980bc02f64061c0a7135d01c1fc8db316fe Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 25 Apr 2003 04:09:01 +0000 Subject: Merge of missed another while condition when enumerating aliases. (This used to be commit ee78196bcfe52dfdda0b7fd44a6701e2cf5f7d5a) --- source3/utils/net_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index cf57004a81..e3e79b0e6c 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -1016,7 +1016,7 @@ rpc_group_list_internals(const DOM_SID *domain_sid, struct cli_state *cli, else printf("%s\n", groups[i].acct_name); } - } while (!NT_STATUS_IS_OK(result)); + } while (NT_STATUS_V(result) == NT_STATUS_V(STATUS_MORE_ENTRIES)); done: return result; -- cgit