I'm trying to extract values from an LDAP server. I've a very basic script to grab these using the following:
*** START ***
my $ldapconn = Net::LDAP->new($ldap{host},port => $ldap{port},version => $ldap{version}) or die "LDAP error: $@\n";
my $ldapbind = $ldapconn->bind($ldap{admin},password...
Have a script using Net::SSH::Perl that connects to remote machines and executes commands. Running the script via a shell as user apache returns as expected. When trying to run the script from a web browser (running as user apache) the script fails at the the line $session->login($user, $pass)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.