From 8b16aef38dc56c728b6330b3fa54a90a797fb3ec Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 23 Aug 2015 18:12:20 -0500 Subject: [PATCH] Fix incorrect login causing PAM fatal error message --- src/libtdeldap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp index d051ad2..11b0150 100644 --- a/src/libtdeldap.cpp +++ b/src/libtdeldap.cpp @@ -4087,7 +4087,7 @@ int LDAPManager::writePAMFiles(LDAPPamConfig pamConfig, TQString *errstr) { stream << "auth sufficient pam_unix.so nullok try_first_pass" << "\n"; stream << "auth [default=ignore success=1 service_err=reset] pam_krb5.so ccache=/tmp/krb5cc_%u use_first_pass" << "\n"; if (pamConfig.enable_cached_credentials) { - stream << "auth [default=die success=done] pam_ccreds.so action=validate use_first_pass" << "\n"; + stream << "auth [default=2 success=done] pam_ccreds.so action=validate use_first_pass" << "\n"; stream << "auth sufficient pam_ccreds.so action=store use_first_pass" << "\n"; } stream << "auth required pam_deny.so" << "\n";