[SCM] Samba Shared Repository - branch master updated

Anatoliy Atanasov anatoliy at samba.org
Fri Jul 2 02:55:52 MDT 2010


The branch, master has been updated
       via  6234153... s4/schema: remove unnecessary deletion of dsdb_schema cached pointer
      from  d9429a8... s3-registry: remove 2 byte winreg type limitation.

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


- Log -----------------------------------------------------------------
commit 62341537d7c43d678e66ba663ad07be629e3328e
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date:   Fri Jul 2 11:39:39 2010 +0300

    s4/schema: remove unnecessary deletion of dsdb_schema cached pointer
    
    This is needed so we can find and free old schemas based using
    the cached pointer

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

Summary of changes:
 source4/dsdb/schema/schema_set.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/schema/schema_set.c b/source4/dsdb/schema/schema_set.c
index da5ad3c..e09d207 100644
--- a/source4/dsdb/schema/schema_set.c
+++ b/source4/dsdb/schema/schema_set.c
@@ -536,9 +536,6 @@ void dsdb_make_schema_global(struct ldb_context *ldb, struct dsdb_schema *schema
 		talloc_unlink(talloc_autofree_context(), global_schema);
 	}
 
-	/* Wipe any reference to the exact schema - we will set 'use the global schema' below */
-	ldb_set_opaque(ldb, "dsdb_schema", NULL);
-
 	/* we want the schema to be around permanently */
 	talloc_reparent(ldb, talloc_autofree_context(), schema);
 	global_schema = schema;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list