1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00
Noel Power 75e1019f61 s4/libnet: Allow passwords containing non ascii characters to be passed
Although we can pass unicode to py_net_change_password unfortunately in
Python2 unicode strings are encoded with the default encoding (e.g. ascii)
 when extracting the unicode string to buffer.
In Python3 the default encoding for "s" format is utf8. Use the "es"
format instead of "s" so we can specify the encoding so behaviour is
correct in py2/py3.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-05-17 11:31:28 +02:00
..
2018-05-15 15:45:08 +02:00
2018-04-03 20:20:10 +02:00
2018-04-24 01:53:19 +02:00
2018-05-16 21:30:22 +02:00
2018-05-12 02:09:26 +02:00
2018-05-12 02:09:27 +02:00
2018-05-10 20:02:23 +02:00
2018-03-20 23:16:15 +01:00