diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-08-01 10:51:24 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-09-19 08:01:26 +0200 |
commit | 984ae3858d8fb25d30b886bb953df1b06ab34ec7 (patch) | |
tree | c84023729ef3a2709325b68cbe4fa4d515d0e914 /client | |
parent | 0c4a91348a57ee941db94b31f59952eb1fcd4565 (diff) | |
download | freeipa-984ae3858d8fb25d30b886bb953df1b06ab34ec7.tar.gz freeipa-984ae3858d8fb25d30b886bb953df1b06ab34ec7.tar.xz freeipa-984ae3858d8fb25d30b886bb953df1b06ab34ec7.zip |
client: remove hard dependency on pam_krb5
If ipa-client-install is executed with --no-sssd, check if pam_krb5 is
available before proceeding with the install.
https://fedorahosted.org/freeipa/ticket/5557
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Diffstat (limited to 'client')
-rwxr-xr-x | client/ipa-client-install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/ipa-client-install b/client/ipa-client-install index 535fe65da..f22e653b4 100755 --- a/client/ipa-client-install +++ b/client/ipa-client-install @@ -2289,6 +2289,10 @@ def install(options, env, fstore, statestore): # when installing with '--no-sssd' option, check whether nss-ldap is installed if not options.sssd: + if not os.path.exists(paths.PAM_KRB5_SO): + root_logger.error("The pam_krb5 package must be installed") + return CLIENT_INSTALL_ERROR + (nssldap_installed, nosssd_files) = nssldap_exists() if not nssldap_installed: root_logger.error("One of these packages must be installed: " + |