broken smbtorture lease cases

Jeremy Allison jra at samba.org
Wed Mar 11 15:36:43 MDT 2015


On Wed, Mar 11, 2015 at 03:51:29PM -0500, Steve French wrote:
> Looks like various smbtorture lease test cases are broken too against
> 4.2 (not just the Microsoft ones with the directory rename bug and
> three trivial return code problems that I have posted fixes for
> earlier).  A different three failed to Windows 8.1 (multibreak, lock1
> and v2_epoch2).
> 
> I simply ran:
> /usr/local/samba-4.2/bin/smbtorture  //localhost/scratch smb2.lease
> 
> Pretty minimal smb.conf so unlikely to be that (and even fails when
> kernel sharemodes/sharemode locking are disabled on share - whether
> off or on):
> 
>    ea support = yes
>    store dos attributes = yes
>    strict allocate = yes
>    delete readonly = yes
>    smb2 leases = yes
> 
> In addition to the two failing, 3 are skipped as expected -
> dynamic_share (and v2_request and v2_request_parent require directory
> leases so they are skipped) but the following are not skipped and
> presumably are supportable.
> 
> test: request
> time: 2015-03-10 04:12:52.548165
> time: 2015-03-10 04:12:52.561230
> failure: request [
> ../source4/torture/smb2/lease.c:170: Incorrect status
> NT_STATUS_OBJECT_NAME_NOT_FOUND - should be NT_STATUS_OK

This is due to you not having the correct VFS
modules loaded. I told you to look in the test
case code :-).


More information about the samba-technical mailing list