Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schema
[amitay/samba.git] / source4 / scripting / python / samba / samdb.py
index b92a91e2ef562a8cffa0004581a2331254bc3d6f..17b5450a3e0660f81e85354758f0463f288a8587 100644 (file)
@@ -199,7 +199,10 @@ userPassword:: %s
         glue.samdb_set_domain_sid(self, sid)
 
     def attach_schema_from_ldif(self, pf, df):
-        glue.dsdb_attach_schema_from_ldif_file(self, pf, df)
+        glue.dsdb_attach_schema_from_ldif(self, pf, df)
+
+    def convert_schema_to_openldap(self, target, mapping):
+        return glue.dsdb_convert_schema_to_openldap(self, target, mapping)
 
     def set_invocation_id(self, invocation_id):
         """Set the invocation id for this SamDB handle.