summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-25 20:13:09 +0200
committerVolker Lendecke <vl@samba.org>2011-08-29 19:29:37 +0200
commit71dcb84e61443df3f149693486fde40315d7503d (patch)
treea3c371758ef97f5ad35d4bff5413a0e933b64c0b /source3/winbindd
parent498e32bbac6445875d8f0cb653bab428bb864f8c (diff)
downloadsamba-71dcb84e61443df3f149693486fde40315d7503d.tar.gz
samba-71dcb84e61443df3f149693486fde40315d7503d.tar.bz2
samba-71dcb84e61443df3f149693486fde40315d7503d.zip
s3: Fix getent group if trusted domains are not reachable
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/wb_group_members.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/winbindd/wb_group_members.c b/source3/winbindd/wb_group_members.c
index e6efcabfad..8776a8c7dd 100644
--- a/source3/winbindd/wb_group_members.c
+++ b/source3/winbindd/wb_group_members.c
@@ -209,8 +209,13 @@ static void wb_groups_members_done(struct tevent_req *subreq)
* and just continue if an error occured.
*/
- if (tevent_req_nterror(req, status)) {
- return;
+ if (!NT_STATUS_IS_OK(status)) {
+ if (!NT_STATUS_EQUAL(
+ status, NT_STATUS_TRUSTED_DOMAIN_FAILURE)) {
+ tevent_req_nterror(req, status);
+ return;
+ }
+ num_members = 0;
}
num_all_members = talloc_array_length(state->all_members);