mirror of
https://github.com/samba-team/samba.git
synced 2025-07-06 08:59:08 +03:00
Revert "s4/dsdb: Set schemaInfo attribute value during provisioning"
This reverts commit 8149094edd
.
Windows implementation does not set schemaInfo attribute value
until first Schema update request.
This way, newly provisioned forest returns no schemaInfo value.
I think it won't be bad for us to have this value preset, but
I want to mimic Win AD behavior as close as possible.
This commit is contained in:
@ -946,8 +946,6 @@ def setup_samdb(path, setup_path, session_info, provision_backend, lp,
|
||||
message("Setting up sam.ldb schema")
|
||||
samdb.add_ldif(schema.schema_dn_add, controls=["relax:0"])
|
||||
samdb.modify_ldif(schema.schema_dn_modify)
|
||||
# set schemaInfo to defalt value for a new Forest
|
||||
samdb.set_schema_info()
|
||||
samdb.write_prefixes_from_schema()
|
||||
samdb.add_ldif(schema.schema_data, controls=["relax:0"])
|
||||
setup_add_ldif(samdb, setup_path("aggregate_schema.ldif"),
|
||||
|
Reference in New Issue
Block a user