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.
Bug 2211723 - add ad_integration_force_rejoin
Summary: add ad_integration_force_rejoin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.9
Assignee: Rich Megginson
QA Contact: Jakub Vavra
David Voženílek
URL:
Whiteboard: role:ad_integration
Depends On: 2186253
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-01 16:55 UTC by Rich Megginson
Modified: 2023-11-21 16:32 UTC (History)
3 users (show)

Fixed In Version: rhel-system-roles-1.22.0-0.10.el8
Doc Type: Enhancement
Doc Text:
.The `ad_integration` RHEL System Role can now rejoin an AD domain With this update, you can now use the `ad_integration` RHEL System Role to rejoin an Active Directory (AD) domain. To do this, set the `ad_integration_force_rejoin` variable to `true`. If the `realm_list` output shows that host is already in an AD domain, it will leave the existing domain before rejoining it.
Clone Of: 2186253
Environment:
Last Closed: 2023-11-14 15:31:19 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles ad_integration pull 29 0 None Merged Add 'ad_integration_force_rejoin' role variable 2023-06-01 16:58:24 UTC
Github linux-system-roles ad_integration pull 41 0 None Merged tests: Add a test for force rejoin option 2023-06-01 16:58:24 UTC
Red Hat Issue Tracker RHELPLAN-158822 0 None None None 2023-06-01 16:56:31 UTC
Red Hat Product Errata RHEA-2023:6946 0 None None None 2023-11-14 15:31:36 UTC

Description Rich Megginson 2023-06-01 16:55:11 UTC
+++ This bug was initially created as a clone of Bug #2186253 +++

Add ability to force ad_integration role to rejoin AD domain.  See https://github.com/linux-system-roles/ad_integration/pull/29

--- Additional comment from Rich Megginson on 2023-04-12 14:45:23 UTC ---

Initial implementation done in https://github.com/linux-system-roles/ad_integration/pull/29
Assigning to jvavra to add tests.

--- Additional comment from Rich Megginson on 2023-05-23 21:05:45 UTC ---

@jvavra any update on adding upstream tests for this?

Comment 8 errata-xmlrpc 2023-11-14 15:31:19 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 (rhel-system-roles 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/RHEA-2023:6946


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