freeipa/ipaserver/install
Rob Crittenden 69b42f0c80 Catch EmptyResult exception in update_idranges
If no results are returned then find_entries will raise
EmptyResult and not NotFound. NotFound is returned if
the search base doesn't exist.

The test for not entries can be removed as well since this
is the EmptyResult case. In case of a NotFound this will
be handled by the ExecutionError clause.

Found with https://pagure.io/freeipa/issue/8555

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2020-11-06 16:29:41 -05:00
..
plugins Catch EmptyResult exception in update_idranges 2020-11-06 16:29:41 -05:00
server Centralize enable/disable of the ACME service 2020-11-02 10:43:57 -05:00
__init__.py Remove __all__ specifications in ipaclient and ipaserver.install 2013-09-06 15:42:33 +02:00
adtrust.py Use api.env.container_sysaccounts 2020-04-28 11:28:29 +02:00
adtrustinstance.py uninstall: Don't fail on missing /var/lib/samba 2020-08-17 10:46:23 +02:00
bindinstance.py Don't add 127.0.0.1 to resolv.conf twice 2020-10-08 08:32:08 +02:00
ca.py Don't restart certmonger after stopping tracking in uninstall 2020-10-19 12:56:22 -04:00
cainstance.py Require an ipa-ca SAN on 3rd party certs if ACME is enabled 2020-11-02 14:01:05 -05:00
certs.py Set mode of /etc/ipa/ca.crt to 0644 in CA-less installations 2020-08-06 12:49:51 +02:00
conncheck.py install: introduce installer class hierarchy 2016-11-11 12:17:25 +01:00
custodiainstance.py Add user and group wrappers 2020-09-22 09:23:18 -04:00
dns.py Use new API for auto-forwarders 2020-09-23 16:44:26 +02:00
dnskeysyncinstance.py Add user and group wrappers 2020-09-22 09:23:18 -04:00
dogtag.py Verify pki ini override early 2019-04-10 13:43:23 +02:00
dogtaginstance.py Add user and group wrappers 2020-09-22 09:23:18 -04:00
dsinstance.py Skip offline dse.ldif patching by default 2020-10-05 15:02:14 +02:00
httpinstance.py Clean up entire /run/ipa/ccaches directory not just files 2020-09-23 14:48:29 +02:00
installutils.py Unify access to FQDN 2020-10-26 17:11:19 +11:00
ipa_acme_manage.py Change the return codes of ipa-acme-manage 2020-11-02 14:01:05 -05:00
ipa_backup.py Use separate install logs for AD and DNS instance 2020-10-06 15:35:35 +02:00
ipa_cacert_manage.py lint: Make Pylint-2.4 happy again 2020-02-12 18:08:32 +02:00
ipa_cert_fix.py Create a common place to retrieve facts about an IPA installation 2020-08-06 14:11:27 +02:00
ipa_crlgen_manage.py CRL generation master: new utility to enable|disable 2019-03-14 09:39:55 +01:00
ipa_kra_install.py Fix E722 do not use bare 'except' 2020-05-05 10:42:46 +02:00
ipa_ldap_updater.py Simplify LDAPUpdater 2020-09-22 09:21:00 -04:00
ipa_otptoken_import.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
ipa_pkinit_manage.py PKINIT: fix ipa-pkinit-manage enable|disable 2018-12-05 11:06:21 +01:00
ipa_replica_install.py Enable replica install info logging to match ipa-server-install 2018-11-01 13:08:58 +01:00
ipa_restore.py Add user and group wrappers 2020-09-22 09:23:18 -04:00
ipa_server_certinstall.py Require an ipa-ca SAN on 3rd party certs if ACME is enabled 2020-11-02 14:01:05 -05:00
ipa_server_install.py Improve console logging for ipa-server-install 2018-06-20 08:38:03 +02:00
ipa_server_upgrade.py ipa commands: print 'IPA is not configured' when ipa is not setup 2018-08-23 12:08:45 +02:00
ipa_trust_enable_agent.py ipa-adtrust-install: run remote configuration for new agents 2020-03-05 14:40:58 +01:00
ipa_winsync_migrate.py ipa commands: print 'IPA is not configured' when ipa is not setup 2018-08-23 12:08:45 +02:00
ipactl.py Create a common place to retrieve facts about an IPA installation 2020-08-06 14:11:27 +02:00
kra.py named: Allow using of a custom OpenSSL engine for BIND 2020-08-31 09:42:31 +03:00
krainstance.py Reuse main LDAP connection 2020-10-19 09:53:29 +02:00
krbinstance.py Add user and group wrappers 2020-09-22 09:23:18 -04:00
ldapupdate.py Remove magic sleep from create_index_task 2020-10-05 15:02:14 +02:00
odsexporterinstance.py Add user and group wrappers 2020-09-22 09:23:18 -04:00
opendnssecinstance.py Add user and group wrappers 2020-09-22 09:23:18 -04:00
otpdinstance.py Enable pylint missing-final-newline check 2015-12-23 07:59:22 +01:00
replication.py Increase replication changelog trimming to 30 days 2020-08-19 14:02:27 -04:00
schemaupdate.py Unify access to FQDN 2020-10-26 17:11:19 +11:00
service.py Enable importing LDIF files not shipped by IPA 2020-11-02 10:43:57 -05:00
sysupgrade.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
upgradeinstance.py Use a state to determine if a 389-ds upgrade is in progress 2020-10-27 15:50:19 -04:00