Fermilab Logo
-----
Computing Division at Fermilab
Computing Division - Fermilab-Search the Computing Web-CD Departments-Index-Help Desk-FAW
System Status-Projects in the Computing Division-Security-Fermilab Policy on Computing-CD Organization-CD Internal

Back to Strong Auth Index Page | Computing Division| Fermilab at Work | Fermilab Home
TOC PREV NEXT INDEX
View/print PDF file
Strong Authentication at Fermilab

Chapter Contents

Chapter 24: Installing and Configuring MIT Kerberos on a Macintosh System
  24.1 Installing MIT Kerberos for Macintosh
    24.1.1 Changes in MIT Kerberos for Macintosh 4.0
    24.1.2 Download Kerberos from the MIT Web Site
    24.1.3 Items that Appear on your Desktop
    24.1.4 Installation Instructions
  24.2 Configuring the Kerberos Software
    24.2.1 The Preferences File
    24.2.2 Select Favorite Realms
    24.2.3 Edit Preferences
    24.2.4 Edit Favorites
  24.3 Installing Telnet Client
  24.4 Configuring Telnet
  24.5 Kerberized FTP Client
  24.6 Authenticating to Kerberos
    24.6.1 Authenticate via Kerberos Control Panel
    24.6.2 Authenticate at Login


Chapter 24: Installing and Configuring MIT Kerberos on a Macintosh System


In this chapter we describe how to install and configure the MIT Kerberos for Macintosh 4.0x software1 on your Macintosh system in order to access Kerberized machines and encrypt your data transmissions.

Computing Division Macintosh Strategy

The Computing Division released a statement in January 2001 regarding the policy on Macintosh support. We quote from it here:

"The Macintosh Operating System is no longer a supported operating system from the Computing Division and is not a strategic operating system for future plans...

... Specifically regarding the Strong Authentication realm, the supported access method from Macintoshes will be via the CRYPTOCard. Kerberos clients may be available and used, but there will be no effort expended to select, test or distribute them."

That said, there is some community support for the Macintosh, primarily through kerberos-users@fnal.gov. We also provide information here to assist Macintosh users.

We do not currently have a recommendation for Macintosh users outside of the U.S. and Canada. MIT does not yet interpret U.S. regulations as allowing export, so it is the responsibility of the downloader to be in compliance. MIT's statement on Kerberos export control is maintained at http://web.mit.edu/kerberos/www/export.html. The MIT Kerberos software for Macintosh is not made freely available on the http://www.crypto-publish.org/ web site because it includes code built from non-open sources. You may want to consider upgrading your OS to OS X and using the Kerberos software for UNIX.

24.1 Installing MIT Kerberos for Macintosh

First, obtain a Kerberos principal and initial password for the FNAL.GOV realm. See section 3.1 Your Kerberos Principal.

This section was originally written for version 3.5 of the MIT kerberos software for Macintosh. Various versions 4.0x have since been made available. Installation can be accomplished by clicking on the "Kerberos for Mac 4.0" installer application. This should install everything into the disk containing your System Folder. This version includes the Kerberos Floating Window (for status), and Kerberos Menu on the menubar (a quick way to create/destroy tickets and to open the Kerberos Control Panel). You will need to reboot probably twice, then, assuming your Kerberos Preferences file is configured properly, you should successfully get a ticket for your principal.

Note that MIT Kerberos for Macintosh was shipped as part of Mac OS X in the OS X 10.1 update shipped by Apple. There is a kit of "extras" for OS X 10.1 with some additions to what was shipped with the OS. See http://web.mit.edu/macdev/Development/MITKerberos/Common/Documentation/osx-kerberos-extras.html.

24.1.1 Changes in MIT Kerberos for Macintosh 4.0

See http://web.mit.edu/macdev/Development/MITKerberos/Common/Documentation/release-4.0.html. A big change is better OS X support. User interface changes relative to v3.5 include:

