Files
freeipa/ipaserver/plugins
Oleg Kozlov 5b337a54ee Show a notification that sssd needs restarting after idrange-mod
If the `ipa idrange-mod` command has been used show a notification that sssd.service needs restarting. It's needed for applying changes. E.g. after setup AD trust with a domain with more than 200000 objects (the highest RID > idm's default value, 200000) users with RIDs > 200000 are not able to login, the size needs to be increased via idrange-mod, but it makes an effect only after sssd restarting.

Implementation:
Notification was implemented via passing `ipalib.messages.ServiceRestartRequired` to `add_message` method in `ipaserver.plugins.idrange.idrange_mod.post_callback`.

Tests:
Added `messages` with sssd restart required (`ipalib.messages.ServiceRestartRequired`) to cases with idrange_mod where output is expected in `ipatests.test_xmlrpc.test_range_plugin.test_range'.

Fixes: https://pagure.io/freeipa/issue/7708
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-03-29 14:04:04 +01:00
..
2010-12-20 17:19:53 -05:00
2018-10-10 09:56:40 +02:00
2017-03-27 19:08:26 +02:00
2019-03-28 00:21:00 +01:00
2018-02-09 08:57:41 +01:00
2018-01-09 07:53:28 +01:00
2019-03-28 00:21:00 +01:00
2018-09-27 11:49:04 +02:00
2019-03-28 00:21:00 +01:00
2019-03-28 00:21:00 +01:00
2019-01-29 12:47:15 +01:00
2019-01-16 08:57:51 +01:00
2018-07-14 12:04:19 +02:00
2018-07-12 15:26:25 +02:00
2018-01-09 07:53:28 +01:00
2018-10-05 12:06:19 +02:00
2018-07-14 12:04:19 +02:00
2018-07-14 12:04:19 +02:00
2019-03-28 17:57:58 +01:00
2019-01-29 12:47:15 +01:00
2017-09-08 15:42:07 +02:00
2019-03-28 00:21:00 +01:00
2019-03-28 00:21:00 +01:00