1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

s4/dsdb: Set schemaInfo attribute value during provisioning

After provisioning new Forest, schemaInfo should be set
to a value with revision=1 and current invocation_id
This commit is contained in:
Kamen Mazdrashki
2010-04-09 10:48:20 +03:00
parent 4ba2ac073d
commit 8149094edd
4 changed files with 80 additions and 0 deletions

View File

@ -283,6 +283,9 @@ class Ldb(_Ldb):
def write_prefixes_from_schema(self):
_glue.dsdb_write_prefixes_from_schema_to_ldb(self)
def set_schema_info(self):
_glue.dsdb_schema_info_reset(self)
def convert_schema_to_openldap(self, target, mapping):
return dsdb.dsdb_convert_schema_to_openldap(self, target, mapping)