The Samba-Bugzilla – Attachment 6826 Details for
Bug 8420
wb_group_members: non-resistance against garbage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-v3-5-test-Fix-getent-group-if-trusted-domains-are-no.patch (text/plain), 943 bytes, created by
Dmitry Butskoy
on 2011-08-29 14:55:32 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Dmitry Butskoy
Created:
2011-08-29 14:55:32 UTC
Size:
943 bytes
patch
obsolete
>>From ca400f17b180979a846d39dc942aa41f10845c0f Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
metze
:
review+
Actions:
View
Attachments on
bug 8420
: 6826 |
6827