[Samba] Question: backslash in file name

simo idra at samba.org
Thu Oct 25 14:55:37 GMT 2007


On Thu, 2007-10-25 at 16:31 +0200, Chris Osicki wrote:
> Hi
> 
> I have a applikation (Oracle DB) which writes files with a backslash in names, i.e:
> 
> Log\GEN_INPUT_BASED_2899.csv
> 
> not a problem for Unix but Samba present it to Windows users as:
> 
> L2CYOP~L.CSV
> 
> Is there any way _in Samba_ to strip this 'Log\' and give back to user the GEN_INPUT_BASED_2899.csv part.
> 
> Tha appliance (EMC Celerra) I've just migrated data from, was magicaly doing this.
> 
> Thanks for your time and any hint.

You could create (or ask someone to do it) a VFS module to mangle these
file names before they are passed internally to Samba, and change them
again when samba uses them.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Senior Software Engineer at Red Hat Inc. <ssorce at redhat.com>



More information about the samba mailing list