Languages

Archived - Mac OS X Server v10.5: iChat Kerberos authentication does not work after upgrading from Mac OS X Server v10.4

This article has been archived and is no longer updated by Apple.

Symptoms

After upgrading from Mac OS X Server v10.4 to Mac OS X Server v10.5, iChat users may no longer be able to use Kerberos authentication to the iChat service.

Resolution

Mac OS X Server v10.4 uses a Kerberos service principal for iChat in uppercase format: "XMPP/<hostname>@<REALM>". Mac OS X Server v10.5 and later uses a Kerberos service principal for iChat in lowercase format: "xmpp/<hostname>@<REALM>". During the upgrade to Mac OS X Server v10.5, the lowercase service principal is not created. Administrators should re-kerberize their Mac OS X Server v10.5 server after upgrading as follows.

On the iChat server, execute the following commands in Terminal. Review all instructions before you begin.

  1. Establish root access with this command (you will be prompted for your administrator account password):

    sudo -s

  2. Create the xmpp service principal with this command (you will be prompted for your administrator account password):

    sso_util configure -r REALM.EXAMPLE.COM -f /directory/node -a admin xmpp


    Notes:

    • "REALM.EXAMPLE.COM" is the name of your Kerberos realm in all capital letters (if using Active Directory, the fully qualified domain name of the AD domain where the iChat server's computer account is stored, in all capital letters).
    • admin is the name of the administrator account used for the directory service.
    • If using Open Directory, "/directory/node" is either "/LDAPv3/127.0.0.1" if the iChat server is also the Open Directory master, or the "/LDAPv3/hostname" where hostname is the fully qualified hostname of the of the Open Directory master (as configured in Directory Utility).
    • If using Active Directory, replace "/directory/node" with "/Active\ Directory/domain" where domain is the fully qualified domain name of the Active Directory domain containing the computer account of the iChat server. Note the escaped space between Active and Directory in the above reference.
  3. Restart the server to enable the new service principal.

Additional Information

The following text may appear in the system log files on affected client computers:

iChatAgent[7793]: [SASL] Level 2: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Server not found in Kerberos database)
iChatAgent[7793]: [SASL] Level 2: No worthy mechs found
iChatAgent[7793]: WARNING: SASL could not start negotiation: -4
iChatAgent[7793]: WARNING: JConnection: Error: The host your.server.fqdn does not support Kerberos authentication., type=4, code=21

Last Modified: Jul 23, 2013
Helpful?
Yes
No
  • Last Modified: Jul 23, 2013
  • Article: TS1535
  • Views:

    919
  • Rating:
    • 100.0

    (1 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked