×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I have a PHP script that is having trouble talking to Active Directory;
from the IBMi. I believe the issue is with the PHP; specifically with
the PHP-ldap extension. I have tested this script on a Linux server
(Nginx/PHP-FPM) and it works fine, but really need it to run on our
IBMi. Below is some information about the script and what I've done to
troubleshoot. It looks like PHP-LDAP is not compiled with PHP, but
unsure and would like to verify. If that's not it, I'm not sure where
to look or what changes to make to get this running.
* Using the adLDAP library; which requires PHP5, PHP LDAP Support
* The PHP script loads the adLDAP library
(
http://adldap.sourceforge.net/); verified by looking at
get_included_files.
* The specific error says it cannot connect to the LDAP server; but
works fine from the Linux Server.
* Looking at the PHPINFO() on the IBMi, I do not see anything relating
to LDAP in the "configure command" section. However, I do see it
loading the ldap.ini in the "Additional .ini files parsed". I also
see in the "Configurations" section, it says LDAP Support is
enabled. The LDAP vendor and version are identical to the Linux Server.
Has anyone connected to LDAP from PHP on i? Guidance is appreciated.
Regards,
JA
As an Amazon Associate we earn from qualifying purchases.