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 :
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"