Configuring OpenAFS for use at Notre Dame

Configuring OpenAFS

Once you have installed OpenAFS you will need to configure a few files to get things to work properly. The following files will need to be modified to match the recommended configuration for Notre Dame computers:

/usr/vice/etc/ThisCell:

nd.edu

/usr/vice/etc/cacheinfo:

/afs:/usr/vice/cache:2000000

Note: The number after the colon is the size of the cache in bytes. It is recommended you set this to twice your physical memory amount.

/etc/krb5.conf:

[libdefaults]
   default_realm = ND.EDU
   default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
   default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc

   dns_lookup_realm = false
   dns_lookup_kdc = false
[realms]
   ND.EDU = {
     kdc = kerberos.nd.edu:88
     kdc = kerberos-1.nd.edu:88
     kdc = kerberos-2.nd.edu:88
     admin_server = kerberos.nd.edu:749
     default_domain = nd.edu
   }
 
[domain_realm]
     .nd.edu = ND.EDU
     nd.edu = ND.EDU

[appdefaults]
   pam = {
     ticket_lifetime = 2592000
     renew_lifetime = 2592000
     forwardable = true
     debug = true
   }