Regarding installation, version 4.0 includes two installer programs, one for OS X and the other for OS 8/9 (supports 8.1 through 9.2.1) but is otherwise much the same as version 3.5.

24.1.2 Download Kerberos from the MIT Web Site

  1. Bring up the MIT Kerberos for Macintosh web page, at URL http://web.mit.edu/macdev/www/kerberos.html.
  2. Select Getting MIT Kerberos for Macintosh.
  3. On this page, look for the paragraph that starts "If you are outside of MIT but still in the US or Canada...". Click on the download page link in that paragraph.
  4. This brings you to the Kerberos Distribution Authorization Form. Answer the three questions, and submit the form to arrive at the download page. (There is a link on this page for Canadian users, which we have not tried or documented.)
  5. Click on the link for MIT Kerberos for Macintosh 4.
  6. Under the small heading "Binaries and SDKs", click Binhexed self mounting disk image.

24.1.3 Items that Appear on your Desktop

You'll find three new items on your desktop once the transfer finishes (This section has not been updated since v3.5; you will find similar things for v4.0.):

There will also be a new disk volume from mounting the .smi (if the disk is not present, double-click the .smi file).

Discard the hqx file, and open the MIT Kerberos for the Mac folder. This folder contains:

The Kerberos for Macintosh 4.0 disk will have similar contents with the addition of the "Kerberos for Mac OS X 4.0" application and a link "Mac OS X SDK Information". Note that 4.0 supports both Mac OS 8.1 through 9.1 as well as Mac OS X.

24.1.4 Installation Instructions

(This section has not been updated since v3.5; v4.0 is similiar.) We refer you to the Read Me file to complete the installation of MIT Kerberos for the Mac, but we provide a few clarifications here:

