Lister
Okay, it could be REGEX issues now that you shared that information. Do you possibly know how to make changes to plugins? If so try changing the auth-ldap/config.php
file and changing:
if (preg_match('/([^:]+):(\d{1,4})/', $host, $matches))
$servers[] = array('host' => $matches[1], 'port' => (int) $matches[2]);
to
if (preg_match('/((ldaps:\/\/)?[^:]+):(\d{1,4})/', $host, $matches))
$servers[] = array('host' => $matches[1], 'port' => (int) $matches[3]);
Once you do that save and retest.
If you don't know how:
- You can un-phar the plugin with:
php -r '$phar = new Phar("/path/to/include/plugins/auth-ldap.phar"); $phar->extractTo("/path/to/include/plugins/auth-ldap");'
- Login to the database
- Open the
ost_plugin
table
- Change
isphar
to 0
for the auth-ldap plugin
- Change the
install_path
from auth-ldap.phar
to auth-ldap
(basically, just remove the .phar
part)
- Now you can manually make changes to the plugin files
Cheers.