public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Douglas E. Engert" <deengert@anl.gov>
To: "Neulinger, Nathan" <nneul@umr.edu>
Cc: David Howells <dhowells@warthog.cambridge.redhat.com>,
	Jan Harkes <jaharkes@cs.cmu.edu>,
	David Howells <dhowells@cambridge.redhat.com>,
	Linus Torvalds <torvalds@transmeta.com>,
	linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	openafs-devel@openafs.org
Subject: Re: Re: [PATCH] in-core AFS multiplexor and PAG support
Date: Tue, 13 May 2003 14:19:20 -0500	[thread overview]
Message-ID: <3EC14538.B8692D5C@anl.gov> (raw)
In-Reply-To: B578DAA4FD40684793C953B491D4879174D3BA@umr-mail7.umr.edu



"Neulinger, Nathan" 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.
> 
> Any afs user space tool that needs to talk to file servers - such as all
> the administration utilities - vos, bos, pts, etc. Eventually they could
> use kerberos cred caches directly, but not until they are converted to
> kerberos. Right now, they fetch the current auth data from the kernel
> and use it to authenticate to whatever non-kernel service they are
> talking to.

If the PAG was implemented well, then even the Kerberos credentials
could be contained within the PAG, or accessible only by other processes
in the same PAG. 

One way to think of the PAG is a way of getting around the limited
capabilities of UNIX to have only a UID which is only locally unique. 
The PAG identifies the user globally, and stores credentials to use
to prove it to other systems of file systems. 

Linus said in two previous note:

> I think we should make the current "tsk->user" thing _be_ the "PAG".  

and:
> A "user" is by definition what the unix filesystem considers to be the
> "atom of security".

This may well be true, but current UNIX file systems continue to use the
simple UID and GID for access. Maybe there something that can be done
here as well. 
    


> 
> -- Nathan
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

-- 

 Douglas E. Engert  <DEEngert@anl.gov>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439 
 (630) 252-5444

  reply	other threads:[~2003-05-13 19:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-13 19:00 Re: [PATCH] in-core AFS multiplexor and PAG support Neulinger, Nathan
2003-05-13 19:19 ` Douglas E. Engert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-13 18:53 David Howells
2003-05-13 20:19 ` Derrick J Brashear
2003-05-13 22:51   ` Booker Bense
2003-05-13 18:25 Neulinger, Nathan
2003-05-13 18:23 Neulinger, Nathan
2003-05-13 17:48 Neulinger, Nathan
2003-05-13 16:05 David Howells
2003-05-13 16:24 ` Douglas E. Engert
2003-05-13 16:47 ` Linus Torvalds
2003-05-13 17:20   ` Jan Harkes
2003-05-13 18:51     ` Douglas E. Engert
2003-05-13 20:33       ` [OpenAFS-devel] " Jan Harkes
2003-05-13 21:26         ` Douglas E. Engert
2003-05-17 12:30     ` Pavel Machek
2003-05-18 14:22       ` Nathan Neulinger
2003-05-13 15:52 Linus Torvalds
2003-05-13 15:44 ` Alan Cox
2003-05-13 21:46   ` Russ Allbery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EC14538.B8692D5C@anl.gov \
    --to=deengert@anl.gov \
    --cc=dhowells@cambridge.redhat.com \
    --cc=dhowells@warthog.cambridge.redhat.com \
    --cc=jaharkes@cs.cmu.edu \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nneul@umr.edu \
    --cc=openafs-devel@openafs.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox