From 798b05a9740f43b2b6f9a5091878d85e3c88409d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 27 Oct 2009 20:30:53 +1100 Subject: s4-dsdb: call dsdb_make_schema_global() from ldb_wrap Calling it from samdb_connect() can cause a stale schema to be put into the global schema. Thanks to Andrew Bartlett for spotting this. --- source4/dsdb/samdb/samdb.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source4/dsdb/samdb') diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c index 70f0409c3d..b3ba63388d 100644 --- a/source4/dsdb/samdb/samdb.c +++ b/source4/dsdb/samdb/samdb.c @@ -133,7 +133,6 @@ struct ldb_context *samdb_connect(TALLOC_CTX *mem_ctx, if (!ldb) { return NULL; } - dsdb_make_schema_global(ldb); return ldb; } -- cgit