diff --git a/core/src/main/java/hudson/security/LDAPSecurityRealm.java b/core/src/main/java/hudson/security/LDAPSecurityRealm.java index 330253a7c9..c3aeba0ebd 100644 --- a/core/src/main/java/hudson/security/LDAPSecurityRealm.java +++ b/core/src/main/java/hudson/security/LDAPSecurityRealm.java @@ -181,7 +181,7 @@ public class LDAPSecurityRealm extends SecurityRealm { InetAddress adrs = InetAddress.getByName(m.group(1)); int port=389; if(m.group(2)!=null) - port = Integer.parseInt(m.group(2)); + port = Integer.parseInt(m.group(2)); Socket s = new Socket(adrs,port); s.close(); } catch (NumberFormatException x) {