diff options
author | Patrice Duc-Jacquet <patduc38@gmail.com> | 2016-05-17 10:35:42 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-05-20 16:17:54 +0200 |
commit | 65794fc71c6b76a8fe96423e3fac128dc5de2c7d (patch) | |
tree | 86f63cb49b590ca8a81a6a14ecf9ee35f01266f3 /util/ipa_mspac.h | |
parent | ad1cac12834615a4666624885ae4997286641548 (diff) | |
download | freeipa-65794fc71c6b76a8fe96423e3fac128dc5de2c7d.tar.gz freeipa-65794fc71c6b76a8fe96423e3fac128dc5de2c7d.tar.xz freeipa-65794fc71c6b76a8fe96423e3fac128dc5de2c7d.zip |
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>
Diffstat (limited to 'util/ipa_mspac.h')
0 files changed, 0 insertions, 0 deletions