From f625d362d7284c824edeffb58059ecb8114558db Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 13 Nov 2011 22:33:41 +0100 Subject: Remove broken code - these lines use undefined symbols. --- source4/dsdb/tests/python/token_group.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/tests/python/token_group.py b/source4/dsdb/tests/python/token_group.py index fb7654e7e0..ff9f3ecbaa 100755 --- a/source4/dsdb/tests/python/token_group.py +++ b/source4/dsdb/tests/python/token_group.py @@ -17,7 +17,7 @@ from samba.auth import system_session from samba import ldb from samba.samdb import SamDB from samba.auth import AuthContext -from samba.ndr import ndr_pack, ndr_unpack +from samba.ndr import ndr_unpack from samba import gensec from samba.credentials import Credentials @@ -25,7 +25,6 @@ from subunit.run import SubunitTestRunner import unittest import samba.tests -from samba.dcerpc import security from samba.auth import AUTH_SESSION_INFO_DEFAULT_GROUPS, AUTH_SESSION_INFO_AUTHENTICATED, AUTH_SESSION_INFO_SIMPLE_PRIVILEGES @@ -88,7 +87,7 @@ class TokenTest(samba.tests.TestCase): if len(sidset1.difference(sidset2)): print("token sids don't match") print("tokengroups: %s" % tokengroups) - print("calculated : %s" % self.user_sids); + print("calculated : %s" % self.user_sids) print("difference : %s" % sidset1.difference(sidset2)) self.fail(msg="calculated groups don't match against rootDSE tokenGroups") @@ -105,8 +104,6 @@ class TokenTest(samba.tests.TestCase): sidset2 = set(self.user_sids) if len(sidset1.difference(sidset2)): print("token sids don't match") - print("tokengroups: %s" % tokengroups) - print("calculated : %s" % sids); print("difference : %s" % sidset1.difference(sidset2)) self.fail(msg="calculated groups don't match against user DN tokenGroups") @@ -155,8 +152,6 @@ class TokenTest(samba.tests.TestCase): sidset2 = set(self.user_sids) if len(sidset1.difference(sidset2)): print("token sids don't match") - print("tokengroups: %s" % tokengroups) - print("calculated : %s" % sids); print("difference : %s" % sidset1.difference(sidset2)) self.fail(msg="calculated groups don't match against user PAC tokenGroups") -- cgit