summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-25 18:35:14 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-26 13:59:17 +1100
commit390f7b535d9625beb9f203fdc2eb2890b69ed404 (patch)
treea6879cfb2144e7b4a8bcc5d5b6b1afe52633ac06 /source4
parent1e66ec832e1e4b1c6c71c96259328a64552de57c (diff)
downloadsamba-390f7b535d9625beb9f203fdc2eb2890b69ed404.tar.gz
samba-390f7b535d9625beb9f203fdc2eb2890b69ed404.tar.bz2
samba-390f7b535d9625beb9f203fdc2eb2890b69ed404.zip
py-samdb: added server_site_name method
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index 1e0fc099ab..b2b7dcecb4 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -296,6 +296,9 @@ class Ldb(ldb.Ldb):
"Get the invocation_id id"
return glue.samdb_ntds_invocation_id(self)
+ def server_site_name(self):
+ "Get the server site name"
+ return glue.samdb_server_site_name(self)
def set_opaque_integer(self, name, value):
"""Set an integer as an opaque (a flag or other value) value on the database