summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-25 18:15:47 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-26 13:59:17 +1100
commit8f763e046cf80863fa089724118a4efb4c7e450e (patch)
treedb66b2cea1ad081fbfca89571dba8c981f6cd15b
parentabf55033dfbd84a49c494bd13daee7793921559d (diff)
downloadsamba-8f763e046cf80863fa089724118a4efb4c7e450e.tar.gz
samba-8f763e046cf80863fa089724118a4efb4c7e450e.tar.bz2
samba-8f763e046cf80863fa089724118a4efb4c7e450e.zip
py-samdb: added get_invocation_id() method
-rw-r--r--source4/scripting/python/samba/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index d7df6b979b..1e0fc099ab 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -292,6 +292,11 @@ class Ldb(ldb.Ldb):
"""
glue.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)
+
+
def set_opaque_integer(self, name, value):
"""Set an integer as an opaque (a flag or other value) value on the database