The Samba-Bugzilla – Attachment 5414 Details for
Bug 7170
getpwnam for users from outbound only trusts fails randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for v3-5
tmp.diff (text/plain), 1.25 KB, created by
Stefan Metzmacher
on 2010-02-23 03:43:56 UTC
(
hide
)
Description:
Patch for v3-5
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2010-02-23 03:43:56 UTC
Size:
1.25 KB
patch
obsolete
>From 5d40e2e563c4e08ee224602c24db746d8a5f9546 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Tue, 23 Feb 2010 08:42:41 +0100 >Subject: [PATCH] s3:winbindd: never mark external domains as internal! > >This way we can endup with silently using builtin_passdb_methods >for an ad domain without an inbound trust. > >This fixes bug #7170. > >metze >(cherry picked from commit f924b7749280b31ece19885de1c3ad1bd71942ac) >--- > source3/winbindd/winbindd_cm.c | 5 +---- > 1 files changed, 1 insertions(+), 4 deletions(-) > >diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c >index 479602a..ed06dde 100644 >--- a/source3/winbindd/winbindd_cm.c >+++ b/source3/winbindd/winbindd_cm.c >@@ -1641,7 +1641,7 @@ static NTSTATUS init_dc_connection_network(struct winbindd_domain *domain) > NTSTATUS result; > > /* Internal connections never use the network. */ >- if (domain->internal) { >+ if (domain->internal || !winbindd_can_contact_domain(domain)) { > domain->initialized = True; > return NT_STATUS_OK; > } >@@ -1769,9 +1769,6 @@ static bool set_dc_type_and_flags_trustinfo( struct winbindd_domain *domain ) > > domain->initialized = True; > >- if ( !winbindd_can_contact_domain( domain) ) >- domain->internal = True; >- > break; > } > } >-- >1.6.3.3 >
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:
obnox
:
review+
Actions:
View
Attachments on
bug 7170
: 5414 |
5415
|
5416