From 751a26214e3d88d2d1bd89787524e7a49c30037f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 10 Jul 2010 09:08:57 +0200 Subject: s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIES metze --- source4/winbind/wb_cmd_list_groups.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/winbind') diff --git a/source4/winbind/wb_cmd_list_groups.c b/source4/winbind/wb_cmd_list_groups.c index 16059ea4cc..db256761d3 100644 --- a/source4/winbind/wb_cmd_list_groups.c +++ b/source4/winbind/wb_cmd_list_groups.c @@ -137,7 +137,8 @@ static void cmd_list_groups_recv_group_list(struct composite_context *ctx) /* If NTSTATUS is neither OK nor MORE_ENTRIES, something broke */ if (!NT_STATUS_IS_OK(status) && - !NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES)) { + !NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES) && + !NT_STATUS_EQUAL(status, NT_STATUS_NO_MORE_ENTRIES)) { composite_error(state->ctx, status); return; } -- cgit