3 @node Applications, Things in search for a better place, Setting up a realm, Top
11 @node AFS, , Applications, Applications
15 AFS is a distributed filesystem that uses Kerberos for authentication.
19 For more information about AFS see OpenAFS
20 @url{http://www.openafs.org/} and Arla
21 @url{http://www.stacken.kth.se/projekt/arla/}.
23 @subsection kafs and afslog
26 @manpage{afslog,1} will obtains AFS tokens for a number of cells. What cells to get
27 tokens for can either be specified as an explicit list, as file paths to
28 get tokens for, or be left unspecified, in which case will use whatever
29 magic @manpage{kafs,3} decides upon.
31 If not told what cell to get credentials for, @manpage{kafs,3} will
32 search for the files ThisCell and TheseCells in the locations
33 specified in @manpage{kafs,3} and try to get tokens for these cells
34 and the cells specified in $HOME/.TheseCells.
36 More usefully it will look at and ~/.TheseCells in your home directory
37 and for each line which is a cell get afs token for these cells.
39 The TheseCells file defines the the cells to which applications on the
40 local client machine should try to aquire tokens for. It must reside in
41 the directories searched by @manpage{kafs,3} on every AFS client machine.
43 The file is in ASCII format and contains one character string, the cell
44 name, per line. Cell names are case sensitive, but most cell names
47 See manpage for @manpage{kafs,3} for search locations of ThisCell and TheseCells.
49 @subsection How to get a KeyFile
51 @file{ktutil -k AFSKEYFILE:KeyFile get afs@@MY.REALM}
53 or you can extract it with kadmin
56 kadmin> ext -k AFSKEYFILE:/usr/afs/etc/KeyFile afs@@My.CELL.NAME
59 You have to make sure you have a @code{des-cbc-md5} encryption type since that
60 is the enctype that will be converted.
62 @subsection How to convert a srvtab to a KeyFile
64 You need a @file{/usr/vice/etc/ThisCell} containing the cellname of your
67 @file{ktutil copy krb4:/root/afs-srvtab AFSKEYFILE:/usr/afs/etc/KeyFile}.
69 If keyfile already exists, this will add the new key in afs-srvtab to