A small problem between Samba 3.5.8+ and libceph, the user-space Ceph client

Jeremy Allison jra at samba.org
Tue Jul 12 09:40:47 MDT 2011


On Tue, Jun 28, 2011 at 09:02:04AM -0700, Richard Sharpe wrote:
> Hi folks,
> 
> libceph does not like paths that look like .//some-file.txt.
> Specifically, the // causes problems.
> 
> I have tracked down what in Samba is doing that, and it is here. The
> asprintf is inserting a slash without regard for whether there will be
> one, two or three there afterwards.

Just to ensure I fix this in the right place - did you
do something like:

type .\\some-file.txt

on a Windows client to reproduce ? How did you get this
pathname from client to server ? I guess I need a good
reproducible test case.

Cheers,

Jeremy.


More information about the samba-technical mailing list