3 Feb 2008 00:57
LdapAuthentication: LDAP over IPC
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 <at> <at> -159,6 +159,10 <at> <at> $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
RSS Feed