diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-06-20 15:22:49 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-20 15:22:49 +0200 |
commit | 9e02764f7c34fd5c9686c7a754a30e9a6ae95769 (patch) | |
tree | 423cc0f7b6d14a442bf5db69bdc8184608bdd968 /source4/scripting/python/samba/schema.py | |
parent | 7b32f65600988421dc8c825109e225612a3b6166 (diff) | |
download | samba-9e02764f7c34fd5c9686c7a754a30e9a6ae95769.tar.gz samba-9e02764f7c34fd5c9686c7a754a30e9a6ae95769.tar.xz samba-9e02764f7c34fd5c9686c7a754a30e9a6ae95769.zip |
pydsdb: Mark all SamDB and Schema methods that are in pydsdb as
private, to discourage them being called directly.
Diffstat (limited to 'source4/scripting/python/samba/schema.py')
-rw-r--r-- | source4/scripting/python/samba/schema.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |