Re: [OpenAFS-devel] Re: [PATCH] in-core AFS multiplexor and PAG

Derrick J Brashear (shadow@dementia.org)
Tue, 13 May 2003 16:19:13 -0400 (EDT)


On Tue, 13 May 2003, David Howells wrote:

> > > (2) gettok(const char *fs, const char *key, size_t size, void *buffer)
> > >
> > > Get a copy of an authentication token.
> >
> > Not sure what the use of this is for userspace. I can see how your
> > kernel module would use it.
>
> OpenAFS has it, but I'm not sure what uses it.

The simplest case: "List my tokens" (if you want any sort of detail about
them). A program "tokens" does just this, lists all tokens you have, then
enumerates with GetToken to get each and print some information about them
(are they expired, for instance).

There are also some debugging tools which can pull tokens back out and
decode them using the server key, and some old primitive authentication
passing stuff which is probably now all obsolete did also.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/