diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2017-12-15 07:27:10 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-12-18 00:10:17 +0100 |
commit | 957bf8cec4ba598bcb27169d9e1400f3ad520a31 (patch) | |
tree | f249ea97ccca5c4ef4301b033f8a7e03754d06e3 /selftest/target | |
parent | d120d7fe848aff42b2a01ee33ff9f02faaf3541d (diff) | |
download | samba-957bf8cec4ba598bcb27169d9e1400f3ad520a31.tar.gz |
selftest fl2000dc provision with --plaintext-secrets
Provision fl2000dc provision with --plaintext-secrets to test that the
--plaintext-secrets option functions correctly.
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest/target')
-rwxr-xr-x | selftest/target/Samba4.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 68feb6b4673..e2e78abd0bb 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -1506,6 +1506,12 @@ sub provision_fl2000dc($$) spnego:simulate_w2k=yes ntlmssp_server:force_old_spnego=yes "; + my $extra_provision_options = undef; + # This environment uses plain text secrets + # i.e. secret attributes are not encrypted on disk. + # This allows testing of the --plaintext-secrets option for + # provision + push (@{$extra_provision_options}, "--plaintext-secrets"); my $ret = $self->provision($prefix, "domain controller", "dc5", @@ -1517,7 +1523,7 @@ sub provision_fl2000dc($$) undef, $extra_conf_options, "", - undef); + $extra_provision_options); unless ($ret) { return undef; } |