...
- Install the Mountain Lion krb5.conffile to /private/etc/krb5.conf
- The /private/etc folder is hidden... to get to it from the Finder...
- From the "Go" menu choose "Go to Folder"
- Type in /private/etc
- You can now copy the krb5.conf file over... you will be prompted for administrator credentials
- Install the Mountain Lion edu.mit.Kerberosfile to /Library/Preferences/edu.mit.Kerberos
- You may first have to delete any existing edu.mit.Kerberos file (Finder may not let you overwrite the existing file)
- The deletion operation will require typing in an administrative username and password
- Copying over the new file will require typing in an administrative username and password
- Download 1.6.9 for Lion from this link (10.7) OR Download OpenAFS 1.6.9 or greater from the openafs.org website (10.8) OR Download 1.6.9 for Mavericks from this link (10.9)
- Installers for Mac are also available courtesy of Your File System, Inc (recommended for 10.9 Mavericks and higher)
- Run the OpenAFS package installer
- Specify cnf.cornell.edu as the cell name and cnf as the cell alias
- No reboot is necessary (unless you are running Mavericks, Mac OS 10.9) - AFS will start running when the installer finishes
- To show the AFS icon on the Desktop...
- Finder - Preferences
- General tab
- Check "Connected Servers"
- How to destroy, renew, and obtain new credentials:
To destroy AFS credentials, open the Terminal and enter the following two commands
- File Releases tab
- The AFSTokens app is no longer maintained, but is still the best way to obtain AFS tokens.
- Obtaining tokens works under the latest version of Mac OS X Mavericks. However, deleting tokens crashes the app.
Renewing existing tokens does not work. You must first delete any AFS tokens and Kerberos tickets by running the following two commands from a Terminal prompt commandline:
Code Block unlog kdestroy
- Viewing your AFS group membership works under the latest version of OS X Mavericks.
Under OS X Yosemite and later, you will need to use the To renew or obtain new credentials, you must either use the AFSLog gui application or the commandline (Terminal.app) to obtain AFS Tokens.
For AFSLog, double click the application.
The Kerberos Ticket viewer will open
If necessary, add a new identity of username@KERBEROS.REALM
Login to this identity in the Kerberos Ticket Viewer.
Exit the Kerberos Ticket Viewer.
After approximately 5 seconds, the AFSLog application will ask for your attention (bounce) or simply pop up a new window displaying your AFS Tokens.
From the Terminal.app commandline:
Code Block language bash kinit username@KERBEROS.REALM aklog
You can view your AFS tokens by, from the commandline (Terminal.app) typing in:
Code Block language bash tokens
- The built in AFS control panel under System Preferences does not work in the CNF environment. Do not use the AFS Control Panel.
- To show the AFS icon on your desktop, in Finder Preferences - General, make sure "Connected servers" is checked.
...