[Samba] Illegal Characters in filename

Sean Dizazzo SDizazzo at ascentmedia.com
Fri Sep 14 21:05:27 GMT 2007


Hi all,

We are sharing directories from Windows 2003 server to, among other
things, Mac computers.  Most of the time the windows shares work
perfectly.  However we are running into a problem with users entering
odd characters into file names on the Mac clients.

The Mac clients see these files/folders perfectly fine, as samba on
the Mac allows for these odd characters.  However, if someone tries to
access one of these files on a  windows client, the operation errors
out.  The errors range from "not sufficient permissions" to "the file
doesn't exist"

For internal use, we can yell at the offenders to have them stop
adding odd characters to the names.  This will work somewhat.  But
some of these files and folders are created by external clients that
are much harder to yell at.

Is there any way to either use the mac samba client to limit the
allowed characters, or to somehow force a filename change when an
illegal character is entered?  For example, replacing the odd
character with an underscore?  Any solid way to solve this problem?

Any help you can offer would be greatly appreciated.

~Sean DiZazzo


More information about the samba mailing list