Files
freeipa/ipaserver/plugins
Florence Blanc-Renaud 327e023203 Config plugin: return EmptyModlist when no change is applied
When ipa config-mod is called with the option --enable-sid,
the code needs to trap EmptyModlist exception (it is expected
that no LDAP attribute is modified by this operation).
The code had a flaw and was checking:
    'enable_sid' in options
instead of
    options['enable_sid']

"'enable_sid' in options" always returns true as this option
is a Flag with a default value, hence always present even if
not specified on the command line.

Fixes: https://pagure.io/freeipa/issue/9063
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2022-01-13 14:20:59 -05:00
..
2010-12-20 17:19:53 -05:00
2017-03-27 19:08:26 +02:00
2021-07-09 09:47:30 -04:00
2021-07-09 09:47:30 -04:00
2020-07-07 10:07:48 -04:00
2018-01-09 07:53:28 +01:00
2019-10-21 18:01:32 +11:00
2019-03-28 00:21:00 +01:00
2020-03-31 09:21:37 +03:00
2020-09-23 14:49:15 +02:00
2021-05-12 10:45:57 -04:00
2018-01-09 07:53:28 +01:00
2020-05-05 10:42:46 +02:00
2019-03-28 00:21:00 +01:00