Lion Server: AFP users unable to authenticate with Kerberos after upgrading

After upgrading to Lion Server, AFP clients may no longer be able to authenticate via Kerberos. The AFP service may be referencing the LKDC.

This article has been archived and is no longer updated by Apple.
  1. On the AFP server, execute the following command in Terminal using the correct Kerberos REALM_NAME and a user account authorized to make changes in the Kerberos database:

    sudo sso_util configure -r REALM_NAME -a diradmin afp

    Note:  You will be prompted for two passwords. First, for the current user's password, and then for the directory administrator's password.
  2. Restart the server.