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. Regards, Chris
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@samba.org> Senior Software Engineer at Red Hat Inc. <ssorce@redhat.com>
On Thu, 25 Oct 2007 16:31:56 +0200 Chris Osicki <osk@admin.swisscom-mobile.ch> 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. > > Regards, > Chris > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >Replying to my own stupid question. Samba cannot do anything else, what it does is correct. Sorry for the noise. Regards, Chris