From owner-cvs-all Mon Feb 3 1:45:43 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 406CC37B401; Mon, 3 Feb 2003 01:45:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D841B43F43; Mon, 3 Feb 2003 01:45:41 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h139jfbv012227; Mon, 3 Feb 2003 01:45:41 -0800 (PST) (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h139jfDA012226; Mon, 3 Feb 2003 01:45:41 -0800 (PST) Message-Id: <200302030945.h139jfDA012226@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Mon, 3 Feb 2003 01:45:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpam/modules/pam_krb5 pam_krb5.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG des 2003/02/03 01:45:41 PST Modified files: lib/libpam/modules/pam_krb5 pam_krb5.c Log: In pam_sm_acct_mgmt(), retrieve the cached credentials before trying to initialize the context. This way, a failure to initialize the context is not fatal unless we actually have work to do - because if we don't, we return PAM_SUCCESS without even trying to initialize the context. Revision Changes Path 1.15 +6 -3 src/lib/libpam/modules/pam_krb5/pam_krb5.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message