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

dugan
02.51.2009 99fe23a6ad64503108e1097ef7eedb77c589a441
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPModify.java
@@ -972,7 +972,9 @@
    String bindDNValue = bindDN.getValue();
    String fileNameValue = filename.getValue();
    String bindPasswordValue = bindPassword.getValue();
    if(bindPasswordValue != null && bindPasswordValue.equals("-"))
    if(bindPasswordValue != null && bindPasswordValue.equals("-")  ||
        (!bindPasswordFile.isPresent()  &&
        (bindDNValue != null && bindPasswordValue == null)))
    {
      // read the password from the stdin.
      try