Enabling replication on supplier node using 'dsconf replication enable' command on RHDS 11 fails with an ERROR "Server is unwilling to perform - Attribute nsDS5ReplicaId value (65535) is invalid, must be a number between 1 and 65534."

Solution Verified - Updated -

Issue

  • On RHDS 11 supplier system, dsconf replication enable command fails with an error below:
# dsconf -D "cn=Directory Manager" ldap://server1.example.com replication  enable --suffix="dc=example,dc=com" --role="master"  --replica-id=1
Enter password for cn=Directory Manager on ldap://server1.example.com: 

Error: Server is unwilling to perform - Attribute nsDS5ReplicaId value (65535) is invalid, must be a number between 1 and 65534. 

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Directory Server 11
  • 389-ds (389-ds-base-1.4.3.21-3.module+el8dsrv+10401+3d549418.x86_64, 389-ds-base-libs-1.4.3.21-3.module+el8dsrv+10401+3d549418.x86_64, python3-lib389-1.4.3.21-3.module+el8dsrv+10401+3d549418.noarch)

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