[Samba] Question: backslash in file name

Chris Osicki osk at admin.swisscom-mobile.ch
Fri Oct 26 07:41:33 GMT 2007


On Thu, 25 Oct 2007 10:55:37 -0400
simo <idra at samba.org> wrote:

> 
> 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>
> 

Thanks Simo

That's a good idea, I'll have a look at it.

Regards,
Chris


More information about the samba mailing list