Last modified: 2012-08-23 06:06:05 UTC
Version : 2.0a By default the plugin is not converting the user names entered into lower case. But by default this should happen as per line 406 Line 406 : case 'LowerCaseUsernameScheme': global $wgLDAPLowerCaseUsernameScheme; // Default set to true for backwards compatibility with // versions < 2.0a return self::setOrDefault( $wgLDAPLowerCaseUsernameScheme, $domain, true ); Reason of this not happening is where ever this configuration is used it is used as 'LowercaseUsernameScheme' not as 'LowerCaseUsernameScheme' Line 950 : if ( $this->getConf( 'LowercaseUsernameScheme' ) ) { $username = strtolower( $username ); } Line 1160 : if ( $this->getConf( 'LowercaseUsernameScheme' ) ) { $canonicalname = strtolower( $canonicalname ); } Due to this case mismatch in the code duplicate users are getting created when the AD users enter their user names in different cases.
This was fixed in ce74a3c767600d63ae71f5f8726458bbda5540f5 at Sun Apr 22 14:15:18 2012 -0700. It's been fixed for a while. Please use the master version.