Skip to content

Commit c1e5283

Browse files
author
Vladimir Kotal
committed
connecting once is enough
fixes #3382
1 parent a11b766 commit c1e5283

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugins/src/main/java/opengrok/auth/plugin/ldap/LdapServer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ private synchronized LdapContext connect() {
268268

269269
try {
270270
ctx = new InitialLdapContext(env, null);
271-
ctx.reconnect(null);
272271
ctx.setRequestControls(null);
273272
LOGGER.log(Level.INFO, "Connected to LDAP server {0}", this.toString());
274273
errorTimestamp = 0;

0 commit comments

Comments
 (0)