summaryrefslogtreecommitdiffstats
path: root/source4/dsdb/tests/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-11-13 22:33:41 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-11-14 15:49:36 +0100
commitf625d362d7284c824edeffb58059ecb8114558db (patch)
tree4cd28348c36acba1cfcc790e077b0aad274b6643 /source4/dsdb/tests/python
parent03759fe0223771df9cb77a3391468c0b64d36410 (diff)
downloadsamba-f625d362d7284c824edeffb58059ecb8114558db.tar.gz
samba-f625d362d7284c824edeffb58059ecb8114558db.tar.xz
samba-f625d362d7284c824edeffb58059ecb8114558db.zip
Remove broken code - these lines use undefined symbols.
Diffstat (limited to 'source4/dsdb/tests/python')
-rwxr-xr-xsource4/dsdb/tests/python/token_group.py9
1 files changed, 2 insertions, 7 deletions
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")