summaryrefslogtreecommitdiff
path: root/source4/winbind
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-07-10 09:08:31 +0200
committerStefan Metzmacher <metze@samba.org>2010-07-10 09:35:02 +0200
commitc7a30c6b173cb2720bcb7d5eefe00899f629b91e (patch)
treed736c06184fdd215ce8149af24c7769402796828 /source4/winbind
parent1ea4215e5681ccef921bbf77bb1af79fc1a82b77 (diff)
downloadsamba-c7a30c6b173cb2720bcb7d5eefe00899f629b91e.tar.gz
s4:wb_cmd_list_users: also handle NT_STATUS_NO_MORE_ENTRIES
metze
Diffstat (limited to 'source4/winbind')
-rw-r--r--source4/winbind/wb_cmd_list_users.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/winbind/wb_cmd_list_users.c b/source4/winbind/wb_cmd_list_users.c
index 4728f3ad55f..03544f6585b 100644
--- a/source4/winbind/wb_cmd_list_users.c
+++ b/source4/winbind/wb_cmd_list_users.c
@@ -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;
}