[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Fri Jul 9 01:06:21 MDT 2010


The branch, master has been updated
       via  514c596... ldb:common/ldb_dn.c - "ldb_dn_get_parent" - no need to manipulate the real DN
      from  1c0cb36... s3: Optimize the write cache for sequential writes

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


- Log -----------------------------------------------------------------
commit 514c59656152742c0c73ce65e0778f000cdd1437
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Thu Jul 8 22:04:23 2010 +0200

    ldb:common/ldb_dn.c - "ldb_dn_get_parent" - no need to manipulate the real DN
    
    Since the parent DN is a duplication of the passed DN parameter.

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

Summary of changes:
 source4/lib/ldb/common/ldb_dn.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index f81f1a4..847aa02 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -1698,12 +1698,6 @@ struct ldb_dn *ldb_dn_get_parent(void *mem_ctx, struct ldb_dn *dn)
 		return NULL;
 	}
 
-	/* Wipe the ext_linearized DN,
-	 * the GUID and SID are almost certainly no longer valid */
-	LDB_FREE(dn->ext_linearized);
-	LDB_FREE(dn->ext_components);
-	dn->ext_comp_num = 0;
-
 	return new_dn;
 }
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list