freeipa/ipaserver
Fabiano Fidêncio e03056cf34 Allow erasing ipaDomainResolutionOrder attribute
Currently when trying to erase the ipaDomainResolutionOrder attribute we
hit an internal error as the split() method is called on a None object.

By returning early in case of empty string we now allow removing the
ipaDomainResolutionOrder attribute by both calling delattr or setting
its value to an empty string.

https://pagure.io/freeipa/issue/6825

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2017-03-30 13:19:11 +02:00
..
advise scripts, tests: explicitly set confdir in the rest of server code 2017-02-22 08:07:48 +00:00
dnssec scripts, tests: explicitly set confdir in the rest of server code 2017-02-22 08:07:48 +00:00
install adtrust: make sure that runtime hostname result is consistent with the configuration 2017-03-30 13:17:21 +02:00
plugins Allow erasing ipaDomainResolutionOrder attribute 2017-03-30 13:19:11 +02:00
secrets Use Custodia 0.3.1 features 2017-03-28 15:02:06 +02:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
dcerpc.py ipaserver/dcerpc.py: use arcfour_encrypt from samba 2017-03-13 17:27:15 +01:00
dns_data_management.py Fix compatibility with python-dns 1.15.0 2016-10-11 15:45:41 +02:00
Makefile.am Build: Makefiles for Python packages 2016-11-09 13:08:32 +01:00
p11helper.py ipapython: move dnssec, p11helper and secrets to ipaserver 2016-11-29 14:50:51 +01:00
rpcserver.py rpcserver.login_x509: Actually return reply from __call__ method 2017-03-28 13:04:39 +02:00
servroles.py Introduce "NTP server" role 2016-06-15 13:51:48 +02:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Use Custodia 0.3.1 features 2017-03-28 15:02:06 +02:00
topology.py Fix topologysuffix-verify failing connections 2016-06-24 13:32:02 +02:00