From 8cc1e1c0d7b11a96e264a5cfa850f95b365ff802 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 23 Jan 2005 15:57:07 +0000 Subject: The final argument to verify_krb_v5_tgt() is the debug flag, not the ticket forwardable flag, so key generation of debugging output to "debug" rather than "forwardable". Update copyright. MFC after: 3 days --- lib/libpam/modules/pam_krb5/pam_krb5.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/libpam/modules') diff --git a/lib/libpam/modules/pam_krb5/pam_krb5.c b/lib/libpam/modules/pam_krb5/pam_krb5.c index b1b97e5..d977ea1 100644 --- a/lib/libpam/modules/pam_krb5/pam_krb5.c +++ b/lib/libpam/modules/pam_krb5/pam_krb5.c @@ -6,7 +6,7 @@ * Copyright (c) Nicolas Williams, 2001. All rights reserved. * Copyright (c) Perot Systems Corporation, 2001. All rights reserved. * Copyright (c) Mark R V Murray, 2001. All rights reserved. - * Copyright (c) Networks Associates Technology, Inc., 2002-2003. + * Copyright (c) Networks Associates Technology, Inc., 2002-2005. * All rights reserved. * * Portions of this software were developed for the FreeBSD Project by @@ -86,6 +86,7 @@ static void compat_free_data_contents(krb5_context, krb5_data *); #define NEW_PASSWORD_PROMPT "New Password:" #define PAM_OPT_CCACHE "ccache" +#define PAM_OPT_DEBUG "debug" #define PAM_OPT_FORWARDABLE "forwardable" #define PAM_OPT_NO_CCACHE "no_ccache" #define PAM_OPT_REUSE_CCACHE "reuse_ccache" @@ -270,7 +271,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, goto cleanup; } krbret = verify_krb_v5_tgt(pam_context, ccache, srvdup, - openpam_get_option(pamh, PAM_OPT_FORWARDABLE) ? 1 : 0); + openpam_get_option(pamh, PAM_OPT_DEBUG) ? 1 : 0); free(srvdup); if (krbret == -1) { PAM_VERBOSE_ERROR("Kerberos 5 error"); -- cgit v1.1