At IU, how do I install and configure OpenAFS on my Windows workstation for use with the RFS?
To access your account on the Research File System (RFS) at Indiana University from a Windows Vista, XP, or 2000 workstation, download and install Kerberos for Windows and the OpenAFS client. Each program requires a separate package (i.e., they are not bundled together). To install the software, you will need to log into the workstation with an account that has administrative rights.
On this page:
Installing Kerberos for Windows
Kerberos for Windows lets you authenticate to the ADS.IU.EDU Kerberos realm. To install the program:
- Download Kerberos for Windows at MIT
Kerberos for Windows 2.6.5.
- Click
MITKerberosForWindows-2.6.5.exeand install the program after the download is complete. You will be prompted to select the language for the installer and a location for the program. When you see theLicense Agreementwindow, clickI Agree.
- In the
Choose Componentswindow, make sure theKfW ClientandKFW Documentationoptions are selected.
- You will see a window that asks you to choose a method for
installing the Kerberos configuration files. Select
Download from web pathand enter the following URL: http://storage.iu.edu - In the
Leash Ticket Manager Setupwindow, retain the default settings, and clickInstall. Kerberos for Windows will install the software.
You can now move on to the installation of the OpenAFS client for Windows.
Note: MIT Kerberos for Windows 3.0 was released in December 2005, but is not supported at IU at this time.
Installing OpenAFS for Windows
The OpenAFS client for Windows allows your Windows Vista, XP, or 2000 workstation to communicate with the AFS server. To install the client:
- Go to OpenAFS for
Windows.
Scroll down and click
32-bit EXE installer for individual installations. Download and run the installation program. You will be asked to select an installer language. - In the
Choose Componentswindow, selectSupplemental Documentation. Make sure theAFS ClientandMS Loopback Adapteroptions are selected.
- Select a location to install OpenAFS.
- In the
CellServDB Configurationwindow, choose the location of theCellServDBfile by selectingDownload from web address. In the box below the selection, enter: http://storage.iu.edu/CellServDB.txt - In the
Client Cell Name Configurationwindow, set the AFS cell name toIU.EDU. Leave the other client options at their default values.
- Retain the default options in the
AFS Credentials Configurationwindow. ClickInstall.
The OpenAFS client will now install the software. You will be prompted to reboot your workstation when the process is complete.
After the workstation has rebooted, you will need to log back in as
administrator. The OpenAFS client will display the Obtain New
AFS Tokens window. This feature is not relevant to RFS access
at IU, and you should close the window.
Note: At IU, AFS tokens are always obtained via the
Leash Kerberos Ticket Manager. In a typical installation, only the
shortcut to the Leash program is placed in the Startup
folder. If the Obtain New Tokens window pops up whenever
you start your computer, go to the Start menu and check the
Startup folder under Programs. If you see the
OpenAFS Client in the Startup folder, click the shortcut
and select Delete. This will ensure that only the Leash login
window is displayed when you access your workstation.
The Leash Kerberos Ticket Manager will start upon login and display
a ticket initialization window. You should be able to initialize a
ticket by entering your Network ID. The "Realm" drop-down
box should say ADS.IU.EDU. If you are successful, the Leash icon
(the dog head) on the Windows taskbar will turn green. You can view
your current tickets and tokens by double-clicking the Leash icon. You
should have a Kerberos 5 ticket and an AFS token. Next, you will need
to do the following:
- Click the
AFSicon in the Windows Taskbar. In theAFS Clientwindow, click theAdvancedtab.
- Select the
Drive Letterstab and clickAdd. From the drop-down list, chooseDrive Letter. The AFS path should be set to\afs\iu.edu\home\u\s\username(whereuis the first letter of your username andsis the second letter, andusernameis your username).
Using Kerberos and OpenAFS
To verify that Kerberos and OpenAFS are working correctly, access the
drive to which you mapped your RFS account (via My Computer, or by
using the Run command from the Start menu). You
should be able to perform the usual file- and folder-related
operations.
After you've configured OpenAFS on your workstation, the behavior of the Kerberos Ticket Manager will depend on the nature of your subsequent logins. If you log into the ADS realm, you will see the ticket intialization prompt, which prompts you for your username and passphrase. If you log into the IU.EDU Kerberos realm, the Leash program will start and automatically issue your Kerberos ticket and AFS token.
Kerberos tickets and AFS tokens have a lifetime of ten hours. If your
session exceeds ten hours, you can ensure continued access to RFS by
clicking Action in the Leash Kerberos Ticket Manager menu and
selecting Get Ticket(s)/Token(s).
Note: You will need to make a VPN connection to the Indiana University network if you wish to access your RFS account when you are away from the IU campus. You can disconnect from VPN once you have obtained your AFS token.
Last modified on November 02, 2009.







