[Samba] Password change via samba-tool: encoding issue
sergio.rizzi at labs.it
Wed Mar 26 04:02:18 MDT 2014
On 24/03/14 17:09, Sergio Rizzi wrote:
> On 24/03/2014 17:00, Chan Min Wai wrote:
>> Just to ask
>> Care to try
>> samba-tool user setpassword foo
>> and type the password in command line?
>> Your "�" seem to be not supported... as password
> Using keyboard input seems to work.
> How to fix using --newpassword ?
Maybe using expect?
>> On 20/03/2014 15:13, Sergio Rizzi wrote:
>> root at samba4dc:~# samba-tool user setpassword "foo"
>> ERROR: Failed to set password for user 'foo': 'utf8' codec can't
>> byte 0xa8 in position 1: invalid start byte
>> line 586, in run
>> line 476, in setpassword
>> pw = unicode('"' + password + '"',
More information about the samba