The Samba-Bugzilla – Attachment 5652 Details for
Bug 7389
Fix a winbind crash when scanning trusted domains
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.5
0001-s3-Fix-a-winbind-crash-when-scanning-trusts.patch (text/plain), 1.22 KB, created by
Volker Lendecke
on 2010-04-24 04:40:55 UTC
(
hide
)
Description:
Patch for 3.5
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2010-04-24 04:40:55 UTC
Size:
1.22 KB
patch
obsolete
>From 115a82a07f1708d535bac05b45111fadf1d8b4a9 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Wed, 21 Apr 2010 17:04:49 +0200 >Subject: [PATCH] s3: Fix a winbind crash when scanning trusts > >add_trusted_domain() for a new domain always needs to be followed by a >setup_domain_child(). This was not always done, in particular not when walking >to the forest root for additional trusts. > >This is a minimal patch, we need to fix add_trusted_domain(). >--- > source3/winbindd/winbindd_util.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c >index 1760382..15a3575 100644 >--- a/source3/winbindd/winbindd_util.c >+++ b/source3/winbindd/winbindd_util.c >@@ -422,6 +422,9 @@ static void rescan_forest_root_trusts( void ) > dom_list[i].dns_name, > &cache_methods, > &dom_list[i].sid ); >+ if (d != NULL) { >+ setup_domain_child(d, &d->child); >+ } > } > > if (d == NULL) { >@@ -491,6 +494,9 @@ static void rescan_forest_trusts( void ) > dom_list[i].dns_name, > &cache_methods, > &dom_list[i].sid ); >+ if (d != NULL) { >+ setup_domain_child(d, &d->child); >+ } > } > > if (d == NULL) { >-- >1.6.5.7 >
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 7389
: 5652