[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Fri Apr 23 02:36:38 MDT 2010


The branch, master has been updated
       via  c82fd3e... s3: Fix a winbind crash when scanning trusts
      from  8f67f87... Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c82fd3ed30ef2c804b6370d9d2ff1e1a6d2797f5
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Apr 21 17:04:49 2010 +0200

    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().

-----------------------------------------------------------------------

Summary of changes:
 source3/winbindd/winbindd_util.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index 84522ea..a13df1f 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -428,6 +428,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) {
@@ -497,6 +500,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) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list