Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-3231

dsreplication status uses wrong bind DN


    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0, 3.5.0
    • Fix Version/s: 4.0.0
    • Component/s: tools
    • Support Ticket IDs:


      To reproduce:

      1) Install two 3.5.0 servers with replication
      2) Make sure the global admin password is different to the Directory Manager password
      3) Attempt to use dsreplication status


      dsreplication status will attempt to bind with Directory Manager instead of the admin user. This fails and the command gives up. It does not seem possible to run the command successfully. Using the Directory Manager password still fails, as it will attempt to then bind as the admin user.

      Changing the passwords so they match can be used as a workaround.

      [root@opendj2 bin]# ./dsreplication status
      >>>> Specify OpenDJ LDAP connection parameters
      Directory server hostname or IP address [opendj2.example.com]: 
      Directory server administration port number [14444]: 
      Global Administrator User ID [admin]: 
      Password for user 'admin': 
      The provided credentials are not valid in server opendj2.example.com:14444.
      Details: [LDAP: error code 49 - Invalid Credentials]
      [21/Jul/2016:21:59:47 +0100] CONNECT conn=11 from= to= protocol=LDAPS
      [21/Jul/2016:21:59:47 +0100] BIND REQ conn=11 op=0 msgID=1 version=3 type=SIMPLE dn="cn=Directory Manager"
      [21/Jul/2016:21:59:47 +0100] BIND RES conn=11 op=0 msgID=1 result=49 authFailureReason="The password provided by the user did not match any password(s) stored in the user's entry" authDN="cn=Directory Manager" etime=1
      [21/Jul/2016:21:59:47 +0100] DISCONNECT conn=11 reason="Client Disconnect"


          Issue Links



              • Assignee:
                cjr Chris Ridd
                ian.packer Ian Packer [X] (Inactive)
                QA Assignee:
                Ondrej Fuchsik
              • Votes:
                0 Vote for this issue
                6 Start watching this issue


                • Created: