diff options
author | Noel Power <noel.power@suse.com> | 2018-11-19 14:04:39 +0000 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2018-12-10 10:38:23 +0100 |
commit | 32c8c820a23966ae4137b3d6adde8e88a8751ed7 (patch) | |
tree | d67f651d1498857f6c045ebc42f806879ff94186 | |
parent | 4186335cd88e36b9e4981905e80ce2ae9f2639f7 (diff) | |
download | samba-32c8c820a23966ae4137b3d6adde8e88a8751ed7.tar.gz |
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>
-rwxr-xr-x | source4/dsdb/tests/python/token_group.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/tests/python/token_group.py b/source4/dsdb/tests/python/token_group.py index 8df123f173b..af2f4f4e79f 100755 --- a/source4/dsdb/tests/python/token_group.py +++ b/source4/dsdb/tests/python/token_group.py @@ -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: |