Bug 2136444 - repl-winsync-agmt create regression in 1.4.3.29-3
Summary: repl-winsync-agmt create regression in 1.4.3.29-3
Keywords:
Status: CLOSED DUPLICATE of bug 2094139
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: 389-ds-base
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: LDAP Maintainers
QA Contact: LDAP QA Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-20 10:04 UTC by Anton Bobrov
Modified: 2023-07-04 17:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-20 12:13:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-137157 0 None None None 2022-10-20 12:24:06 UTC

Description Anton Bobrov 2022-10-20 10:04:40 UTC
Description of problem:

The 1.4.3.29-3 has a regression where it is impossible to create a winsync replication agreement as it fails with:

Error: 105 - 5 - 53 - Server is unwilling to perform - []

and in the errors log:

ERR - NSMMReplicationPlugin - agmt_new_from_entry: failed to initialise windows replicationagreement "agmt="cn=WinsyncToMSAD" (msad:389)" - replica is not a supplier (may be hub or consumer).

The instance is configured as supplier and the changelog is enabled.

This problem is neither present in 1.4.3.28-7 nor the upstream so this is a regression introduced somewhere between 1.4.3.28-7 and 1.4.3.29-3.


Version-Release number of selected component (if applicable):

1.4.3.29-3


How reproducible:

always


Steps to Reproduce:

1. update to 1.4.3.29-3

2. dscreate an instance

3. enable replication

4. dsconf -D "cn=Directory Manager" ldap://localhost:1389 repl-winsync-agmt  create --suffix="dc=test" --host="msad.example389.com" --port=389 --conn-protocol="LDAP" --bind-dn="cn=Administrator,cn=Users,DC=EXAMPLE389,DC=COM" --bind-passwd="password" --win-subtree="CN=Users,DC=EXAMPLE389,DC=COM" --ds-subtree="dc=test" --win-domain="EXAMPLE389.COM" --init WinsyncToMSAD

Actual results:

Error: 105 - 5 - 53 - Server is unwilling to perform - []


Expected results:

Winsync replication agreement creation should succeed.


Additional info:

My guess is that some repl init code has either been shuffled or broken in this case as agmt_new_from_entry() conditions for nsDSWindowsReplicationAgreement check fail for no apparent reason tho i did not have time to debug it.

Comment 1 mreynolds 2022-10-20 12:13:16 UTC
Duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2094139  Will be fixed in all upcoming RHEL and RHDS releases

*** This bug has been marked as a duplicate of bug 2094139 ***


Note You need to log in before you can comment on or make changes to this bug.