...
Build an OpenAFS kernel module containing a workaround using the following instructions (you may need to install additional devel tools and libraries such as GIT and the Kernel devel libraries on your system):
Code Block | ||
---|---|---|
| ||
git clone git://git.openafs.org/openafs.git cd openafs git checkout --track -b origin/openafs-stable-1_6_x git fetch http://gerrit.openafs.org/openafs refs/changes/17/12217/1 && git cherry-pick FETCH_HEAD git fetch http://gerrit.openafs.org/openafs refs/changes/70/12170/3 && git cherry-pick FETCH_HEAD git fetch http://gerrit.openafs.org/openafs refs/changes/69/12169/2 && git cherry-pick FETCH_HEAD sh regen.sh ./configure make libafs |
...
- NOW, REBOOT. After rebooting, your firewall may prompt you to allow the various afs applications access to the network. You should choose to Always Allow these.
- OPTIONAL, set up a drive mapping (must be done AFTER REBOOTING)
- Right click on My Network Places
- Map drive
- To follow the CNF convention, set the drive letter to X
- Set the path to \\afs\cnf.cornell.edu
- Choose to Reconnect the drives
- Done
Mac OS X
MacOS
For Macintosh, we recommend the AuristorFS OpenAFS client installers.
- Download the installer for your version of MacOS from the Auristor OpenAFS Client Installers web page.
- If you visit the page on an operating system other than MacOS, you will need to click the link to "view all available installers".
- Download the installer requires registering.
- 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 OpenAFS 1.6.16 or newer from the below links:
- Installers for Mac (the Mac Auristor installers work) are available courtesy of Your File System, Inc (recommended for 10.9 Mavericks and higher)
- Additional Signed Installers for Mac are listed on the Third Party Binaries OpenAFS Wiki page
- Run the OpenAFS package installer
- Specify cnf.cornell.edu as the cell name and cnf as the cell alias
- If AFS does not appear to be running after installing, reboot your system.
- To show the AFS icon on the Desktop...
- Finder - Preferences
- General tab
- Check "Connected Servers"
How to destroy, renew, and obtain new credentials:
Make sure you have AFS Tokens before attempting to browse AFS space in the Finder. Otherwise, the Finder will become confused, hang, and not properly display files and folders.
To destroy AFS credentials from the commandline, open the Terminal and enter the following two commands:
Code Block |
---|
unlog
kdestroy
|
To renew or obtain new credentials from the commandline,
- , 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.
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.
From the Terminal.app commandline:
Code Block | ||
---|---|---|
| ||
kinit username@KERBEROS.REALM
aklog |
Make sure you have AFS Tokens before attempting to browse AFS space in the Finder. Otherwise, the Finder will become confused, hang, and not properly display files and foldersTo manage AFS credentials from the GUI, use the Auristor control panel in the System Preferences application.
iOS
A native AFS client, iYFS, for iOS can be purchased from the iOS App Store. If you experience issues with the client, please contact CNF IT support – we will reproduce the problem and then contact the vendor to have the problem resolved.