smbtorture base.createx_sharemodes_file

Jeremy Allison jra at
Fri Jan 8 20:31:29 UTC 2016

On Fri, Jan 08, 2016 at 11:29:51AM -0800, Herb Lewis wrote:
> I am confused as to what base.createx_sharemodes_file is supposed to
> be testing. I thought it would test for conflicts between two
> different opens
> but when I do a wireshark trace of the test, I see it close the first open
> before attempting the second open. Am I missing something here or is
> the test incorrect?

Looks like a bug in that when CXD_TEST_CREATEX_SHAREMODE is selected
the first file shouldn't be closed before opening the second.

Patch welcome :-).

More information about the samba-technical mailing list