From 5bc4218bf8716d28339a3f30d1be8471d04cb4b4 Mon Sep 17 00:00:00 2001 From: François Cami Date: Dec 12 2019 16:42:22 +0000 Subject: adtrust.py: mention restarting sssd when adding trust agents After adding a replica to AD trust agent, the warning message does not mention that restarting sssd is mantatory for the trust agent to work. Fix the string. Fixes: https://pagure.io/freeipa/issue/8148 Signed-off-by: François Cami Reviewed-By: Alexander Bokovoy Reviewed-By: Alexander Bokovoy Reviewed-By: Florence Blanc-Renaud --- diff --git a/ipaserver/install/adtrust.py b/ipaserver/install/adtrust.py index f4496ad..abc9f71 100644 --- a/ipaserver/install/adtrust.py +++ b/ipaserver/install/adtrust.py @@ -342,8 +342,9 @@ def add_new_adtrust_agents(api, options): add_hosts_to_adtrust_agents(api, new_agents) print(""" -WARNING: you MUST restart (e.g. ipactl restart) the following IPA masters in -order to activate them to serve information about users from trusted forests: +WARNING: you MUST restart (both "ipactl restart" and "systemctl restart sssd") +the following IPA masters in order to activate them to serve information about +users from trusted forests: """) for x in new_agents: print(x)