Merge branch 'stable-2.10'
* stable-2.10: Update 2.10 release notes Fix faulty behaviour in BLOCK permission Let RefControlTest be responsible for creating own test projects Resource exhausted because of unclosed LDAP connection Conflicts: gerrit-server/src/test/java/com/google/gerrit/server/project/Util.java Change-Id: I5e8a98365ce583cbd62c9289e49af8d5c1e755b1
This commit is contained in:
@@ -89,7 +89,7 @@ public class LdapAuthBackend implements AuthBackend {
|
||||
// We found the user account, but we need to verify
|
||||
// the password matches it before we can continue.
|
||||
//
|
||||
helper.authenticate(m.getDN(), req.getPassword());
|
||||
helper.authenticate(m.getDN(), req.getPassword()).close();
|
||||
}
|
||||
return new AuthUser(new AuthUser.UUID(username), username);
|
||||
} finally {
|
||||
|
@@ -221,7 +221,7 @@ public class LdapRealm extends AbstractRealm {
|
||||
// We found the user account, but we need to verify
|
||||
// the password matches it before we can continue.
|
||||
//
|
||||
helper.authenticate(m.getDN(), who.getPassword());
|
||||
helper.authenticate(m.getDN(), who.getPassword()).close();
|
||||
}
|
||||
|
||||
who.setDisplayName(apply(schema.accountFullName, m));
|
||||
|
Reference in New Issue
Block a user