[linux-cifs-client] RE: Longnames (was problems with cifs)

Naidu Bollineni naidu at kazeon.com
Fri May 6 07:42:42 GMT 2005


Unfortunately with widechar formats having 0xF000 in them, it is really
hard to have a mixed environment like NFS+CIFS.

With or without mapchars, if the name came from NFS having these
illegal/special characters, server is sending mangled names to CIFS
client.

With mapchars+CIFS I create a file with special characters, but NFSv3
can't deal with widechars.

So, if I don't have NFS access, theoretically isn't there any other way
to see real names from CIFS client?

Naidu Bollineni
Senior Member Technical Staff
Kazeon Systems
naidu at kazeon.com
www.kazeon.com

> -----Original Message-----
> From: Jeremy Allison [mailto:jra at samba.org]
> Sent: Friday, May 06, 2005 12:22 AM
> To: Steve French
> Cc: Naidu Bollineni; linux-cifs-client at lists.samba.org
> Subject: Re: [linux-cifs-client] RE: Longnames (was problems with
cifs)
> 
> On Thu, May 05, 2005 at 07:11:51PM -0500, Steve French wrote:
> > On Thu, 2005-05-05 at 13:12, Naidu Bollineni wrote:
> > > The filenames do have <, > characters in them.
> > > With mapping the illegal characters (by ORing 0xFF00 to the
> character),
> > > is it possible for server to return the true name at all, if the
> client
> > > says it can handle such things?
> >
> > Yes. If the "mapchars" mount option is used, the reserved characters
> > (except slash) will be mapped going to/from the server, allowing you
to
> > create files with such characters in the filename and see them in
ls,
> > stat etc.
> 
> Ok, based on feedback gathered over here at SambaXP I'm
> going to fix the parsing algorithms for 3.0.XX (where XX > 14a)
> so that "mapchars" isn't needed - we'll allow the "illegal" characters
> from a CIFSFS client.
> 
> Jeremy.


More information about the linux-cifs-client mailing list