-Apply env variable fixes from activedirectory.pm plugin to Template

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-05-19 21:03:40 +00:00
parent 1e833c00a2
commit 59186e86c3

View File

@ -100,7 +100,8 @@ sub subvars {
}
sub machinepassword {
my $domaintab = xCAT::Table->new('domain');
$ENV{LDAPCONF}='/etc/xcat/ad.ldaprc';
$ENV{HOME}='/etc/xcat';
$ENV{LDAPRC}='ad.ldaprc';
my $ou;
if ($domaintab) {
my $ouent = $domaintab->getNodeAttribs('node','ou');