The Samba-Bugzilla – Attachment 6827 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]
Patch
8420-3.6.0.patch (text/plain), 985 bytes, created by
Volker Lendecke
on 2011-08-29 19:15:13 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2011-08-29 19:15:13 UTC
Size:
985 bytes
patch
obsolete
>From 71dcb84e61443df3f149693486fde40315d7503d Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Thu, 25 Aug 2011 20:13:09 +0200 >Subject: [PATCH] s3: Fix getent group if trusted domains are not reachable > >--- > source3/winbindd/wb_group_members.c | 9 +++++++-- > 1 files changed, 7 insertions(+), 2 deletions(-) > >diff --git a/source3/winbindd/wb_group_members.c b/source3/winbindd/wb_group_members.c >index e6efcab..8776a8c 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); >-- >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:
metze
:
review+
Actions:
View
Attachments on
bug 8420
:
6826
| 6827