[17388] in Kerberos_V5_Development
Re: GSSAPI Proxy initiative
daemon@ATHENA.MIT.EDU (Nico Williams)
Fri Nov 4 12:42:52 2011
MIME-Version: 1.0
In-Reply-To: <4110733A-4C73-481B-96D5-D6C3BDBB16CD@netapp.com>
Date: Fri, 4 Nov 2011 11:42:14 -0500
Message-ID: <CAK3OfOjisvAjafpE04p-fFpAkqQuTgfEH5t3Ne6oTtLfYbW-rg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: "Adamson, Andy" <William.Adamson@netapp.com>
Cc: dhowells <dhowells@redhat.com>,
"<linux-nfs@vger.kernel.org>" <linux-nfs@vger.kernel.org>,
"Myklebust, Trond" <trond.myklebust@netapp.com>,
krbdev <krbdev@mit.edu>, Simo Sorce <simo@redhat.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
On Fri, Nov 4, 2011 at 11:30 AM, Adamson, Andy
<William.Adamson@netapp.com> wrote:
> Well, don't all GSS mechanisms have credentials? We use the UID to map between the RPCSEC_GSS context and the credential, so we don't need to store the credential along side of the context.
The problem is that for some mechs credentials can get huge over time
(e.g., Kerberos ccaches). Ensuring that all those credentials are
available when we need them in order to reestablish RPCSEC_GSS
contexts with the server so we can WRITE out cached dirty blocks in a
memory pressure situation is... difficult or impossible -- anything we
do to make that possible will be generally brittle.
If the GSS-API gave us a way to extract a "sub-credential" we might
make do, BUT, that's ugly, IMO, and we still have to deal with the
fact that that sub-credential's expiration time might not be
convenient, thus needing extra code to refresh it proactively, and so
on. I.e., a GSS-based solution to this problem could be a nightmare.
An RPCSEC_GSS-based solution seems trivial by comparison.
> That said, I agree that a light-weight method of re-establishing a context is very appealing.
Not least because any re--auth credential refresh operations will
involve only that client and server.
Nico
--
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev