summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-19 17:27:50 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-19 22:46:44 +0200
commitc2cb0a710b050845420e6128cf80e6c3653df650 (patch)
treea2a65800e703b84a439821fd9e72e0b43e150fc0
parent827ce7b0a37595b23ab35d016fd391a82d408a76 (diff)
downloadsamba-c2cb0a710b050845420e6128cf80e6c3653df650.tar.gz
samba-c2cb0a710b050845420e6128cf80e6c3653df650.tar.bz2
samba-c2cb0a710b050845420e6128cf80e6c3653df650.zip
python: Remove unnecessary Ldb.set_invocation_id - use SamDB.set_invocation_id instead.
-rw-r--r--source4/scripting/python/samba/__init__.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index c8ce6b0af0..c9bb59ee37 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -292,13 +292,6 @@ class Ldb(_Ldb):
def convert_schema_to_openldap(self, target, mapping):
return dsdb.dsdb_convert_schema_to_openldap(self, target, mapping)
- def set_invocation_id(self, invocation_id):
- """Set the invocation id for this SamDB handle.
-
- :param invocation_id: GUID of the invocation id.
- """
- dsdb.dsdb_set_ntds_invocation_id(self, invocation_id)
-
def get_invocation_id(self):
"""Get the invocation_id id"""
return dsdb.samdb_ntds_invocation_id(self)