git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:dsdb/schema: add "dsdb:schema update allowed" option to enable schema updates
[ira/wip.git]
/
source4
/
dsdb
/
schema
/
schema_set.c
diff --git
a/source4/dsdb/schema/schema_set.c
b/source4/dsdb/schema/schema_set.c
index 6f735db48629edca286fa9175bbf599c8f408e32..4142842eee7b2b76274b880deb367855c1770e61 100644
(file)
--- a/
source4/dsdb/schema/schema_set.c
+++ b/
source4/dsdb/schema/schema_set.c
@@
-712,6
+712,7
@@
WERROR dsdb_set_schema_from_ldif(struct ldb_context *ldb,
goto nomem;
}
schema->fsmo.we_are_master = true;
+ schema->fsmo.update_allowed = true;
schema->fsmo.master_dn = ldb_dn_new(schema, ldb, "@PROVISION_SCHEMA_MASTER");
if (!schema->fsmo.master_dn) {
goto nomem;