Configuring OpenAFS - Mac OS X 10.6 (Snow Leopard)

Prerequisites

To use AFS with Mac OS X 10.6 at LTU the following conditions must be met:

  • OpenAFS is installed and configured with LTU settings.

  • There is a working LTU-kerberos and the user has a valid kerberos ticket. See separate guide for installation and configuration of kerberos at LTU.

OpenAFS installation and configuration

Install OpenAFS, LTU-settings and help applications

  1. Click on the file OpenAFS-1.4.12.1-Snowleopard.dmg to save it on your computer. Follow the instructions on the screen.

    1. Cell: ltu.se

  2. Click on the fileLTU-OpenAFS-settings_SLeo.pkg to start the installation. Follow the instructions on the screen.

  3. Click on the fileLTU-Kerberos-AFS-script_SLeo_1.1.pkg to start installing help applications for autentication. Follow the instructions on the screen.

OpenAFS-1.4.12.1-Snowleopard.dmg

[https://www.ltu.se/webbarkiv/ITS/download/MAC/afs/OpenAFS-1.4.12.1-Snowleopard.dmg]

LTU OpenAFS-settings_SLeo.pkg

[https://www.ltu.se/webbarkiv/ITS/download/MAC/afs/LTU-OpenAFS-settings_SLeo.pkg]

LTU Kerberos AFS script_SLeo_1.1.pkg

[https://www.ltu.se/webbarkiv/ITS/download/MAC/afs/LTU-Kerberos-AFS-script_SLeo_1.1.pkg]

Restart the computer

AFS authentication

There are two ways of authenticate with AFS:

  • Through Terminal (manually)

  • ThroughLTU_AFS_authentication_SLeo (manually or automatically)

Terminal

  1. Start the application"Terminal" by choosing ”Utilities” in the menu ”Go” and doubleclick the application "Terminal”.

  2. Write: aklog and press Enter.

LTU_AFS_authentication_SLeo

Manually

Find the application ”LTU_AFS_authentication_SLeo” by choosing ”Applications” in the menu ”Go”. Click on LTU. Drag the application ”LTU_AFS_authentication_SLeo” to the dock to create a shortcut (That way you don't need to do 1 and 2 every time.). Start ”LTU_AFS_authentication_SLeo” by clicking the program icon in the dock. A script will run that takes the users valid kerberos ticket and creates a valid AFS token.

Automatically

(NB This only works if the user automatiaclly gets a kerberos ticke at logon through the login window. See separate guide for installation and configuration of kerberos at LTU.)

  1. Choose "System Preferences" in the apple menu.

  2. Click on Accounts

  3. Click on the tab Login Item.

  4. Click on the plus sign and add /Applications/LTU/LTU_AFS_authentication_SLeo

  5. Click on ”Add”. The application will run automatically the next time the user logs on and take the users valid kerberos ticket and create a validAFS token.

Connect to AFS home directory

Choose "Go to folder..." in the menu "Go".
Write: /afs/ltu.se/staff/b/berra (change” b” to the first letter in your username and ”berra” to your username). Click on ”Go” and the AFS home directory will be opened.

Create a shortcut to the AFS home directory

  1. Press the keys ”alt” + ”cmd” and drag the folder with your username to the Desktop and release (The pointer will get an arrow symbol that shows that it will create a shortcut and not a copy of the folder.).

  2. Double click on the shortcut and the AFS home directory will be opened.

Page Editor and Contact: Bengt-Olov Jansson

Published: 7 November 2011

Luleå University of Technology