Extension talk:LDAP Authentication/Configuration Options

Custom LDAP configuration options ($wgLDAPOptions)
After getting the two messages for onle one option set: 1.2e Can't set option to LDAP! Option code and value: 0=4 1.2e Can't set option to LDAP! Option code and value: 1=120 I realised that $wgLDAPOptiosn is an array and the option is read via constant, so the exmample should read and so it worked for me ---Venia 08:08, 26 May 2011 (UTC)

P.S. Nevertheless it worked like charm on Windows Server 2008 R2 using IIS 7.5

Multiple domains that will be using auto authentication ($wgLDAPAutoAuthDomain)
Dealing with different AD directory servers for the domains using REMOTE_USER. Please watch the three backslashes and define your domains lowercase. ---Venia 09:06, 26 May 2011 (UTC)

Option on single domain systems for no domain menu
It would be nice to be able to turn off the domain menu on login if you only have one domain to select from.--Pashdown (talk) 18:02, 3 December 2012 (UTC)

Can the Special:ChangePassword be disabled?
Because my LDAP is read-only to the wiki, I'd like to be able to remove the Special:ChangePassword page. Is there a way to do this with an option to the extension?

OpenLDAP & Ubuntu 12.04 LTS
On OpenLDAP this will always fail with message "Failed to bind". This won't work. Evar.

Config Equivalency Between This LDAP ext and the Apache Auth Provider "ldap"
I just thought I would show an equivalent configuration for this extension that matches the same ldap configuration we use in apache httpd.

I've replaced sensitive info with substitutions

The apache config:

The MW Ldap authentication extensions config:

Cheers, Kyle 142.166.3.43 11:41, 4 April 2013 (UTC)

Does not work on mediawiki 1.22.0 installed on a Xampp 3.x Server
The require_once does not work on mediawiki 1.22.0

Warning: require_once(D:\xampp\htdocs\wiki/extensions/LdapAuthentication/LdapAuthentication.php): failed to open stream: No such file or directory in D:\xampp\htdocs\wiki\LocalSettings.php on line 18

I checked the directory and the extension is still located in D:\xampp\htdocs\wiki\extensions/LdapAuthentication/LdapAuthentication.php On line 18, I get this :

require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" );

Slashes are replaced by backslashes... I don't understand why... If I replace by slashes or backslashes it's still the same problem

Sebfun (talk) 10:31, 4 February 2014 (UTC)