[PATCH] Fix for bug 11522: smbd can't create or open a stream name on the root directory of a share.

Ralph Böhme rb at sernet.de
Thu Sep 17 04:47:28 UTC 2015


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.

-Ralph

-- 
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
http://www.sernet.de,mailto:kontakt@sernet.de



More information about the samba-technical mailing list