From 935d9c694f410075dbd0310b0100782478c069b0 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Mar 02 2017 10:18:54 +0000 Subject: Use /usr/lib instead of /lib for security modules /lib and /lib64 is now a symlink to /usr/lib and /usr/lib64. We correctly detect presence of security module such as pam_krb5.so but print confusing error message to user when this module is not available: Authentication module /lib64/security/pam_krb5.so is missing. This is correct, however when user is trying to install this file he founds out that this file is not part of any package since the file is installed into /usr/lib64. --- diff --git a/authinfo.py b/authinfo.py index 1203a71..53487e5 100644 --- a/authinfo.py +++ b/authinfo.py @@ -75,9 +75,9 @@ SMARTCARD_AUTH_PAM_SERVICE_AC = "smartcard-auth-ac" SSSD_AUTHCONFIG_DOMAIN = "default" if "lib64" in str(globals()["acutil"]): - LIBDIR = "/lib64" + LIBDIR = "/usr/lib64" else: - LIBDIR = "/lib" + LIBDIR = "/usr/lib" AUTH_MODULE_DIR = LIBDIR + "/security"