summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-07-02 11:39:39 +0300
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-07-02 11:55:33 +0300
commit62341537d7c43d678e66ba663ad07be629e3328e (patch)
treefe489071f1cd04cb79316a381aa88b6e14879ee7 /source4/dsdb/schema
parentd9429a874c5bd463f4b89db55fdae14b1764a494 (diff)
downloadsamba-62341537d7c43d678e66ba663ad07be629e3328e.tar.gz
samba-62341537d7c43d678e66ba663ad07be629e3328e.tar.bz2
samba-62341537d7c43d678e66ba663ad07be629e3328e.zip
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
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/schema_set.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/dsdb/schema/schema_set.c b/source4/dsdb/schema/schema_set.c
index da5ad3ce92..e09d2073bb 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;