[Samba] Trouble with charsets on samba4
abartlet at samba.org
Thu Dec 19 10:28:46 MST 2013
On Thu, 2013-12-19 at 17:08 +0100, Nicola Tiling wrote:
> I have much trouble with german umlauts.
> I've installed samba4 as a DC in an existing Windows Domain. The first join I made with a blank smb4.conf
> "samba-tool domain join DOMAIN DC -UAdministrator%Passwort --realm=DOMAIN.LOCAL --server=windows-dc.domain.local --use-ntvfs"
> It works fine and everything is synced.
> On the share we have directories and files with german umlauts. They are not shown if I don't set "unix charset = ISO8859-15" in the smb4.conf.
> But with this setting domain members with umlauts in there name (not the login but the first or last name) can't login! They are not found. Also wbinfo -g don't show the default domain user group which is named "domänen-benutzer" in german.
> So I have the choice users can't login or directories and files are not seen if one of them have a umlaut in its name...
> Any help would be great.
> P.S. Another problem with the installation in a german enviroment was the name of the site. samba4 requires the english default site "Default-First-Site-Name" - but on a german domain the default is called "Standardname-des-ersten-Standortes". One have to create the site "Default-First-Site-Name" manually before samba4 can join a german domain.
As an AD DC, we require the filesystem to be in UTF8, and that unix
charset = UTF8. This is not documented.
Use a tool like convmv to fix the filesystem names.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba