python/samba: PY3 ord needs 'str' type not int
authorNoel Power <noel.power@suse.com>
Fri, 2 Nov 2018 16:16:39 +0000 (16:16 +0000)
committerNoel Power <npower@samba.org>
Mon, 10 Dec 2018 09:38:21 +0000 (10:38 +0100)
commit1fb9887ea87de11515029d65c7f78873c8396e95
treefbeab954f97cee769b0f63ba7f9a889e5bf35371
parent351ca11b0645ed167b4df0433387d24a59bbe595
python/samba: PY3 ord needs 'str' type not int

string_to_byte_array returns not a bytearray (as the name suggests)
but a list of byte values (int). Some code expects the list so even
using a 'real' bytearray wont work.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/__init__.py
python/samba/tests/auth_log_samlogon.py