-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:
parent
6498f08699
commit
02f9cbedee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user