s4-pysamdb: fixed get_domain_sid()
authorAndrew Tridgell <tridge@samba.org>
Thu, 19 Aug 2010 21:26:53 +0000 (07:26 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 20 Aug 2010 10:34:11 +0000 (20:34 +1000)
we need to actually return the SID!

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/scripting/python/samba/samdb.py

index 1765a07b6b61931894ead029ade7f6fc5c4b518e..14c21bc0b6d277bf08b0dccfd39d0f8078358e91 100644 (file)
@@ -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.