mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
25.05.2006 274fabb7abf13cf76e2b4328cc269115d83d3aef
Fix a bug in the LDAP command line tools in which they don't actually support
SASL EXTERNAL authentication even though they claim to.

OpenDS Issue Number: 715
1 files modified
8 ■■■■ changed files
opends/src/server/org/opends/server/tools/LDAPConnection.java 8 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPConnection.java
@@ -270,7 +270,13 @@
      }
      String result = null;
      if(connectionOptions.getSASLMechanism() != null)
      if (connectionOptions.useSASLExternal())
      {
        result = handler.doSASLExternal(new ASN1OctetString(bindDN),
                                        connectionOptions.getSASLProperties(),
                                        requestControls, responseControls);
      }
      else if (connectionOptions.getSASLMechanism() != null)
      {
            result = handler.doSASLBind(new ASN1OctetString(bindDN), bindPW,
            connectionOptions.getSASLMechanism(),