Unable to create winsync agreement from Red Hat Directory Server 11 to Active Directory

Solution Verified - Updated -

Issue

  • Creating winsync agreement from RHEL 11 to AD failing with an error below:
"Failed to create winsync agreement - Server is unwilling to perform".
  • Following errors are observed in dirsrv logs /var/log/dirsrv/slapd-<instance>/errors on RHDS 11:
[04/Aug/2022:18:33:52.392965008 -0700] - ERR - NSMMReplicationPlugin - agmt_new_from_entry: failed to initialise windows replicationagreement "agmt="cn=AD_replica_agreement" (rhds11:636)" - replica is not a supplier (may be hub or consumer).
[04/Aug/2022:18:33:52.393599438 -0700] - ERR - NSMMReplicationPlugin - To proceed, you MUST promote this server to a supplier with: dsconf INSTANCENAME replication promote --suffix "dc=example,dc=com" --newrole supplier --replica-id=NEW_REPLICA_ID
  • Winsync is not working in RHDS 11 after patching.

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Directory Server 11 (389-ds-base-1.4.3.29-3)
  • Microsoft Active Directory

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