Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by krbdev.mit.edu (8.9.3) with ESMTP id QAA13213; Sat, 1 Mar 2003 16:29:09 -0500 (EST) Received: from kathmandu.sun.com (kathmandu.sun.com [192.18.98.36]) by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id QAA18205 for ; Sat, 1 Mar 2003 16:28:43 -0500 (EST) Received: from centralmail1brm.Central.Sun.COM ([129.147.62.1]) by kathmandu.sun.com (8.9.3+Sun/8.9.3) with ESMTP id OAA00540 for ; Sat, 1 Mar 2003 14:28:42 -0700 (MST) Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104]) by centralmail1brm.Central.Sun.COM (8.12.2+Sun/8.12.2/ENSMAIL,v2.2) with ESMTP id h21LSg7L028211 for ; Sat, 1 Mar 2003 14:28:42 -0700 (MST) Received: from binky.central.sun.com (localhost [127.0.0.1]) by binky.central.sun.com (8.12.5+Sun/8.12.3) with ESMTP id h21LQlQx007717 for ; Sat, 1 Mar 2003 13:26:47 -0800 (PST) Received: (from nw141292@localhost) by binky.central.sun.com (8.12.5+Sun/8.12.3/Submit) id h21LQlNG007716 for krb5-bugs@mit.edu; Sat, 1 Mar 2003 15:26:47 -0600 (CST) Date: Sat, 1 Mar 2003 15:26:47 -0600 From: Nicolas Williams To: krb5-bugs@mit.edu Subject: Remove caching of default initiator GSS credential data Message-Id: <20030301152647.F6698@binky.central.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-RT-Original-Encoding: us-ascii Content-Length: 646 There is no need for gss_inquire_cred(GSS_C_NO_CREDENTIAL) to have any sort of predictable outputs; its outputs should always reflect the current state of the user's ccache, and not that of the user's ccache at the time that GSS_C_NO_CREDENTIAL is first referred to. Applications that need to know details of the default credential used to initiate some context, such as initiator name or credential lifetime, can get the information by inquiring the context and should not assume that the outputs of gss_inquire_cred(GSS_C_NO_CREDENTIAL) will reflect the same values as used during the initiation of any one context. Please remove this cache.