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 <fcami@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
François Cami
2019-12-11 14:22:38 -05:00
parent d30dd52920
commit d5dad53e70

View File

@@ -343,8 +343,9 @@ def add_new_adtrust_agents(api, options):
add_hosts_to_adtrust_agents(api, new_agents) add_hosts_to_adtrust_agents(api, new_agents)
print(""" print("""
WARNING: you MUST restart (e.g. ipactl restart) the following IPA masters in WARNING: you MUST restart (both "ipactl restart" and "systemctl restart sssd")
order to activate them to serve information about users from trusted forests: the following IPA masters in order to activate them to serve information about
users from trusted forests:
""") """)
for x in new_agents: for x in new_agents:
print(x) print(x)