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:
parent
1ea4215e56
commit
c7a30c6b17
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user