Unable to create winsync agreement from Red Hat Directory Server 11 to Active Directory
Issue
- Creating
winsyncagreement 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
dirsrvlogs/var/log/dirsrv/slapd-<instance>/errorson 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.