Working from Home
Tools and Technologies for Improving Your Programming Environment
Home › OpenAFS

Background

OpenAFS is what is used on the Windows machines in the labs to allow you to transparently access files under your AFS home directory. You can setup OpenAFS on your personal computer to access your UNIX home directory at UMBC.

These notes detail the installation of OpenAFS 1.5.3400 and the Kerberos for Windows 3.2.2 helper application.

Installation

Installer Language

The first screen upon launching the OpenAFS installer, click Next

Welcome to the OpenAFS Setup Wizard

Click Next

License Agreement

Accept the license agreement, click Next

Choose Components

Default components are fine, click Next

Choose Install Location

Default location is fine, click Next

CellServDB Configuration

Defaults are fine, click Next

Client Cell Name Configuration

Enter umbc.edu as the AFS cell name, click Next

AFS Credentials Configuration

Defaults are fine, click Next

Completing the OpenAFS Setup Wizard

Defer rebooting, as we need to install one more thing first

Installing Kerberos for Windows

Installer Language

The first screen upon launching the Kerberos for Windows installer, click Next

Welcome to the Kerberos for Windows Setup Wizard

Click Next

License Agreement

Accept the license agreement, click Next

Choose Components

Default components are fine, click Next

Choose Install Location

Default location is fine, click Next

Kerberos Configuration

Defaults are fine, click Next

Network Identity Manager Setup

Leave autostart checked, click Next

Completing the Kerberos for Windows Setup Wizard

Complete the installation, click Finish

Configuring OpenAFS

After you have installed both OpenAFS and Kerberos for Windows, you will need to reboot before continuing to configure OpenAFS.

OpenAFS Icon in the System Tray (Unauthenticated)

You should notice a lock with a red X in the system tray when Windows restarts

Obtain New AFS Tokens

After a couple of moments, the obtain new token dialog should popup

Obtain New AFS Tokens After Entering GL Information

Enter your myUMBC username and password, click OK

OpenAFS Icon in the System Tray (Authenticated)

Upon successful authentication, the red X on the lock in the system tray should go away

AFS Client — Tokens

If you double click that lock, you should see your tokens

AFS Client — Drive Letters

To setup mapped drives, click the Drive Letters tab

Map Drive Letter — S:\ Drive

Click Add, enter S:\ as the drive letter and enter the full AFS path to your home directory and click OK (if you do not know the path to your home directory SSH into linux.gl.umbc.edu and issue the pwd command)

Mapped S:\ Drive

After a couple of seconds you should see the newly mapped drive

Map Drive Letter — W:\ Drive

Here, I'm also adding another mapping for the www directory

Mapped W:\ Drive

Again, after a couple of seconds the mapped drive should appear

Running OpenAFS

Once you've performed this configuration, you will only need to enter your myUMBC username and password and all of your drive mappings will be restored.

My Computer Showing Mapped Drives

If you open My Computer, you should see your newly mapped drives under Network Drives

Browsing S:\ Drive

Opening one of these drives will reveal your files & directories on AFS

Additional Resources