git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7a30c6
)
s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIES
author
Stefan Metzmacher
<metze@samba.org>
Sat, 10 Jul 2010 07:08:57 +0000
(09:08 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 10 Jul 2010 07:35:03 +0000
(09:35 +0200)
metze
source4/winbind/wb_cmd_list_groups.c
patch
|
blob
|
history
diff --git
a/source4/winbind/wb_cmd_list_groups.c
b/source4/winbind/wb_cmd_list_groups.c
index 16059ea4cc069d1557f41b450e95f5602c2c5e9f..db256761d32beb76ec2fa47247e524968bbfaec1 100644
(file)
--- 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;
}