(bug 49003) Fixed password change for lowercase username

Mediawiki munges the username. When using lowercase usernames the
username provided should be converted back to lowercase before
comparing it with the username retrieved from LDAP or else it will
always fail.

Change-Id: Ic034502d2a87c32541872d01b7d7b5e9ccb2e101
Localisation updates from http://translatewiki.net.

Change-Id: Ic77761d7ca8dad8fea211d2df1a7cdf3352d87cd
Prevent searching for AD groups for non AD LDAP

Searching non AD LDAP domains for AD groups will result in many entries
in the error.log. A new setting has been added to make it easier to
differentiate between AD and posix LDAP. Default is AD to make sure
currently functionality is not changed and ensure save upgrade.

Example usage:
$wgLDAPActiveDirectory = array(
    'testADLDAPDomain' => true, 'testPosixLDAPDomain' => false
);

Change-Id: Id7eb016a3c105fa9e08592f876bd5a8726416b68
Merge "(bug 49003) Fixed password change for lowercase username"
Fix undefined offset error for AD group searches

Change-Id: I4fe2d9d73ae288c3268be2b8a56676f8efe5f101
getCanonicalName fixes and single domain stability

getCanonicalName will do an LDAP lookup for a username to munge
it to another value, to optimize this the lookup is memcached. The
caching was also improperly caching lookups for IP addresses (anon
users) which caused odd behavior.

Additionally, multiple-domain support causes a number of bugs, even
when only a single domain is used. To make the extension more
stable for single domain users, it now sets the domain
automatically if there is only a single domain set.

Change-Id: I2c6c354c84d4ab644bffc3214de5b3ee6e3fae2b
Merge "getCanonicalName fixes and single domain stability"
Remove redundant LowerCaseUsernameScheme global

There were two redundant globals that did the same thing, requiring
both to be set.

Change-Id: Iba50e473532d477020a119ecb1aaece4bdf3253a
Minor code cleanup

Change-Id: Id425b316617c38c19f2d10d23d41814a71215a60
Add postgres support

postgres schema supplied by Machado

Change-Id: Ibc2457d223fd9b6c53af97671b7f5150c639a08e
Mark getUserDN as it's used from OpenStackManager

Change-Id: Id4e32206db638e602098ef83b2e89e941291faee
Use $wgRedactedFunctionArguments for sensitive data

Change-Id: I21326be80d02e1b5711d4fd2cae2a7c2373277fc
fixes getDomain() for UseLocal = true;

getDomain() didn't return 'local' if there was only one DomainName defined.

Change-Id: I0613c117735c26cbfc7fadc2962db93fc5c1883b
Localisation updates from https://translatewiki.net.

Change-Id: I4b5a59e61361f0a6dc1c159032c7b5d4951e5a1e
Localisation updates from https://translatewiki.net.

Change-Id: I66a057c127351460cf4d50ae70f6132c20537064
Add COPYING

Change-Id: I49130c29b88b4345f596d2933a375a633678aef4
Localisation updates from https://translatewiki.net.

Change-Id: Id239d1c820e794791181dcca55c83d669a2b8a82
Localisation updates from https://translatewiki.net.

Change-Id: I6d1479d9f27749bc611007619c2ebb2ca821f28d
Merge "Add COPYING"
Migrate to JSON i18n

Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: Ie063c2a639220aa0f5dba827a1ee76329acf3c99