From c450908f60182fcf597ab827478ab3d6038421f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 6 Feb 2002 16:02:13 +0000 Subject: [PATCH] PAM_CRED_PRELIM_CHECK is an XSSO typo. The correct name for the constant is PAM_PRELIM_CHECK. Sponsored by: DARPA, NAI Labs git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@36 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- doc/xsso_errata.txt | 3 +++ include/security/pam_constants.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/xsso_errata.txt b/doc/xsso_errata.txt index 9e7465d..109a6e2 100644 --- a/doc/xsso_errata.txt +++ b/doc/xsso_errata.txt @@ -5,6 +5,9 @@ Errata in XSSO, chapter 5: p. 25: the first member of struct pam_response is named "resp", not "response". +p. 28: the first pam_sm_chauthtok() flag is PAM_PRELIM_CHECK, not + PAM_CRED_PRELIM_CHECK. + Errata in XSSO, chapter 6: p. 32: "PAM_NEW_AUTHTOKEN_REQD" in the DESCRIPTION and RETURN VALUE diff --git a/include/security/pam_constants.h b/include/security/pam_constants.h index 21b70fb..4aacf71 100644 --- a/include/security/pam_constants.h +++ b/include/security/pam_constants.h @@ -96,7 +96,7 @@ enum { PAM_DELETE_CRED = 0x2, PAM_REINITIALISE_CRED = 0x4, PAM_REFRESH_CRED = 0x8, - PAM_CRED_PRELIM_CHECK = 0x1, + PAM_PRELIM_CHECK = 0x1, PAM_UPDATE_AUTHTOK = 0x2, PAM_CHANGE_EXPIRED_AUTHTOK = 0x4 };