Replication Monitoring Commands are failing with "Invalid credentials"

Solution Verified - Updated -

Issue

Replication monitoring commands are failing with the error message "Invalid credentials" while the credentials are indeed correct.

$ dsconf -D "cn=Directory Manager" ldap://localhost:389 replication status --suffix "dc=example,dc=com"
Enter password for cn=Directory Manager on ldap://localhost:389: 
Error: Unable to get lag time: {'msgtype': 97, 'msgid': 1, 'result': 49, 'desc': 'Invalid credentials', 'ctrls': []}
$

Environment

Red Hat Directory Server 11
Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content