On 20/03/2014 15:13, Sergio Rizzi wrote:> root at samba4dc:~# samba-tool user setpassword "foo"
--newpassword="?"
> ERROR: Failed to set password for user 'foo': 'utf8' codec
can't decode
> byte 0xa8 in position 1: invalid start byte
> File
>
"/usr/local/samba-4.1.6/lib/python2.7/site-packages/samba/netcmd/user.py",
> line 586, in run
> username=username)
> File
>
"/usr/local/samba-4.1.6/lib/python2.7/site-packages/samba/samdb.py",
> line 476, in setpassword
> pw = unicode('"' + password + '"',
'utf-8').encode('utf-16-le')
>
> How to fix it?
Any hint?