1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:wb_cmd_list_users: also handle NT_STATUS_NO_MORE_ENTRIES

metze
This commit is contained in:
Stefan Metzmacher 2010-07-10 09:08:31 +02:00
parent 1ea4215e56
commit c7a30c6b17

View File

@ -135,7 +135,8 @@ static void cmd_list_users_recv_user_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;
}