summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-04-25 04:09:01 +0000
committerTim Potter <tpot@samba.org>2003-04-25 04:09:01 +0000
commitbf3e2980bc02f64061c0a7135d01c1fc8db316fe (patch)
treeb8494a1d56c740410d53ab161db7b057fa41f228
parentf4187018ea60f41b49206abf91111b39c782e82a (diff)
downloadsamba-bf3e2980bc02f64061c0a7135d01c1fc8db316fe.tar.gz
samba-bf3e2980bc02f64061c0a7135d01c1fc8db316fe.tar.bz2
samba-bf3e2980bc02f64061c0a7135d01c1fc8db316fe.zip
Merge of missed another while condition when enumerating aliases.
(This used to be commit ee78196bcfe52dfdda0b7fd44a6701e2cf5f7d5a)
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
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;