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

Jeremy Allison jra at samba.org
Sun Mar 11 01:31:30 GMT 2007


On Sun, Mar 11, 2007 at 12:14:48AM +0100, Stefan (metze) Metzmacher wrote:
> 
> can't we out that logic into the client, so when the client
> get the redirect from a server with unix extentions then
> it converts the redirect url when he talks to a server without
> unix extentions support.

Yes, that's exactly what I'm coding up right now.
Wait for the check-in :-).

> This way the communication over a connection with unix extentions
> would be consistent.
> 
> And the client needs to have some logic anyway as
> \server\share/unix/path isn't valid for connecting to a server without
> unix extentions.

I'm planning to make it \server\share\path/to/unix/file,
but the server code will also accept /server/share/path/to/unix/file
on the principle of be liberal in what you accept.

Jeremy.


More information about the linux-cifs-client mailing list