summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-26 10:15:43 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-26 13:59:17 +1100
commitcb8d1e01f0b64f4a01ea101b8a0229f2085b744d (patch)
treecd8c841140573fc6fc7302daae7e6aede6fc4f68 /source4/scripting/python/samba
parent390f7b535d9625beb9f203fdc2eb2890b69ed404 (diff)
downloadsamba-cb8d1e01f0b64f4a01ea101b8a0229f2085b744d.tar.gz
samba-cb8d1e01f0b64f4a01ea101b8a0229f2085b744d.tar.xz
samba-cb8d1e01f0b64f4a01ea101b8a0229f2085b744d.zip
samdb: added get_ntds_GUID() method
Diffstat (limited to 'source4/scripting/python/samba')
-rw-r--r--source4/scripting/python/samba/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index b2b7dcecb4..3544c49459 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -296,6 +296,10 @@ class Ldb(ldb.Ldb):
"Get the invocation_id id"
return glue.samdb_ntds_invocation_id(self)
+ def get_ntds_GUID(self):
+ "Get the NTDS objectGUID"
+ return glue.samdb_ntds_objectGUID(self)
+
def server_site_name(self):
"Get the server site name"
return glue.samdb_server_site_name(self)