Commas in DFS pathname
scott.lovenberg at gmail.com
Thu Oct 3 15:35:18 MDT 2013
On Thu, Oct 3, 2013 at 5:25 PM, Jeremy Allison <jra at samba.org> wrote:
> On Thu, Oct 03, 2013 at 09:59:21PM +0100, Hafeez Bana wrote:
>> Hi Guys,
>> We're noticing that an msdfs link containing a comma doesn't work e.g.
>> "msdfs:servername\some dir with - funny,little, chars"
>> I know the comma is used to seperate two msdfs links for load balancing as
>> per http://www.samba.org/samba/docs/using_samba/ch08.html
>> Does anyone know of a workaround given commas are a valid character in CIF
>> directory names?
> No - we need new code to fix this. The normal way
> of dealing with such things is to define an escape
> character such as '\' which must prefix a separator
> character to enable it to be ignored. We'd then need
> to change the link reading code to follow that
> convention. It's not too hard to do I think.
'\' is a POSIX compliant file name character, no? Would we just
double escape it for the parsing logic?
Peace and Blessings,
More information about the samba-technical