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

kenneth_suter
05.44.2007 f53bba8367c579bdd75586df0ef9237aa166eafb
Expanded the number or arguments that indicate that a remote operation is to be performed from just -h (host) to also include -p (port) and -D (bind DN)
1 files modified
5 ■■■■ changed files
opends/src/server/org/opends/server/util/args/LDAPConnectionArgumentParser.java 5 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/util/args/LDAPConnectionArgumentParser.java
@@ -169,10 +169,7 @@
   *         false otherwise
   */
  public boolean isLdapOperation() {
    // This may not be ideal in all cases.  We might want to assume no
    // host means 'localhost'.  However we would still need some way to
    // tell whether the user intends this invocation to be remote.
    return host.isPresent();
    return host.isPresent() || port.isPresent() || bindDN.isPresent();
  }
  /**