From 9df3ed7e12f740c65cf81f819293d8c1bfbd6f9f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 23 Feb 2020 12:42:03 +0100 Subject: [PATCH] selftest: We don't need an AD DC for libsmbclient tests In case we would start to actually test kerberos auth via the libsmbclient API (which we right now don't), this will change again. Until then, make test TESTS=libsmbclient is a lot faster this way. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source4/selftest/tests.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index ab2c4f69da0..59251d95433 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -376,7 +376,11 @@ for t in libsmbclient: libsmbclient_testargs = ["--option=torture:smburl=" + url, "--option=torture:replace_smbconf=%s/testdata/samba3/smb_new.conf" % srcdir(), "--option=torture:clientprotocol=%s" % proto] - plansmbtorture4testsuite(t, "ad_dc", ['//$SERVER/tmp', '-U$USERNAME%$PASSWORD'] + libsmbclient_testargs, "samba4.%s.%s" % (t, proto)) + plansmbtorture4testsuite( + t, + "nt4_dc", + ['//$SERVER/tmp', '-U$USERNAME%$PASSWORD'] + libsmbclient_testargs, + "samba4.%s.%s" % (t, proto)) plansmbtorture4testsuite("raw.qfileinfo.ipc", "ad_dc_ntvfs", '//$SERVER/ipc\$ -U$USERNAME%$PASSWORD') -- 2.47.2