mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
selftest: Remove unnecessary code for backup testenvs
setup_namespaces() already gets done for the backupfromdc's domain, so this step is unnecessary for the restoredc and offlinebackupdc testenvs (which are based off the backupfromdc's database). The setup_namespaces() step is still necessary for the renamedc/labdc, as these don't have the UPN/SPN suffixes for the new realm yet. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Nov 1 13:06:01 CET 2018 on sn-devel-144
This commit is contained in:
parent
018ff496e4
commit
e2ee595202
@ -2843,11 +2843,6 @@ sub setup_restoredc
|
|||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $upn_array = ["$env->{REALM}.upn"];
|
|
||||||
my $spn_array = ["$env->{REALM}.spn"];
|
|
||||||
|
|
||||||
$self->setup_namespaces($env, $upn_array, $spn_array);
|
|
||||||
|
|
||||||
return $env;
|
return $env;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2939,11 +2934,6 @@ sub setup_offlinebackupdc
|
|||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $upn_array = ["$env->{REALM}.upn"];
|
|
||||||
my $spn_array = ["$env->{REALM}.spn"];
|
|
||||||
|
|
||||||
$self->setup_namespaces($env, $upn_array, $spn_array);
|
|
||||||
|
|
||||||
return $env;
|
return $env;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user