Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem: ipa-replica-manage --connect --winsync fails with traceback.
Version-Release number of selected component (if applicable):
ipa-server-4.9.10-4.module+el8.7.0+15926+daa9f08b.x86_64
389-ds-base-1.4.3.30-3.module+el8.7.0+15600+347cafc6.x86_64
389-ds-base-libs-1.4.3.30-3.module+el8.7.0+15600+347cafc6.x86_64
How reproducible:
Always
Steps to Reproduce:
ipa-replica-manage', 'connect', '--winsync', '--binddn', 'cn=Administrator,cn=users,dc=ad-8a12,dc=test', '--bindpw', 'Secret123', '--password', 'Secret123', '--cacert', '/tmp/tmp.fQQ4166v8S', '--passsync', 'dummy', 'root-dc-8a12.ad-8a12.test', '-v'
Actual results:
Traceback (most recent call last):
File "/usr/sbin/ipa-replica-manage", line 1616, in <module>
main(options, args)
File "/usr/sbin/ipa-replica-manage", line 1573, in main
add_link(realm, replica1, replica2, dirman_passwd, options)
File "/usr/sbin/ipa-replica-manage", line 1149, in add_link
options.cacert)
File "/usr/lib/python3.6/site-packages/ipaserver/install/replication.py", line 1352, in setup_winsync_replication
iswinsync=True, win_subtree=ad_subtree)
File "/usr/lib/python3.6/site-packages/ipaserver/install/replication.py", line 889, in setup_agreement
a_conn.add_entry(entry)
File "/usr/lib/python3.6/site-packages/ipapython/ipaldap.py", line 1657, in add_entry
self.conn.add_s(str(entry.dn), list(attrs.items()))
File "/usr/lib64/python3.6/contextlib.py", line 99, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3.6/site-packages/ipapython/ipaldap.py", line 1147, in error_handler
raise errors.DatabaseError(desc=desc, info=info)
ipalib.errors.DatabaseError: Server is unwilling to perform:
Unexpected error: Server is unwilling to perform:
Exit code: 1
stderr: ipa: INFO: AD Suffix is: DC=ad-8a12,DC=test
Expected results:
ipa-replica-manage connect works without any error.
Additional info:
Comment 2Florence Blanc-Renaud
2022-08-01 17:05:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (389-ds:1.4 bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:7552