Samba and files with special characters

Kernels & Hardware, configuring network, installing services

Samba and files with special characters

Postby papaavola » 2017-03-29 16:38

Hello,

I have Debian Jessie and Samba 4.1.14-Debian installed.

I was configured Samba and we can access it's shares from our Windows 7 workstations.
We have big trouble with file names and folder names that contains letters with umlauts (like ÄÖÅ )
For some reason Samba hides those files and folders when we try acces those via share.
I can access files normally using ftp/sftp or directly from console but not via Samba.

Servers uses UTF-8 character set and windows should use CP850.
Those character sets are defaults for Samba, if I understand correctly.

I was try add following lines to global section in smb.conf:
unix charset=UTF-8
dos charset=CP850
mangled names=off
Also I try turn mangled names = on to see what happens but nothing happens... (is this deprecated?)

It looks like that character conversion is not working.
If I write to share from windows, creating file that have letters with umlauts in its name, it works fine from windows but looks funny when looked from console or via ftp (No character conversion from CP850 ->UTF-8).
If I upload file with same name through ftp, I cannot access it through Samba share, but it is ok when looked it from console or via FTP (No character conversion from UTF-8 -> CP850).

Does anyone have solution or any tips what else I can try?

Thank you for advance.
papaavola
 
Posts: 1
Joined: 2017-03-29 15:49

Return to System configuration

Who is online

Users browsing this forum: lkraemer and 7 guests

fashionable