Complete the following sections to enable Active Directory to assign Kerberos tickets. When a user logs in to Active Directory, he or she is automatically issued a Kerberos ticket.
The spn and ktpass utilities must be installed on the Active Directory domain controller. These utilities are not installed by default. You need both of these utilities to configure the Access Manager Identity Server for Kerberos authentication.
Insert the Windows 2003 disk into the CD drive.
To install the utilities, run \SUPPORT\TOOLS\SUPTOOLS.MSI on the CD.
The utilities are installed in C:\Program Files\Support Tools.
Creating this account allows the Identity Server from Access Manager to run as a service.
In the user management tool, using the following information to create the user account:
firstname: Specify a name for the Identity Server.
lastname: Specify a name for the Identity Server.
userPrincipalName: Specify the userPrincipalName. The format is HTTP/your.idp.fqdn@YOUR.DOMAIN.
For example: HTTP/amser.provo.novell.com@AD.NOVELL.COM
samAccountName: Specify the samAccountName for the user. It consists of the firstname-lastname (required for the setspn utility).
password: Specify a password for this user account.
Deselect the option
and select the option . The user account needs a password, but it must never expire or be changed.Set the servicePrinicpalNames on the user object.
From a command line, enter:
setspn -a HTTP/amserv.provo.novell.com@AD.NOVELL.COM samAccountName
From a command line, enter:
setspn -a HTTP/amserv.provo.novell.com samAccountName
Use the ktpass utility to export the keytab file. This sends the Kerberos token to the Identity Server instead of directly to the SAP Portal, to allow the single sign-on to occur.
ktpass /out nidp.keytab /princ HTTP:///amserv.provo.novell.com@AD.NOVELL.COM /mapuser samAccountName@AD.NOVELL.COM /pass secret +DesOnly /crypto DES-CBC-MD5 /ptype KRB5_NT_PRINCIPAL
Copy the keytab file to jre directory on the Identity Server.
Linux: /opt/novell/java/jre/lib/security
Windows: C:\Program Files\Novell\jre\lib\security
The keytab file contains the secret encryption key that is used to decrypt the Kerberos ticket. You need to generate the keytab file and copy it to the Identity Server.
On the Active Directory server, open a command window and enter a ktpass command with the following parameters:
ktpass /out value /princ value /mapuser value /pass value
The command parameters require the following values:
For this configuration example, you would enter the following command to create a keytab file named nidkey:
ktpass /out nidkey.keytab /princ HTTP/amser.provo.novell.com@AD.NOVELL.COM /mapuser/ amser@AD.NOVELL /pass novell
Copy the keytab file to the Identity Server.
The default location for the keytab file on the Identity Server is:
Linux: /opt/novell/java/jre/lib/security
Windows: C:\Program Files\Novell\jre\lib\security