s4:provison Add prefixes to ldb using same code a later modify will use
[ira/wip.git] / source4 / scripting / python / samba / __init__.py
index 69a0320be78546a53688b5b5cba8fba257eaa960..4df3d6f55a26d6fd970f6928fdbb105de96b956d 100644 (file)
@@ -239,6 +239,9 @@ class Ldb(ldb.Ldb):
     def set_schema_from_ldb(self, ldb):
         glue.dsdb_set_schema_from_ldb(self, ldb)
 
+    def write_prefixes_from_schema(self):
+        glue.dsdb_write_prefixes_from_schema_to_ldb(self)
+
     def convert_schema_to_openldap(self, target, mapping):
         return glue.dsdb_convert_schema_to_openldap(self, target, mapping)