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

simo idra at samba.org
Fri Mar 9 19:52:00 GMT 2007


On Fri, 2007-03-09 at 11:42 -0800, Jeremy Allison wrote:
> On Fri, Mar 09, 2007 at 02:33:27PM -0500, simo wrote:
> > 
> > Think about a samba server with home directories of this kind (very
> > possible if you use winbindd):
> > 
> > /home/DOMAIN1\user1
> > /home/DOMAIN1\user2
> > /home/DOMAIN2\userX1
> > /home/DOMAIN2\userX2
> 
> That's why the winbindd defaults are : /home/%D/%U :-).

I hope that is /home/%D/%u (upper case U would be a disaster :-)

Anyway not all people use defaults so I think it is possible to find
'\\' in path names, maybe we can escape it somehow?

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the linux-cifs-client mailing list