9.9. Creating a trust agent
A trust agent is an IdM server that can perform identity lookups against AD domain controllers.
For example, if you are creating a replica of an IdM server that has a trust with Active Directory, you can set up the replica as a trust agent. A replica does not automatically have the AD trust agent role installed.
Prerequisites
- IdM is installed with an Active Directory trust.
-
The
sssd-toolspackage is installed.
Procedure
On an existing trust controller, run the
ipa-adtrust-install --add-agentscommand:[root@existing_trust_controller]# ipa-adtrust-install --add-agentsThe command starts an interactive configuration session and prompts you for the information required to set up the agent.
Restart the IdM service on the trust agent.
[root@new_trust_agent]# ipactl restartRemove all entries from the SSSD cache on the trust agent:
[root@new_trust_agent]# sssctl cache-removeVerify that the replica has the AD trust agent role installed:.
[root@existing_trust_controller]# ipa server-show new_replica.idm.example.com ... Enabled server roles: CA server, NTP server, AD trust agent