Commas in DFS pathname

Jeremy Allison jra at samba.org
Thu Oct 3 15:25:09 MDT 2013


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.

Jeremy.


More information about the samba-technical mailing list