summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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