1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

selftest: set tls crlfile if it exist

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
Stefan Metzmacher 2016-01-09 21:21:25 +01:00
parent c321a59f26
commit b2c0f71db0

View File

@ -516,6 +516,8 @@ sub provision_raw_step1($$)
}
Samba::prepare_keyblobs($ctx);
my $crlfile = "$ctx->{tlsdir}/crl.pem";
$crlfile = "" unless -e ${crlfile};
print CONFFILE "
[global]
@ -535,6 +537,7 @@ sub provision_raw_step1($$)
winbind separator = /
interfaces = $ctx->{interfaces}
tls dh params file = $ctx->{tlsdir}/dhparms.pem
tls crlfile = ${crlfile}
panic action = $RealBin/gdb_backtrace \%d
wins support = yes
server role = $ctx->{server_role}