Does anyone know if there is a configuration somewhere on the iSeries that needs to be configured for PHP-LDAP to work? I have a PHP script that talks to LDAP. I can get this script to run on a Linux/PHP 5.4/NginX box, but when I copy it to the iSeries/PHP5.5/Zend, I start getting errors in the PHP log.
#From php.log
PHP Warning: ldap_bind(): Unable to bind to server: Can't contact LDAP server in /www/zendsvr6/htdocs/utilities/pru/auto.php on line 66.
#PHP Line 66
$result = ldap_bind($ldap_conn,$binddn,$password) or die("Error: Couldn't bind to server. -$ldap_conn-$binddn");
I'm really not sure how to go about troubleshooting this further, since I can get the same code working on another box. There doesn't appear to be any changes between 5.4 and 5.5 regarding LDAP. Reaching out to see if any others have experienced this.
JA
#From php.log
PHP Warning: ldap_bind(): Unable to bind to server: Can't contact LDAP server in /www/zendsvr6/htdocs/utilities/pru/auto.php on line 66.
#PHP Line 66
$result = ldap_bind($ldap_conn,$binddn,$password) or die("Error: Couldn't bind to server. -$ldap_conn-$binddn");
I'm really not sure how to go about troubleshooting this further, since I can get the same code working on another box. There doesn't appear to be any changes between 5.4 and 5.5 regarding LDAP. Reaching out to see if any others have experienced this.
JA
Comment