From: Noel Power Date: Wed, 11 Dec 2019 18:35:10 +0000 (+0000) Subject: s3/selftest: Move samba3.unix.whoami* tests to ad_dc_smb1 X-Git-Tag: ldb-2.2.0~1079 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f152ae85eafc33301e39d355a554b072beeed65;p=thirdparty%2Fsamba.git s3/selftest: Move samba3.unix.whoami* tests to ad_dc_smb1 The following tests which fail in environments that dont support SMB1 have been moved to ad_dc_smb1 samba3.unix.whoami samba3.unix.whoami kerberos connection samba3.unix.whoami anonymous connection samba3.unix.whoami ntlm user@realm Signed-off-by: Noel Power Reviewed-by: Ralph Boehme --- diff --git a/selftest/knownfail b/selftest/knownfail index bac3ac62b2d..ff867e21e69 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -59,7 +59,7 @@ ^samba3.raw.acls nfs4acl_xattr-nfs-41.nulldacl\(nt4_dc\) ^samba3.base.delete.deltest16a ^samba3.base.delete.deltest17a -^samba3.unix.whoami anonymous connection.whoami\(ad_dc\) # We need to resolve if we should be including SID_NT_WORLD and SID_NT_NETWORK in this token +^samba3.unix.whoami anonymous connection.whoami\(ad_dc_smb1\) # We need to resolve if we should be including SID_NT_WORLD and SID_NT_NETWORK in this token # these show that we still have some differences between our system # with our internal iconv because it passes except when we bypass our # internal iconv modules diff --git a/selftest/skip_smb1_fails b/selftest/skip_smb1_fails index 224253594cd..0215716b10d 100644 --- a/selftest/skip_smb1_fails +++ b/selftest/skip_smb1_fails @@ -165,17 +165,14 @@ ^samba3.smbtorture_s3.vfs_aio_pthread\(simpleserver\).RW1\(simpleserver\) ^samba3.smbtorture_s3.vfs_aio_pthread\(simpleserver\).RW2\(simpleserver\) ^samba3.smbtorture_s3.vfs_aio_pthread\(simpleserver\).RW3\(simpleserver\) -^samba3.unix.whoami\(ad_dc\) ^samba3.unix.whoami\(ad_member\) ^samba3.unix.whoami anonymous connection\(ad_member\) ^samba3.unix.whoami anonymous connection\(nt4_dc\) ^samba3.unix.whoami anonymous connection\(nt4_member\) -^samba3.unix.whoami kerberos connection\(ad_dc\) ^samba3.unix.whoami kerberos connection\(ad_member\) ^samba3.unix.whoami machine account\(ad_member:local\) ^samba3.unix.whoami\(nt4_dc\) ^samba3.unix.whoami\(nt4_member\) -^samba3.unix.whoami ntlm user@realm\(ad_dc\) ^samba3.unix.whoami ntlm user@realm\(ad_member\) ^samba4.blackbox.chgdcpass\(chgdcpass\) ^samba4.blackbox.kinit_trust\(fl2003dc:local\) diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index 042463b2ea2..afcf96e453a 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -572,7 +572,7 @@ for t in tests: for env in ["nt4_dc", "nt4_member"]: plansmbtorture4testsuite(t, env, '//$SERVER/tmp -U$DC_USERNAME%$DC_PASSWORD') plansmbtorture4testsuite(t, env, '//$SERVER/tmpguest -U%', description='anonymous connection') - for env in ["ad_dc", "ad_member"]: + for env in ["ad_dc_smb1", "ad_member"]: plansmbtorture4testsuite(t, env, '//$SERVER/tmp -U$DC_USERNAME@$REALM%$DC_PASSWORD --option=torture:addc=$DC_SERVER') plansmbtorture4testsuite(t, env, '//$SERVER/tmp -k yes -U$DC_USERNAME@$REALM%$DC_PASSWORD --option=torture:addc=$DC_SERVER', description='kerberos connection') plansmbtorture4testsuite(t, env, '//$SERVER/tmpguest -U% --option=torture:addc=$DC_SERVER', description='anonymous connection')