git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1984d5
)
r23699: when we create the global schema, remember to set the ldb opaque so we
author
Andrew Tridgell
<tridge@samba.org>
Wed, 4 Jul 2007 05:15:06 +0000
(
05:15
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:59:04 +0000
(14:59 -0500)
can find it again
(This used to be commit
968e70b2aa478cfd49321e3386b505fd00a81527
)
source4/dsdb/schema/schema_init.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/schema/schema_init.c
b/source4/dsdb/schema/schema_init.c
index bf82b0b1891854213618b83b384b4719d3aef4ee..a9ddbe69be7b3c911a0d5d1627c65b6d9a2d8f00 100644
(file)
--- a/
source4/dsdb/schema/schema_init.c
+++ b/
source4/dsdb/schema/schema_init.c
@@
-1016,7
+1016,7
@@
int dsdb_set_global_schema(struct ldb_context *ldb)
{
int ret;
if (!global_schema) {
- return LDB_SUCCESS;
+
return LDB_SUCCESS;
}
ret = ldb_set_opaque(ldb, "dsdb_schema", global_schema);
if (ret != LDB_SUCCESS) {
@@
-1063,6
+1063,8
@@
void dsdb_make_schema_global(struct ldb_context *ldb)
talloc_steal(talloc_autofree_context(), schema);
global_schema = schema;
+
+ dsdb_set_global_schema(ldb);
}
WERROR dsdb_attach_schema_from_ldif_file(struct ldb_context *ldb, const char *pf, const char *df)