[OpenAFS] Linux kernel 2.6 & AFS

Derek Atkins warlord@MIT.EDU
Sat, 21 Feb 2004 16:01:20 -0500


Troy Benjegerdes <hozer@hozed.org> writes:

First, what is kafs?  I've never heard of that filesystem.  Or do you
mean the KTH tools that implement aklog for arla/openafs?

> For example, what's the interface that I can use in, say, courier-imap
> to ask the kernel if authenticated and able to access a particular file,

You use access(2)

> or the interface to get authenticated. 

This is more challenging, and is a harder problem than I think we're
trying to solve in the short term.  Right now we're just looking for
an infrastructure to allow the file systems to keep track of process
authentication groups for multiple filesystems that want to use them.

How you actually push the authentication credentials into the kernel
is a separate problem, and I'm not sure if there *IS* a generic mechanism
for this (nor am I convinced there should or can be).

Let's solve the easier problem first, and then we can worry about the
harder problem.

> I know what the interface is now, for openafs. But I stand a much better
> chance of getting changes to courier or openssh accepted if it's a generic 
> inteface that works with a "common" 2.6 linux kernel filesystem auth
> structure.

What "common" auth structure do you mean?

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available