The Samba-Bugzilla – Attachment 5368 Details for
Bug 7144
Problems scanning for a subdomain in an forest trust
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
winbind-patch
winbindd.patch.samba-3.5.0rc2.new (text/plain), 1.73 KB, created by
Ralf Schwiete
on 2010-02-17 09:46:13 UTC
(
hide
)
Description:
winbind-patch
Filename:
MIME Type:
Creator:
Ralf Schwiete
Created:
2010-02-17 09:46:13 UTC
Size:
1.73 KB
patch
obsolete
>--- a/source3/winbindd/winbindd_util.c 2010-01-26 15:05:01.000000000 +0100 >+++ b/source3/winbindd/winbindd_util.c 2010-02-17 13:12:18.725349968 +0100 >@@ -481,7 +481,7 @@ > > if ( (flags & NETR_TRUST_FLAG_INBOUND) && > (type == NETR_TRUST_TYPE_UPLEVEL) && >- (attribs == NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE) ) >+ ((attribs & NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE) == NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE) ) > { > /* add the trusted domain if we don't know > about it */ >--- a/source3/winbindd/winbindd_misc.c 2010-01-26 15:05:01.000000000 +0100 >+++ b/source3/winbindd/winbindd_misc.c 2010-02-17 16:06:04.723956293 +0100 >@@ -45,7 +45,7 @@ > { > if (domain->trust_attribs == NETR_TRUST_ATTRIBUTE_QUARANTINED_DOMAIN) > return EXTERNAL; >- else if (domain->trust_attribs == NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE) >+ else if ((domain->trust_attribs & NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE) == NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE) > return FOREST; > else if (((domain->trust_flags & NETR_TRUST_FLAG_IN_FOREST) == NETR_TRUST_FLAG_IN_FOREST) && > ((domain->trust_flags & NETR_TRUST_FLAG_PRIMARY) == 0x0)) >@@ -78,9 +78,10 @@ > > static bool trust_is_transitive(struct winbindd_tdc_domain *domain) > { >- if ((domain->trust_attribs == NETR_TRUST_ATTRIBUTE_NON_TRANSITIVE) || >+ if (((domain->trust_attribs == NETR_TRUST_ATTRIBUTE_NON_TRANSITIVE) || > (domain->trust_attribs == NETR_TRUST_ATTRIBUTE_QUARANTINED_DOMAIN) || >- (domain->trust_attribs == NETR_TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL)) >+ (domain->trust_attribs == NETR_TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL)) && >+ !(domain->trust_attribs == NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE)) > return False; > return True; > } >
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
Actions:
View
Attachments on
bug 7144
:
5363
|
5364
| 5368