failing tests in the testsuite on debian

Jeremy Allison jra at
Tue Nov 15 21:28:41 UTC 2022

On Tue, Nov 15, 2022 at 12:33:31PM -0800, Jeremy Allison via samba-technical wrote:
>>^samba4.rpc.echo\ against\ rpc\ proxy\ with\ domain\ creds\(rpc_proxy\)
>>I found no way to exclude certain tests (but the previous email from Ralph
>>gives some clues).  None of the above tests seems to have reasons for failure.
>>I'm pasting the output from the failing tests below.
>>[35(230)/370 at 58s] samba3.smb2.session enc(nt4_dc)
>>UNEXPECTED(failure): samba3.smb2.session enc.reauth1(nt4_dc)
>>REASON: Exception: Exception: ../../source4/torture/smb2/session.c:247: (&io1)->out.file_attr was 128 (0x80), expected 32 (0x20): out.file_attr incorrect
>>UNEXPECTED(failure): samba3.smb2.session enc.reauth2(nt4_dc)
>>REASON: Exception: Exception: ../../source4/torture/smb2/session.c:323: (&io1)->out.file_attr was 128 (0x80), expected 32 (0x20): out.file_attr incorrect
>>...(many of them)...
>>expecting the newly created files to have "a" attribute but
>>apparently there's none. Just a thought here - maybe it has
>>something to do with this user being unable to create extended
>>attributes, or maybe tmpfs (where I run the whole thing) does
>>not support it.
>Yes, the DOS attributes are stored in an EA.
>Tests that create EA's should be run against a share
>using vfs objects including vfs_xattr_tdb so they
>don't depend on the underlying filesystem for EA
>I see the bug. The definition of [tmpenc]
>vfs objects = dirsort
>It should be:
>vfs objects = dirsort xattr_tdb
>as you're running it against a filesystem
>(tmpfs) that doesn't support EAs.

Try this patch. Let me know if it fixes it and
I'll try it in a ci-build.

diff --git a/selftest/target/ b/selftest/target/
index 4db74e4d86e..a23329c1a40 100755
--- a/selftest/target/
+++ b/selftest/target/
@@ -2917,7 +2917,7 @@ sub provision($$)
         path = $shrdir
         comment = encrypt smb username is [%U]
         server smb encrypt = required
-       vfs objects = dirsort
+       vfs objects = dirsort xattr_tdb
         path = $shrdir
          guest ok = yes

More information about the samba-technical mailing list