summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-27 12:21:59 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-27 15:17:18 +0100
commit7545b5b3db77d3696fb725b1655b82c164647289 (patch)
treeada4a430f78b11a5492d108b11dbb442b8b208ee
parent02addbc40d0812d6398d4a9388c5879ae5bae284 (diff)
downloadsamba-7545b5b3db77d3696fb725b1655b82c164647289.tar.gz
samba-7545b5b3db77d3696fb725b1655b82c164647289.tar.bz2
samba-7545b5b3db77d3696fb725b1655b82c164647289.zip
s4:dsdb/tests/python/sam.py - we don't need the domain SID
-rwxr-xr-xsource4/dsdb/tests/python/sam.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/dsdb/tests/python/sam.py b/source4/dsdb/tests/python/sam.py
index 836015b31a..9e50c62a50 100755
--- a/source4/dsdb/tests/python/sam.py
+++ b/source4/dsdb/tests/python/sam.py
@@ -66,15 +66,10 @@ creds = credopts.get_credentials(lp)
class SamTests(unittest.TestCase):
- def find_domain_sid(self):
- res = self.ldb.search(base=self.base_dn, expression="(objectClass=*)", scope=SCOPE_BASE)
- return ndr_unpack( security.dom_sid,res[0]["objectSid"][0])
-
def setUp(self):
super(SamTests, self).setUp()
self.ldb = ldb
self.base_dn = ldb.domain_dn()
- self.domain_sid = self.find_domain_sid()
print "baseDN: %s\n" % self.base_dn