freeipa/ipaserver
Patrice Duc-Jacquet 65794fc71c Incorrect message when KRA already installed
When trying to install a second time KRA, in case domain-level=0 the error lessage is not correct. It mentions :

 "ipa-kra-install: error: A replica file is required."

Note that this behavior is not observed if domain-level=1
The subject of the fix consist in checking that KRA is not already installed before going ahead in the installation process.

Tests done: I have made the following  tests in bot domain-level=0 and domain-level=1 :
 - Install KRA (check it is correctly installed),
 - Install KRA a second time (check that the correct error message is raised)
 - uninstall KRA (check that it is correctly uninstalled)
 - Install KRA again (check that it is correctly installed)

Reviewed-By: Petr Spacek <pspacek@redhat.com>
2016-05-20 16:17:54 +02:00
..
advise advise: configure TLS in redhat_nss_pam_ldapd and redhat_nss_ldap plugins 2016-03-01 13:05:20 +01:00
install Incorrect message when KRA already installed 2016-05-20 16:17:54 +02:00
plugins Added exception handling for mal-formatted XML Parsing 2016-05-11 14:51:56 +02:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
dcerpc.py Pylint: import max one module per line 2016-03-22 10:20:51 +01:00
rpcserver.py Added fix for notifying user about locked user account in WebUI 2016-04-28 17:04:37 +02:00