summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/__init__.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-07 12:11:12 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-07 17:40:00 +0200
commitc76bd65b608bed0810013b3a447a4a30fbed98bd (patch)
treecc8f3fc061366c90d411b9eb0d4e4883f4944658 /source4/scripting/python/samba/__init__.py
parentfeeedf49cfc2edbfdfd0e5512904ea67f2daff11 (diff)
downloadsamba-c76bd65b608bed0810013b3a447a4a30fbed98bd.tar.gz
samba-c76bd65b608bed0810013b3a447a4a30fbed98bd.tar.bz2
samba-c76bd65b608bed0810013b3a447a4a30fbed98bd.zip
s4-samdb: Allow skipping global schema.
Diffstat (limited to 'source4/scripting/python/samba/__init__.py')
-rw-r--r--source4/scripting/python/samba/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index 9d0d71101b1..fc369290f9c 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -266,13 +266,13 @@ class Ldb(_Ldb):
:param sid: The new domain sid to use.
"""
- glue.samdb_set_domain_sid(self, sid)
+ dsdb.samdb_set_domain_sid(self, sid)
def domain_sid(self):
"""Read the domain SID used by this LDB.
"""
- glue.samdb_get_domain_sid(self)
+ dsdb.samdb_get_domain_sid(self)
def set_schema_from_ldif(self, pf, df):
glue.dsdb_set_schema_from_ldif(self, pf, df)
@@ -291,15 +291,15 @@ class Ldb(_Ldb):
:param invocation_id: GUID of the invocation id.
"""
- glue.dsdb_set_ntds_invocation_id(self, invocation_id)
+ dsdb.dsdb_set_ntds_invocation_id(self, invocation_id)
def get_invocation_id(self):
"Get the invocation_id id"
- return glue.samdb_ntds_invocation_id(self)
+ return dsdb.samdb_ntds_invocation_id(self)
def get_ntds_GUID(self):
"Get the NTDS objectGUID"
- return glue.samdb_ntds_objectGUID(self)
+ return dsdb.samdb_ntds_objectGUID(self)
def server_site_name(self):
"Get the server site name"