[Samba] Problems with odd characters in filenames on smbmounted Win95 share

Keith G. Murphy keithmur at mindspring.com
Fri Jun 21 09:57:45 GMT 2002

I'm having problems with some Win95 files that have things like 
copyright characters in the filenames.  For example, when I try to copy 
such a file using the name that shows up in the 'ls' listing, I get 
"file not found".  The funky characters get translated to underscores in 
the listing.

Adding 'character set = iso8859-1' to smb.conf does *not* help.

I'm using the smbfs that comes with Linux 2.4.18.  This problem only 
started occurring when I upgraded the kernel from 2.2.19, but I don't 
see any relevant options that could have changed.

I have thought of recompiling the kernel with CONFIG_NLS_ISO8859_1, but 
I have no idea if this will help, especially seeing as how this was not 
set on the previous kernel either.

I'd also love to know how you can tell which codepage the Windows server 
is actually using, if that question makes sense.

Thanks for any ideas.

More information about the samba mailing list