From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 19 08:10:06 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 149FE16A4CE for ; Fri, 19 Mar 2004 08:10:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E61BA43D3F for ; Fri, 19 Mar 2004 08:10:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2JGA5bv009733 for ; Fri, 19 Mar 2004 08:10:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2JGA5IV009732; Fri, 19 Mar 2004 08:10:05 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 19 Mar 2004 08:10:05 -0800 (PST) Resent-Message-Id: <200403191610.i2JGA5IV009732@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eric van Gyzen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E353716A4CF for ; Fri, 19 Mar 2004 08:09:28 -0800 (PST) Received: from which.isds.duke.edu (which.isds.duke.edu [152.3.22.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAEE943D53 for ; Fri, 19 Mar 2004 08:09:28 -0800 (PST) (envelope-from vangyzen@stat.duke.edu) Received: from stat.duke.edu (sinatra.isds.duke.edu [152.3.22.120]) by which.isds.duke.edu (Postfix) with ESMTP id D225AC3848 for ; Fri, 19 Mar 2004 11:09:27 -0500 (EST) Received: (from vangyzen@localhost) by stat.duke.edu (8.12.10/8.12.10/Submit) id i2JG9P0H046434; Fri, 19 Mar 2004 11:09:25 -0500 (EST) (envelope-from vangyzen) Message-Id: <200403191609.i2JG9P0H046434@stat.duke.edu> Date: Fri, 19 Mar 2004 11:09:25 -0500 (EST) From: Eric van Gyzen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/64464: pam_krb5 module ignores no_ccache option X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric van Gyzen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 16:10:06 -0000 >Number: 64464 >Category: bin >Synopsis: pam_krb5 module ignores no_ccache option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 19 08:10:05 PST 2004 >Closed-Date: >Last-Modified: >Originator: Eric van Gyzen >Release: FreeBSD 5.2-RELEASE i386 >Organization: Duke University Statistics >Environment: FreeBSD 5.2-RELEASE >Description: The Kerberos 5 PAM module (src/lib/libpam/modules/pam_krb5/pam_krb5.c) ignores the no_ccache option and always saves the credentials in a file. >How-To-Repeat: For example, configure ports/mail/imap-uw to authenticate with Kerberos. In /etc/pam.d/imap, put: auth required pam_nologin.so no_warn auth required pam_krb5.so no_warn try_first_pass no_ccache Contrary to the pam_krb5(8) man page, a credentials cache will be saved in /tmp/krb5cc_%d. >Fix: I'm not familiar enough with PAM and Kerberos to provide a fix. :( Maybe in my "spare time"... >Release-Note: >Audit-Trail: >Unformatted: