Patch: Let smbtorture run when EAs are not supported

Gordon Ross gordon.w.ross at gmail.com
Wed Oct 2 15:24:31 UTC 2019


I forgot (and Volker reminded me) that I needed to use NT_STATUS_EQUAL
in that status check.  I did that in a later commit but forgot about
that when I extracted this change from other work.  Attached is a new
patch.  This one passes gitlab.
Volker reviewed and did some testing.  (Thanks!)


On Tue, Sep 24, 2019 at 12:11 PM Gordon Ross <gordon.w.ross at gmail.com> wrote:
>
> Some servers (and some file system types) choose not to implement OS/2
> style EAs.  As one example, the server I work on supports named
> streams but does not support EAs.  I gather some file system types
> (even on Windows) also don't support EAs.  Many smbtorture tests that
> have little to do with EAs refuse to run only because
> smb2_create_complex fails if EAs are not supported.
> Attached is a patch to make that failure non-fatal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-noea.patch
Type: application/octet-stream
Size: 1026 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20191002/1f580cf3/samba-noea.obj>


More information about the samba-technical mailing list