From 2608d236ae12b3b2b207706f93ab77125e77353a Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Wed, 25 Feb 2009 16:23:12 +0000
Subject: [PATCH] Fix for issue #3826 (ldapsearch doesn't prompt bind password when the option -w is not provided) The behavior modification was introduced in rev #4956 in the following method: org.opends.server.tools.LDAPConnection.connectToHost()
---
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java b/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java
index 3d24229..a9c64c8 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java
@@ -283,7 +283,7 @@
throws ClientException, LDAPException
{
// See if we need to prompt the user for the password.
- if ( (bindPassword == null) || (bindPassword.length() == 0 ))
+ if (bindPassword == null)
{
if (bindDN == null)
{
--
Gitblit v1.10.0