After installation, if you get the error message "preauthentication fails" when you attempt login via the Get Tickets button, it is most likely caused by a password or time-sync error. First verify your password is correct. Then, synchronize your machine with the network time (follow the instructions at http://hdstock.mit.edu/answers/102.html). The Date & Time control panel under OS 8.6 and later allows one to select a Network Time Server. The Apple time server (time.apple.com) can be used.

24.2 Configuring the Kerberos Software

24.2.1 The Preferences File

The Kerberos Preferences file needs to contain information for Fermilab's strengthened realm(s). Edit the file or just replace the initial contents with that of the krb5.conf file from either the krb5conf product in KITS or a machine in the Fermilab FNAL.GOV realm (note that pasting text directly from a web browser may cause end-of-line problems). A Fermi-configured Preferences file is now available for download from http://www.fnal.gov/docs/strongauth/ps/ (see Kerberos_Preferences.sit for the StuffIt archive file, or Kerberos_Preferences.hqx for the BinHexed (ASCII encoding) version of that file). We reproduce the text of the file here:

[libdefaults] 
         default_realm = FNAL.GOV 
         ticket_lifetime =1560 
         checksum_type = 1 
         ccache_type = 2 
         default_tkt_enctypes = des-cbc-crc 
         default_tgs_enctypes = des-cbc-crc 
         noaddresses = true 
 
[realms] 
        FNAL.GOV = { 
                kdc = krb-fnal-1.fnal.gov:88 
                kdc = krb-fnal-2.fnal.gov:88 
                kdc = krb-fnal-3.fnal.gov:88 
                kdc = krb-fnal-4.fnal.gov:88 
                kdc = krb-fnal-5.fnal.gov:88 
                admin_server = krb-fnal-admin.fnal.gov 
                default_domain = fnal.gov 
                auth_to_local = RULE:[1:$1@$0](.*@PILOT\.FNAL\.GOV)s/@.*// 
                auth_to_local = DEFAULT 
        } 
        PILOT.FNAL.GOV = { 
                kdc = krb-pilot-1.fnal.gov:88 
                kdc = krb-pilot-3.fnal.gov:88 
                kdc = krb-pilot-4.fnal.gov:88 
                kdc = krb-pilot-5.fnal.gov:88 
                admin_server = krb-pilot-admin.fnal.gov 
                default_domain = fnal.gov 
                auth_to_local = RULE:[1:$1@$0](.*@FNAL\.GOV)s/@.*// 
                auth_to_local = DEFAULT 
        } 
        WIN.FNAL.GOV = { 
                kdc = newpckits.fnal.gov:88 
                admin_server = newpckits.fnal.gov 
                default_domain = fnal.gov 
        } 
 
[domain_realm] 
        .fnal.gov = FNAL.GOV 
        .hep.net = FNAL.GOV 
        .minos-soudan.org = FNAL.GOV 

Note: if you have to deal with Network Address Translation (NAT), see section 5.9.4 Network Address Translation.

24.2.2 Select Favorite Realms

After modifying the Kerberos Preferences, start the Kerberos Control Panel and select the Favorite Realms item from the Edit menu. Use the dialog box to copy your favorite realms from the right to the left-hand side of the screen.

24.2.3 Edit Preferences

Edit your login preferences, and make sure you check Forwardable tickets always:

Edit your ticket lifetime preferences (the KDC limits the ticket lifetime to 26 hours):

24.2.4 Edit Favorites

24.3 Installing Telnet Client

BetterTelnet and NiftyTelnet with Kerberos v5 support are the only telnet products that we know of at this time that work on the Macintosh. We document BetterTelnet here. You'll need both it and an associated plug-in installed on your machine.

  1. Bring up the MIT Kerberos for Macintosh web page, at URL http://web.mit.edu/macdev/www/kerberos.html. Select Frequently Asked Questions.
  2. Look for the Q/A that discusses telnet (you can search on "BetterTelnet"). Click on the link BetterTelnet and Kerberos plugin. This brings you to the FTP site:

    ftp://ftp.cmf.nrl.navy.mil/pub/chas/MIT_Kerberos_3.5/.

  3. If you don't already have BetterTelnet installed, click on BetterTelnet 2.0f... and install this software first.
  4. Once BetterTelnet is installed, download Telnet_Plugin.bin from the same FTP site and copy it to the BetterTelnet folder on your machine.

24.4 Configuring Telnet

  1. Invoke BetterTelnet. On the Favorites menu, choose Edit Favorites. You should create one configuration for each strengthened host you plan to access.

  1. To create a new configuration, on the pop-up screen, click New. Then, with the General tab selected, type in an Alias which will be used to identify the host (this can be any string) and the Host Name.

  1. Very important!! Change to the Security tab, check Kerberos authentication and Kerberos encryption. Kerberos forwarding is recommended. The protocol should be left as telnet (the default). Filling in other fields is optional (even if you fill in your Kerberos password, you need to provide it again when you authenticate). Click OK to save the configuration.

24.5 Kerberized FTP Client

Fetch 3.0.4 beta Secure is freeware for Macintosh. It can be downloaded from the MIT Kerberos Distribution Page at http://web.mit.edu/network/kerberos-form.html.

Also, Fetch 4.0 is shareware available from Fetch Softworks at http://www.fetchsoftworks.com/. Installation instructions are not provided here (at least not yet!).

24.6 Authenticating to Kerberos

24.6.1 Authenticate via Kerberos Control Panel

You should see a ticket appear. Now you can invoke your telnet product (BetterTelnet or NiftyTelnet) and connect to one or more strengthened hosts without having to provide your password again.

24.6.2 Authenticate at Login

Invoke BetterTelnet or NiftyTelnet and connect to a strengthened host. You will be prompted for your Kerberos password, and then authenticated once you have provided it.

1
Version 4.0a12 has since been made available.


TOC PREV NEXT INDEX
View/print PDF file
Back to Strong Auth Index Page | Computing Division| Fermilab at Work | Fermilab Home

--------
Security, Privacy, LegalFermi National Accelerator Laboratory


This page generated on: 07/30/02 14:23:26