[OpenAFS-devel] Bug in OpenAFS-1.2.2

Nickolai Zeldovich kolya@MIT.EDU
Fri, 19 Oct 2001 13:24:19 -0400


> I added an additional entry in my CellServDB file for the cell "slac"
> which is just a copy of the entry for cell "slac.stanford.edu". That
> works.

That's a little broken, because you'll be authenticated to only one
of those two cells, generating user confusion (if you access files
via /afs/slac.stanford.edu, you're authenticated, but if you access
them via /afs/slac, you're not).

If you feel like rebuilding from source, you can try my patch that
adds user-configurable cell aliases:

  /afs/athena.mit.edu/user/k/o/kolya/p/afs/cellalias4

In addition to supporting AFSDB cell aliases, you can now specify
static cell aliases in /usr/vice/etc/CellAlias (or wherever it's
placed on Linux); for instance, if you want "slac" to be an alias
for "slac.stanford.edu", just run

  echo "slac.stanford.edu slac" >> /usr/vice/etc/CellAlias

and restart your AFS client.  You can also add cell aliases on
the run with "fs newalias slac slac.stanford.edu".

-- kolya