[PATCH] Fix for bug 11522: smbd can't create or open a stream name on the root directory of a share.
rb at sernet.de
Thu Sep 17 12:06:26 UTC 2015
On Thu, Sep 17, 2015 at 06:47:28AM +0200, Ralph Böhme wrote:
> On Wed, Sep 16, 2015 at 04:20:09PM -0700, Jeremy Allison wrote:
> > An interesting log from an OEM lead me to look
> > into what happens when a client tries to create
> > a file named :streamname (no path, just stream :-).
> > On Windows this creates :streamname on the top
> > level directory of the share. For Samba, we
> > return NT_STATUS_OBJECT_NAME_NOT_FOUND :-(.
> > Fix attached (OK the first patch is a code
> > cleanup I noticed along the way). Includes
> > a regression test which we now pass !
> > Review + push appreciated.
> rb by me & will push.
autobuild keeps failing in
[306(1259)/1872 at 28m49s] samba3.base.dir2(nt4_dc)
Using seed 1442476151
Creating 1000 files
num_seen = 2002
num_seen = 1002
num_seen = 1001
(../source4/torture/basic/dir.c:148) entry count mismatch, should be 1000, was 1001
A local make test works ok though.
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
More information about the samba-technical