Questo contenuto non è disponibile nella lingua selezionata.
Chapter 104. Verifying your IdM and AD trust configuration using IdM Healthcheck
Learn more about identifying issues with a trust between Identity Management (IdM) and Active Directory (AD) by using the Healthcheck tool.
Prerequisites
- The Healthcheck tool is only available on RHEL 8.1 or newer
104.1. IdM and AD trust Healthcheck tests Copia collegamentoCollegamento copiato negli appunti!
The Healthcheck tool includes several tests for testing the status of the trust between Identity Management (IdM) and Active Directory (AD).
To see all trust tests, run ipa-healthcheck with the --list-sources option:
ipa-healthcheck --list-sources
# ipa-healthcheck --list-sources
You can find all trust-related tests under the ipahealthcheck.ipa.trust source:
- IPATrustAgentCheck
-
This test checks the SSSD configuration if the current host is configured as a trust agent. For each domain in
/etc/sssd/sssd.confwhereid_provider=ipaensure thatipa_server_modeisTrue. - IPATrustDomainsCheck
-
This test checks if the trust domains match SSSD domains by comparing the list of domains in
sssctl domain-listwith the list of domains fromipa trust-findexcluding the IdM domain. - IPATrustCatalogCheck
This test resolves an AD user,
Administrator@REALM. This populates the AD Global catalog and AD Domain Controller values insssctl domain-statusoutput.For each trust domain look up the user with the ID of the SID + 500, that is the administrator ID, and then check the output of
sssctl domain-status <domain> --active-serverto ensure that the domain is active.- IPAsidgenpluginCheck
-
This test verifies that the
sidgenplugin is enabled in the IdM 389-ds instance. The test also verifies that theIPA SIDGENandipa-sidgen-taskplugins incn=plugins,cn=configinclude thensslapd-pluginEnabledoption. - IPATrustAgentMemberCheck
-
This test verifies that the current host is a member of
cn=adtrust agents,cn=sysaccounts,cn=etc,SUFFIX. - IPATrustControllerPrincipalCheck
-
This test verifies that the current host is a member of
cn=adtrust agents,cn=sysaccounts,cn=etc,SUFFIX. - IPATrustControllerServiceCheck
- This test verifies that the current host starts the ADTRUST service in ipactl.
- IPATrustControllerConfCheck
-
This test verifies that
ldapiis enabled for the passdb backend in the output ofnet conflist. - IPATrustControllerGroupSIDCheck
-
This test verifies that the
adminsgroup’s SID ends with 512, which is the Domain Admins' RID. - IPATrustPackageCheck
-
This test verifies that the
trust-adpackage is installed if the trust controller and AD trust are not enabled.
104.2. Screening the trust with the Healthcheck tool Copia collegamentoCollegamento copiato negli appunti!
Follow this procedure to run a standalone manual test of an Identity Management (IdM) and Active Directory (AD) trust health check using the Healthcheck tool.
Procedure
Enter:
ipa-healthcheck --source=ipahealthcheck.ipa.trust --failures-only
# ipa-healthcheck --source=ipahealthcheck.ipa.trust --failures-onlyCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
The
--source=ipahealthcheck.ipa.trustoption ensures that IdM Healthcheck only performs the trust tests.
-
The
Successful test displays empty brackets:
ipa-healthcheck --source=ipahealthcheck.ipa.trust
# ipa-healthcheck --source=ipahealthcheck.ipa.trust
[]
Run these tests on all IdM servers when trying to find an issue.