python/samba: Ensure md5 always provided with bytes
authorNoel Power <noel.power@suse.com>
Fri, 4 May 2018 11:05:27 +0000 (12:05 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 12 May 2018 19:38:16 +0000 (21:38 +0200)
commitee363db5716334d759cc7f9f3ef61e4227f3f3e5
treef1a1d3a3108e9a3e406078c651d8bb387835c399
parenta0cd47fdf8819efb2c72e81cb132e2f1308bd395
python/samba: Ensure md5 always provided with bytes

To allow code run in both python3 and python2 we have to ensure
that md5 always receives bytes

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