Hi,
Here's a small patch to support LDAP over IPC, "ldapi://". It's only defined in an expired Internet Draft [1], but works quite well with OpenLDAP.
--- LdapAuthentication.php~ +++ LdapAuthentication.php @@ -159,6 +159,10 @@ $this->printDebug( "Using SSL", SENSITIVE ); $serverpre = "ldaps://"; break; + case "ipc": + $this->printDebug( "Using IPC", SENSITIVE ); + $serverpre = "ldapi://"; + break; default: $this->printDebug( "Using TLS or not using encryption.", SENSITIVE ); $serverpre = "ldap://";
[1] http://opends.dev.java.net/public/standards/draft-chu-ldap-ldapi.txt
Thanks!
Matej