python/samba: use an explicit .encode('utf-8') where we expect utf8 passwords
authorStefan Metzmacher <metze@samba.org>
Mon, 13 Feb 2017 21:34:06 +0000 (22:34 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 21 Feb 2017 15:09:22 +0000 (16:09 +0100)
commitb86c29b1e6fb2fb4cf203aa38c7764084d855730
treef079ab0f34d50fb9a1b5991297a8614069a79921
parent99b8d6beccf4d3d24f9d87a4d8e5eadfe0e0dd33
python/samba: use an explicit .encode('utf-8') where we expect utf8 passwords

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12262

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
python/samba/join.py
python/samba/netcmd/user.py
python/samba/provision/__init__.py
python/samba/provision/sambadns.py
python/samba/samdb.py