[Samba] charset issue

Mi mi.lists at alma.ch
Mon Jul 11 13:33:04 GMT 2005



> When i restart smbd/nmbd, all the files inside all shares change their 
> names.
> All the files are affected specially accent portuguese brazilian 
> files. File names become a mess in whole samba server.

You probably have a character set mis-match between Samba, Unix and/or 
the clients?

I use iso-8859-1 on Linux, and have "unix charset = ISO8859-1" in 
smb.conf. You may also need to define "dos charset = ..." in smb.conf, 
but maybe not.

If you use UTF8 on the Linux side, you need "unix charset = UTF8" in 
smb.conf.

If you mount smb shares with "mount -t smbfs ..." you may also need to 
specify charset options (iocharset= and codepage=).



More information about the samba mailing list