[OpenAFS] PHP and AFS?

Mitch Collinsworth mitch@ccmr.cornell.edu
Sat, 28 Dec 2002 14:58:24 -0500 (EST)


On 28 Dec 2002, Turbo Fredriksson wrote:

> Quoting David Botsch <dwb7@ccmr.cornell.edu>:
>
> > We had a student a while back who, using the unstable release of php, wrote
> > some code (and modified some modules as well) to allow one to authenticate to
> > AFS via a username/password dialog on a web page. The server running behind
> > things then had the afs token of the user stored and could manipulate files in
> > that user's directory.
> >
> > I don't know if something like this would be helpful to you or not.
>
> It's a start. Know where I can find this?

It hasn't been posted anywhere, yet.  Never thought about doing so before
now, but maybe we can.  The code in question had a dependency at the time
(last summer) on the unstable version (at that time) of php, which if memory
serves had to do with calling an external program and specifying both stdin
and stdout.  The released version of php at that time could only do stdin
or stdout but not both.  We've been waiting for this feature to get to php's
release version before putting this code into production use, though frankly
we haven't been paying careful attention to php releases to know if it's
already been released.

-Mitch