Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-13650] Revert "[JENKINS-12607] canonicalize the name."
This reverts commit 8b4c00a.
  • Loading branch information
kohsuke committed May 8, 2012
1 parent 2b5d3bf commit 15a8a87
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -268,11 +268,6 @@ public UserDetails retrieveUser(String username, String password, String domainN
if (dn==null)
throw new AuthenticationServiceException("No distinguished name for "+username);

// Canonicalize the uesr name. AD user names are case insensitive, so you can login to Administrator as ADMINISTRATOR
String canonicalId = (String)user.get("cn").get();
if (canonicalId!=null) // shouldn't happen but let's be defensive
id = canonicalId;

if (bindName!=null && password!=NO_AUTHENTICATION) {
// if we've used the credential specifically for the bind, we
// need to verify the provided password to do authentication
Expand Down

0 comments on commit 15a8a87

Please sign in to comment.