From 8f763e046cf80863fa089724118a4efb4c7e450e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 25 Feb 2010 18:15:47 +1100 Subject: py-samdb: added get_invocation_id() method --- source4/scripting/python/samba/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/scripting') 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 -- cgit