From 3d13c9e53a25a3af73c520a0ecfa35eafc80784c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 20 Aug 2010 07:26:53 +1000 Subject: s4-pysamdb: fixed get_domain_sid() we need to actually return the SID! Pair-Programmed-With: Andrew Bartlett --- source4/scripting/python/samba/samdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit