Bug 13435 - samba-tool can't set passwords with non-ASCII chars
Summary: samba-tool can't set passwords with non-ASCII chars
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.8.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-12 20:09 UTC by Björn Jacke
Modified: 2018-05-31 14:52 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2018-05-12 20:09:26 UTC
samba-tool can't set passwords with non-ASCII chars:

# locale charmap
UTF-8
# samba-tool user setpassword bjacke --newpassword=Täst123
ERROR: Failed to set password for user 'bjacke': 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Comment 3 Noel Power 2018-05-31 14:52:19 UTC
fixed in master as per comment above