[linux-cifs-client] remapping illegal file characters

Jeremy Allison jra at samba.org
Sun Apr 3 04:35:45 GMT 2005


On Sat, Apr 02, 2005 at 10:30:23PM -0600, Steve French wrote:
> Samba probably ought to be doing the same kind of remapping (as Windows 
> does in SFU) so that  NFS users and local users can see the same file 
> names as the remote users.
> 
> A test patch for the cifs client (remaps the illegal characters, except 
> for '*' (which is hard because it is needed for readdir - and can not be 
> globally mapped).  This patch allows you to create, view, list, stat, 
> remove etc. files with six of the seven key filename characters (legal 
> to Linux/Unix, illegal to Windows).
>    :  < > | ? \
> 
> This allows recognizing/using remotely files created by SFU on Windows 
> servers as well.

Ok, just a quick question - so you want Samba file servers to detect
these unicode private space remappings on filename input for the Linux
CIFS client and map them to the correct filename characters, and then
on returing any filenames in info levels/findfirst/next map them to
the unicode private space ?

Correct ?

Jeremy.


More information about the samba-technical mailing list