Hi, 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. 1) Has anyone seen this kind of samba server behavior? 2) Im using samba 3.0.4, is there a recognized bug? , if i change to latest version will this issue be solved? Any suggestions are highly appreciated, thanks. Cheers, Juliano Krieger
> 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=).
Juliano, If you were running Samba 2.x and now you restart on a version 3.x, that's the normal behaviour. All file names on the server are supposed to be coded in UTF-8. If you read the documentation you'll find that you have to: - install convmv-1.07 (from http://j3e.de/linux/convmv/) (untar somewhere, fix Makefile, make) FIX (in my situation, it was on Solaris 2.6): diff Makefile.orig Makefile 11c11 < install -m 755 convmv $(DESTDIR)$(PREFIX)/bin/ --- > install -m 755 -c $(DESTDIR)$(PREFIX)/bin/convmv - run it (man on http://j3e.de/linux/convmv/man/) HTH, Pierre PS: Read the docs, there is maybe another way to do it nowadays. On 11 Jul 2005 at 10:00, juliano wrote:> Hi, > > 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. > > 1) Has anyone seen this kind of samba server behavior? > 2) Im using samba 3.0.4, is there a recognized bug? , if i change to > latest version will this issue be solved? > > Any suggestions are highly appreciated, thanks. > > Cheers, > Juliano Krieger > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > >
Mi wrote:> > >> 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.Hi, Clients are default Windows XP keyborad type ABNT2, I suppose using unicode UTF8? There is an charset mis-match below? Between Samba 3.0.4 and Linux RH 9.0? Please, which values do you recommends for Portugues Brazil? smb.conf unix charset = LOCALE display charset = UTF-8 dos charset = UTF-8 i18n LANG="en_US.UTF-8" SUPPORTED="en_US.UTF-8:en_US:en" SYSFONT="lat1-16" Cheers, Juliano Krieger.