git.samba.org
/
anatoliy
/
anatoliy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abf5503
)
py-samdb: added get_invocation_id() method
author
Andrew Tridgell
<tridge@samba.org>
Thu, 25 Feb 2010 07:15:47 +0000
(18:15 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 26 Feb 2010 02:59:17 +0000
(13:59 +1100)
source4/scripting/python/samba/__init__.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/__init__.py
b/source4/scripting/python/samba/__init__.py
index d7df6b979bfbc7cb1726166d1e9e9d3b322454c8..1e0fc099abb051b442c04d16297ce78d7b103a3d 100644
(file)
--- 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