Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php |
— | — | @@ -154,6 +154,12 @@ |
155 | 155 | |
156 | 156 | //Set the server string depending on whether we use ssl or not |
157 | 157 | switch( $encryptionType ) { |
| 158 | + case "ldapi": |
| 159 | + # this is a really dirty place to put this, |
| 160 | + # but it is easy and avoids another config option. |
| 161 | + $this->printDebug( "Using ldapi", SENSITIVE ); |
| 162 | + $serverpre = "ldapi://"; |
| 163 | + break; |
158 | 164 | case "ssl": |
159 | 165 | $this->printDebug( "Using SSL", SENSITIVE ); |
160 | 166 | $serverpre = "ldaps://"; |