selftest: use ad_dc_ntvfs env instead of ad_dc_default for samba4.ldb.ldaps
authorRalph Boehme <slow@samba.org>
Mon, 25 Nov 2019 13:17:50 +0000 (14:17 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 20 Dec 2019 06:08:40 +0000 (06:08 +0000)
ad_dc_default is currently an alias for ad_dc_ntvfs, so this is currently no
change in behaviour, but this is going to change.

As the ad_dc_ntvfs env specifies "ldap server require strong auth =
allow_sasl_over_tls" and this is needed for the test, we have to let the test
use the ad_dc_ntvfs env explicitly.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/selftest/tests.py

index 43fbf0e5f0f57caf1cab575562df72d2c536e871..132d3aac10279adfa3d3a4c0c4646bdc23e9c7d9 100755 (executable)
@@ -87,7 +87,7 @@ finally:
 have_heimdal_support = ("SAMBA4_USES_HEIMDAL" in config_hash)
 
 for options in ['-U"$USERNAME%$PASSWORD"']:
-    plantestsuite("samba4.ldb.ldaps with options %s(ad_dc_default)" % options, "ad_dc_default",
+    plantestsuite("samba4.ldb.ldaps with options %s(ad_dc_ntvfs)" % options, "ad_dc_ntvfs",
                   "%s/test_ldb.sh ldaps $SERVER_IP %s" % (bbdir, options))
 
 creds_options = [