From: Stefan Metzmacher Date: Mon, 19 May 2025 12:56:14 +0000 (+0200) Subject: s3:selftest: run smb2.{bench,connect,credits,ioctl,rw} over quic-ngtcp2 X-Git-Tag: tdb-1.4.14~106 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=09c44603f588a4436d467983f650aee4fd0a71ff;p=thirdparty%2Fsamba.git s3:selftest: run smb2.{bench,connect,credits,ioctl,rw} over quic-ngtcp2 Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Thu Jul 17 10:00:51 UTC 2025 on atb-devel-224 --- diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index 5df48fda3b7..2497211faed 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -109,6 +109,7 @@ with_pthreadpool = ("WITH_PTHREADPOOL" in config_hash) have_cluster_support = "CLUSTER_SUPPORT" in config_hash quic_ko_wrapper = ("QUIC_KO_WRAPPER" in config_hash) +ngtcp2_environ = {'SOCKET_WRAPPER_ALLOW_DGRAM_SEQPACKET_FALLBACK': '1'} def is_module_enabled(module): if module in config_hash["STRING_SHARED_MODULES"]: @@ -1517,6 +1518,20 @@ for t in smb_transport_tests: '--option=tlsverifypeer=ca_and_name ' + '--option=clientsmbtransport:force_bsd_tstream=yes', description="smb-over-quic-ko-tstream") +for t in smb_transport_tests: + if not quic_ko_wrapper: + break + # Here we test the client using quic without + # quic.ko simulation based on ngtcp2 over udp. + # Note the server still uses quic.ko simulation + # so this is also behind the quic_ko_wrapper check. + plansmbtorture4testsuite(t, "fileserver", + '//$SERVER/tmp -U$USERNAME%$PASSWORD ' + + '--option=clientsmbtransports=quic ' + + '--option=tlsverifypeer=no_check ' + + '--option=clientsmbtransport:force_ngtcp2_quic=yes', + description="smb-over-quic-ngtcp2", + environ=ngtcp2_environ) test = 'rpc.lsa.lookupsids' auth_options = ["", "ntlm", "spnego", "spnego,ntlm", "spnego,smb1", "spnego,smb2"]