Hello, I tried the migration from samba 3 to a sernet-samba-ad-4.1.9-8. My samba 3 has tdbsam backend, and "Full Name" (pdbedit -Lv) contains umlauts. If I run /usr/bin/samba-tool domain classicupgrade, I will see error: "Conversion error: Incomplete multibyte sequence" I had in my old smb.conf: display charset = iso8859-2 dos charset = cp852 unix charset = iso8859-2 In i18n: LANG="cs_CZ" SUPPORTED="cs_CZ:cs:en_US:en" SYSFONT="lat2-sun16" SYSFONTACM="iso02" I am thinking probable cause is encode file passdb.tdb Could you please solution to this? Thank you, Honza
Jeremy Allison
2014-Jul-07 19:58 UTC
[Samba] Conversion error: Incomplete multibyte sequence
On Mon, Jul 07, 2014 at 09:29:42PM +0200, KONFERENCE wrote:> Hello, > > I tried the migration from samba 3 to a sernet-samba-ad-4.1.9-8. > My samba 3 has tdbsam backend, and "Full Name" (pdbedit -Lv) contains umlauts. > > If I run /usr/bin/samba-tool domain classicupgrade, I will see error: > "Conversion error: Incomplete multibyte sequence" > > I had in my old smb.conf: > display charset = iso8859-2 > dos charset = cp852 > unix charset = iso8859-2 > > In i18n: > LANG="cs_CZ" > SUPPORTED="cs_CZ:cs:en_US:en" > SYSFONT="lat2-sun16" > SYSFONTACM="iso02" > > > I am thinking probable cause is encode file passdb.tdb > > Could you please solution to this?I would suggest moving to utf8 as your unix charset. That should be able to cope with any character encoded in iso8859-2.