[cifs-protocol] Re: [linux-cifs-client] POSIX pathnames and the '\' character.

Jeremy Allison jra at samba.org
Sat Mar 10 20:36:17 GMT 2007


On Sat, Mar 10, 2007 at 08:40:12PM +0100, Stefan (metze) Metzmacher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Jeremy Allison schrieb:
> > which is incorrect. Now that's easy to fix, but
> > the problem is when the client is in unix extensions
> > posix pathname mode and accesses a DFS share which
> > needs to reply with a redirect of :
> > 
> > "\server\share\home/userluser/eLItE\haXor/"
> 
> why not /sever/share/home/userluser/eLItE\haXor/ ?

I thought of this, hmmmm. I originally thought
this would be difficult to tell from an ordinary
pathname, but you always get the DFS flag bit
set on that name....

This would work for the incoming pathname, but
outgoing redirect paths still must be canonicalized
to \server\share\path as we don't have any info
about the server we're redirecting to.

Jeremy.


More information about the linux-cifs-client mailing list