Now that we can specify domain per node, take out check that would reject a valid config

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-03-28 18:50:30 +00:00
parent e9441739a0
commit d7987c5e46

View File

@ -317,7 +317,7 @@ sub windows_account_data {
}
}
unless ($::XCATSITEVALS{directoryprovider} eq "activedirectory" and $::XCATSITEVALS{domain}) {
unless ($::XCATSITEVALS{directoryprovider} eq "activedirectory") {
return $useraccountxml;
}
my $domain;
@ -380,7 +380,7 @@ sub windows_dns_cfg {
#-Provide domain administrator credentials, avoiding the SSL scenario. This is by default forbidden as it is high risk for exposing sensitive credentials.
# Also populate MachineObjectOU
sub windows_join_data {
unless ($::XCATSITEVALS{directoryprovider} eq "activedirectory" and $::XCATSITEVALS{domain}) {
unless ($::XCATSITEVALS{directoryprovider} eq "activedirectory") {
return "";
}
#we are still here, meaning configuration has a domain and activedirectory set, probably want to join..