diff options
-rw-r--r-- | source4/winbind/wb_cmd_list_groups.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |