1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIES

metze
This commit is contained in:
Stefan Metzmacher 2010-07-10 09:08:57 +02:00
parent c7a30c6b17
commit 751a26214e

View File

@ -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;
}