Package: samba Version: 4.9.5+dfsg-5+deb10u1 Hello.
We have a problem with samba-tool after upgrade to up-to-date Deb10. It is not possible to create user with non-ascii characters by samba-tool: samba-tool user create Někdo abc123ABC ERROR(<type 'exceptions.UnicodeDecodeError'>): Failed to add user 'Někdo': - 'ascii' codec can't decode byte 0xc4 in position 9: ordinal not in range(128) File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 425, in run smartcard_required=smartcard_required) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 490, in newuser force_password_change_at_next_login_req) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 606, in setpassword """ % (user_dn, base64.b64encode(pw).decode('utf-8')) locale: LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= Problem is not with username only, but with givenname or surname too. I found this upstream ticket, probably same issue: https://bugzilla.samba.org/show_bug.cgi?id=14118 Another links: https://bugzilla.samba.org/show_bug.cgi?id=13616 http://samba.2283325.n4.nabble.com/Failed-to-add-user-with-samba-tool-with-ascii-decode-error-tt4716997.html Regards, J.K.