summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-05-16 16:46:41 +0100
committerNoel Power <npower@samba.org>2018-05-17 11:31:28 +0200
commit75e1019f6162814eae3edb050d41784179cfa8ab (patch)
tree6c851663fd3626d1720841dfa07f9fb8ad8fcc33 /.gitlab-ci.yml
parenta8d8c6ec439fb64ce33dc2406bb38792050ca3a1 (diff)
downloadsamba-75e1019f6162814eae3edb050d41784179cfa8ab.tar.gz
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>
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions