mirror of
https://github.com/samba-team/samba.git
synced 2025-07-19 04:59:10 +03:00
s4:schema Provide a way to reference a loaded schema between ldbs
This allows us to load the schema against one ldb context, but apply it to another. This will be useful in the provision script, as we need the schema before we start the LDAP server backend. Adnrew Bartlett
This commit is contained in:
@ -216,8 +216,11 @@ userPassword:: %s
|
||||
"""
|
||||
glue.samdb_set_domain_sid(self, sid)
|
||||
|
||||
def attach_schema_from_ldif(self, pf, df):
|
||||
glue.dsdb_attach_schema_from_ldif(self, pf, df)
|
||||
def set_schema_from_ldif(self, pf, df):
|
||||
glue.dsdb_set_schema_from_ldif(self, pf, df)
|
||||
|
||||
def set_schema_from_ldb(self, ldb):
|
||||
glue.dsdb_set_schema_from_ldb(self, ldb)
|
||||
|
||||
def convert_schema_to_openldap(self, target, mapping):
|
||||
return glue.dsdb_convert_schema_to_openldap(self, target, mapping)
|
||||
|
Reference in New Issue
Block a user