Commas in DFS pathname

Richard Sharpe realrichardsharpe at gmail.com
Thu Oct 3 16:01:10 MDT 2013


On Thu, Oct 3, 2013 at 2: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.

True. Entering it will be interesting.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list