1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

selftest:Samba4: run the raw_protocol test with a limit of 8 auth contexts

This is much faster than exploring the limit of 2049 during autobuild.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Stefan Metzmacher 2018-12-14 13:51:27 +01:00 committed by Jeremy Allison
parent 7bc6ec81c8
commit ea0a704177
2 changed files with 4 additions and 1 deletions

View File

@ -2052,6 +2052,7 @@ sub provision_chgdcpass($$)
my $extra_smb_conf = "
check password script = sed -e '/$unacceptable_password/{;q1}; /$unacceptable_password/!{q0}'
allow dcerpc auth level connect:lsarpc = yes
dcesrv:max auth states = 8
";
my $extra_provision_options = ["--use-ntvfs"];
push (@{$extra_provision_options}, "--dns-backend=BIND9_DLZ");

View File

@ -703,7 +703,9 @@ planoldpythontestsuite(
planoldpythontestsuite("ad_dc_ntvfs", "samba.tests.dcerpc.dnsserver", extra_args=['-U"$USERNAME%$PASSWORD"'], py3_compatible=True)
planoldpythontestsuite("ad_dc", "samba.tests.dcerpc.dnsserver", extra_args=['-U"$USERNAME%$PASSWORD"'], py3_compatible=True)
planoldpythontestsuite("chgdcpass", "samba.tests.dcerpc.raw_protocol", extra_args=['-U"$USERNAME%$PASSWORD"'], py3_compatible=True)
planoldpythontestsuite("chgdcpass", "samba.tests.dcerpc.raw_protocol", py3_compatible=True,
environ={'MAX_NUM_AUTH': '8'})
if have_heimdal_support:
planoldpythontestsuite("ad_dc:local", "samba.tests.auth_log", extra_args=['-U"$USERNAME%$PASSWORD"'],
environ={'CLIENT_IP': '127.0.0.11',