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

dsreplication status uses wrong bind DN

    Details

    • Support Ticket IDs:
    • Sprint:
      DJ Sustaining Sprint 32

      Description

      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

      Result:

      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=192.168.56.4:58564 to=192.168.56.4:14444 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"
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: