Files
freeipa/ipaserver/plugins
Christian Heimes 856fdbc183 dnsrecord: Treat empty list arguments correctly
dnsrecord_del fails when one of the record arguments is an empty list:

    AttrValueNotFound("AAAA record does not contain 'None'",)

The problem is caused by the fact that LDAPEntry.__getitem__ returns None
for empty lists. The code in the plugin considers None as a single entry
and maps it to vals = [None].

The patch maps None to empty list.

Fixes: https://pagure.io/freeipa/issue/8196
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2020-02-14 09:42:52 +02:00
..
2010-12-20 17:19:53 -05:00
2017-03-27 19:08:26 +02:00
2019-06-18 10:36:24 +10:00
2018-01-09 07:53:28 +01:00
2019-10-21 18:01:32 +11:00
2019-10-21 18:01:32 +11:00
2019-03-28 00:21:00 +01:00
2019-09-27 09:38:32 +02:00
2019-09-27 09:38:32 +02:00
2019-11-11 09:31:14 +01:00
2018-01-09 07:53:28 +01:00
2018-10-05 12:06:19 +02:00
2019-09-27 09:38:32 +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
2017-09-08 15:42:07 +02:00
2019-10-21 18:01:32 +11:00
2019-03-28 00:21:00 +01:00