mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
selftest: Run ad_dc and vampire_dc with --backend-store=mdb
This ensures the LMDB backend is tested in make test Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
parent
39b7f1bcf0
commit
1118fc3b26
@ -1403,6 +1403,7 @@ sub provision_vampire_dc($$$)
|
||||
$cmd .= "$samba_tool domain join $ret->{CONFIGURATION} $dcvars->{REALM} DC --realm=$dcvars->{REALM}";
|
||||
$cmd .= " -U$dcvars->{DC_USERNAME}\%$dcvars->{DC_PASSWORD} --domain-critical-only";
|
||||
$cmd .= " --machinepass=machine$ret->{PASSWORD} --use-ntvfs";
|
||||
$cmd .= " --backend-store=mdb";
|
||||
|
||||
unless (system($cmd) == 0) {
|
||||
warn("Join failed\n$cmd");
|
||||
@ -1937,6 +1938,8 @@ sub provision_ad_dc($$$$$$)
|
||||
copy = print1
|
||||
";
|
||||
|
||||
my $extra_provision_options = undef;
|
||||
push (@{$extra_provision_options}, "--backend-store=mdb");
|
||||
print "PROVISIONING AD DC...\n";
|
||||
my $ret = $self->provision($prefix,
|
||||
"domain controller",
|
||||
@ -1949,7 +1952,7 @@ sub provision_ad_dc($$$$$$)
|
||||
undef,
|
||||
$extra_smbconf_options,
|
||||
$extra_smbconf_shares,
|
||||
undef);
|
||||
$extra_provision_options);
|
||||
unless (defined $ret) {
|
||||
return undef;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user