From 9e02764f7c34fd5c9686c7a754a30e9a6ae95769 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 20 Jun 2010 15:22:49 +0200 Subject: pydsdb: Mark all SamDB and Schema methods that are in pydsdb as private, to discourage them being called directly. --- source4/scripting/python/samba/schema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/scripting/python/samba/schema.py') diff --git a/source4/scripting/python/samba/schema.py b/source4/scripting/python/samba/schema.py index 9e8db65d6e..c25dc195b1 100644 --- a/source4/scripting/python/samba/schema.py +++ b/source4/scripting/python/samba/schema.py @@ -109,7 +109,7 @@ class Schema(object): self.set_from_ldif(prefixmap_ldif, self.schema_data) def set_from_ldif(self, pf, df): - dsdb.dsdb_set_schema_from_ldif(self.ldb, pf, df) + dsdb._dsdb_set_schema_from_ldif(self.ldb, pf, df) def write_to_tmp_ldb(self, schemadb_path): self.ldb.connect(url=schemadb_path) @@ -140,7 +140,7 @@ dn: @INDEXLIST return get_dnsyntax_attributes(self.schemadn, self.ldb) def convert_to_openldap(self, target, mapping): - return dsdb.dsdb_convert_schema_to_openldap(self.ldb, target, mapping) + return dsdb._dsdb_convert_schema_to_openldap(self.ldb, target, mapping) # Return a hash with the forward attribute as a key and the back as the value -- cgit