How to connect FileMaker, PHP and LDAPS

 In FileMaker
appica-filemaker-php-and-ldaps

Having trouble connecting your FileMaker-installed PHP to an LDAPS service? A problem lies in PHP’s OpenLDAP settings and is common to many versions of PHP. By default, PHP’s LDAPS is configured to only accept certificates with an exact match for the server’s name. If the LDAPS server uses a certificate with a * in its name then PHP’s LDAPS will not connect. Changing this setting can only be done by adding a config file onto your server’s C drive. For some reason the file path for the configuration file is hard-coded.

To disable certificate verification in LDAPS, and therefore accept the use of a certificate with a *, the following file must be created:

C:\openldap\sysconf\ldap.conf

This file must contain the following text:

TLS_REQCERT never

Once you have added this file, restart IIS and LDAPS should work with any certificate.

If you have any questions or queries feel free to contact us

Recommended Posts

Leave a Comment

linux-webserver-and-a-filemaker-serverfilemaker-server-unc-paths-as-backup-locations-thumbnail