>From ca400f17b180979a846d39dc942aa41f10845c0f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 25 Aug 2011 20:13:09 +0200 Subject: [PATCH] v3-5-test: Fix getent group if trusted domains are not reachable --- source3/winbindd/wb_group_members.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/source3/winbindd/wb_group_members.c b/source3/winbindd/wb_group_members.c index a7eb9ba..cad04f8 100644 --- a/source3/winbindd/wb_group_members.c +++ b/source3/winbindd/wb_group_members.c @@ -213,8 +213,12 @@ static void wb_groups_members_done(struct tevent_req *subreq) */ if (!NT_STATUS_IS_OK(status)) { - tevent_req_nterror(req, status); - return; + 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); -- 1.7.4.1