This has been verified to work with Ubuntu 16.04.
It assumes that you have already installed Kerberos correctly, and that you authenticate through it when you login. You will also need to sync your clock with the local ntp server ntp.ucsc.edu (Kerberos/AFS is sensitive to time discrepancies).
krb5-config krb5-user libpam-krb5 ntp
allow_weak_crypto = true
sudo apt-get install openafs-client openafs-krb5 libpam-afs-session sudo apt-get install module-assistant
cats.ucsc.edu
.cats.ucsc.edu cats
>cats.ucsc.edu #UC Santa Cruz, Comm. and Tech. Services, California U.S.A 128.114.123.8 #afs-prod-front-1.ucsc.edu 128.114.123.9 #afs-prod-front-2.ucsc.edu 128.114.123.10 #afs-prod-front-3.ucsc.edu
sudo module-assistant prepare openafs-modules sudo module-assistant auto-build openafs-modulesThis will create the openafs module package for your current kernel in /usr/src.
sudo dpkg -i /usr/src/openafs-modules-*.debAs you do this several times, the kernel version changes, and you will need to be more specific so that you pick up only the latest module.
sudo service openafs-client start
To use openafs at UCSC, you need VPN, otherwise you won’t be able to get your credentials from the kerberos server.
To get the AFS credentials, use the commands:
kinit mycruzid aklog
All files for UCSC are under /afs/cats.ucsc.edu.