diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-11-11 12:12:17 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-15 09:46:30 +0100 |
commit | e7e9f1e2dd279beaaf9d94b39378d24548a531cd (patch) | |
tree | 60df5df4063dcdca9f803331f29018df6d054129 /source4/dsdb/schema/schema_set.c | |
parent | be091eddec3715c5807f03fdc3d83ffc5a857433 (diff) | |
download | samba-e7e9f1e2dd279beaaf9d94b39378d24548a531cd.tar.gz samba-e7e9f1e2dd279beaaf9d94b39378d24548a531cd.tar.bz2 samba-e7e9f1e2dd279beaaf9d94b39378d24548a531cd.zip |
s4:dsdb/schema: add "dsdb:schema update allowed" option to enable schema updates
By default schema updates are not allowed anymore, as we don't have
complete validation code to prevent database corruption.
metze
Diffstat (limited to 'source4/dsdb/schema/schema_set.c')
-rw-r--r-- | source4/dsdb/schema/schema_set.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema_set.c b/source4/dsdb/schema/schema_set.c index 6f735db486..4142842eee 100644 --- 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; |