1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4/dsdb/tests/python: PY3 port samba4.tokengroups.krb5

gensec.Security.update takes bytes as param not string with py3

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Noel Power 2018-11-19 14:04:39 +00:00 committed by Noel Power
parent 4186335cd8
commit 32c8c820a2

View File

@ -149,7 +149,7 @@ class StaticTokenTest(samba.tests.TestCase):
client_finished = False
server_finished = False
server_to_client = ""
server_to_client = b""
# Run the actual call loop.
while client_finished == False and server_finished == False:
@ -382,7 +382,7 @@ class DynamicTokenTest(samba.tests.TestCase):
client_finished = False
server_finished = False
server_to_client = ""
server_to_client = b""
# Run the actual call loop.
while client_finished == False and server_finished == False: