python/samba: PY3 port for samba.tests.samba_tool.user_wdigest test
authorNoel Power <noel.power@suse.com>
Sat, 11 Aug 2018 13:02:25 +0000 (14:02 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 3 Sep 2018 01:22:22 +0000 (03:22 +0200)
commit638476f86d4f8072de186eac562c176bacef68ef
treefdad6cf3e36efc3aa34232bd66f5a186da3d1dec
parent210b950c81d252c0af0fb82cb9241fad0ead5280
python/samba: PY3 port for samba.tests.samba_tool.user_wdigest test

In addition to the attributes that caused some issues specifically
with the test some other ldb.bytes objects (those seen to be
used as strings) have been adjusted (with str()) to ensure they should
work correct in PY3.

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