× 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.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.