https://bugzilla.wikimedia.org/show_bug.cgi?id=39576
Web browser: --- Bug #: 39576 Summary: Default User canonical lower casing not working Product: MediaWiki extensions Version: master Platform: All OS/Version: All Status: UNCONFIRMED Severity: major Priority: Unprioritized Component: LdapAuthentication AssignedTo: rlan...@gmail.com ReportedBy: upload2...@hotmail.com CC: wikibugs-l@lists.wikimedia.org Classification: Unclassified Mobile Platform: --- 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. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l