summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-20 07:26:53 +1000
committerAndrew Tridgell <tridge@samba.org>2010-08-20 20:34:11 +1000
commit3d13c9e53a25a3af73c520a0ecfa35eafc80784c (patch)
treec7a00a29cab21238d5eba84a2c51a650a6b7ce1f /source4/scripting
parenta662bdc0243743f0e6ff7327cca247f1e3e76e84 (diff)
downloadsamba-3d13c9e53a25a3af73c520a0ecfa35eafc80784c.tar.gz
samba-3d13c9e53a25a3af73c520a0ecfa35eafc80784c.tar.bz2
samba-3d13c9e53a25a3af73c520a0ecfa35eafc80784c.zip
s4-pysamdb: fixed get_domain_sid()
we need to actually return the SID! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/samdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py
index 1765a07b6b..14c21bc0b6 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -428,7 +428,7 @@ accountExpires: %u
"""Read the domain SID used by this LDB.
"""
- dsdb._samdb_get_domain_sid(self)
+ return dsdb._samdb_get_domain_sid(self)
def set_invocation_id(self, invocation_id):
"""Set the invocation id for this SamDB handle.