[PATCH] Fix ancient race condition in our mkdir code.

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Sep 23 20:05:33 UTC 2015


On Tue, Sep 22, 2015 at 06:16:03PM -0700, Jeremy Allison wrote:
> Found by Max @ LoadDynamix.
> 
> Contains regression test that always
> hits the race :-).
> 
> Please review !

Fails with

[1340(7756)/1872 at 1h32m44s] samba4.smb2.create(ad_dc_ntvfs)
Testing SMB2 Create Directory with multiple connections
waiting for replies
UNEXPECTED(failure): samba4.smb2.create.mkdir-dup(ad_dc_ntvfs)
REASON: Exception: Exception: ../source4/torture/smb2/create.c:1628: File 0 returned status NT_STATUS_OBJECT_NAME_COLLISION

We need to put this into the ntvfs knownfail list.

Volker

-- 
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 at sernet.de



More information about the samba-technical mailing list