-Fix environment variable setup for openldap utilities

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-05-19 12:54:29 +00:00
parent 6498f08699
commit 02f9cbedee

View File

@ -23,8 +23,8 @@ sub handled_commands {
}
sub process_request {
$ENV{LDAPRC}='/etc/xcat/ad.ldaprc';
$ENV{HOME}='';
$ENV{LDAPRC}='ad.ldaprc'; #after examining openldap source, this is the best way to get their libraries to source /etc/xcat/ad.ldaprc
$ENV{HOME}='/etc/xcat';
my $request = shift;
my $command = $request->{command}->[0];
$callback = shift;