1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

s4-dsdb: Explain better what records are written during schema set

This is controlled by setting write_indices_and_attributes.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2012-08-10 08:44:04 +10:00
parent 1d1bdc315b
commit fdd07e87c6
4 changed files with 26 additions and 17 deletions

View File

@ -608,11 +608,11 @@ accountExpires: %u
def load_partition_usn(self, base_dn):
return dsdb._dsdb_load_partition_usn(self, base_dn)
def set_schema(self, schema, write_attributes=True):
self.set_schema_from_ldb(schema.ldb, write_attributes=write_attributes)
def set_schema(self, schema, write_indices_and_attributes=True):
self.set_schema_from_ldb(schema.ldb, write_indices_and_attributes=write_indices_and_attributes)
def set_schema_from_ldb(self, ldb_conn, write_attributes=True):
dsdb._dsdb_set_schema_from_ldb(self, ldb_conn, write_attributes)
def set_schema_from_ldb(self, ldb_conn, write_indices_and_attributes=True):
dsdb._dsdb_set_schema_from_ldb(self, ldb_conn, write_indices_and_attributes)
def dsdb_DsReplicaAttribute(self, ldb, ldap_display_name, ldif_elements):
'''convert a list of attribute values to a DRSUAPI DsReplicaAttribute'''