Technical Notes |
|
This technical note explains how to configure Reflection for the Web to use a Kerberos based service ticket in place of your user name and password when logging on to an IBM iSeries server. This functionality makes it unnecessary to your user name and password in clear text. Users can access iSeries resources based on their Active Directory domain authentication (or Kerberos authentication).
This feature can be used in network environments based on Microsoft Active Directory Domains, or non-Microsoft platforms that have an appropriately configured Kerberos realm.
If your network environment is based on Microsoft Active Directory, this feature can be used to provide users access to iSeries servers without requiring additional logons. Reflection can use a Kerberos ticket to access the iSeries resources.
If your network environment is based on a non-Microsoft platform, such as Mac or Linux, this feature can be used to provide users access to multiple iSeries servers, after a single logon to the Kerberos realm.
Follow the suggestions in the following sections to configure the Reflection for the Web automatic sign-on feature.
The following are system requirements for Reflection automatic sign-on support.
Before configuring Reflection to use automatic sign-on, access the iSeries Navigator using an administrative ID and address these topics for the Kerberos realm and iSeries.
For more information on these topics, see the IBM iSeries Information Center:
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/
http://publib-b.boulder.ibm.com/abstracts/sg246975.html?
Additionally, IT Jungle has the following series of articles available on this topic:
http://www.itjungle.com/fhg/fhg042705-story03.html
http://www.itjungle.com/fhg/fhg050405-story03.html
This section explains how to configure Microsoft Windows so that Reflection for the Web can use the Kerberos ticket for authentication and access. If you are not running Reflection in a Microsoft Windows Domain, skip to Create a Reflection Session with Kerberos Automatic Sign-On. Otherwise, follow the steps below.
The features of Kerberos that are used by Reflection for the Web require that Windows user accounts be configured to use DES encryption. By default, Windows uses RSA emulation.
To configure user accounts to use DES encryption, you need to perform the following steps on the server hosting Active Directory, for each user account. These steps can be performed by modifying group or system-wide policies.
Note: If you do not want to require pre-authentication before issuing a TGT, you must also enable "Do not require Kerberos preauthentication" for each user. However, enabling this setting decreases the security of your Kerberos configuration
By default, Microsoft Windows Server 2003, Windows 2000 Server SP4 and Windows XP SP2 are configured not to export the TGT session key for access by other programs. As a result, the TGT obtained on Windows has a blank session key.
Follow these steps to update the Windows registry and configure Windows to allow other programs access to the TGT session key information.
Warning: Proceed with extreme caution when editing the Windows Registry. It is critical to back up the Registry before you proceed. For full details and warnings regarding editing the Windows Registry, see Microsoft Article 256986:
http://support.microsoft.com/default.aspx?scid=
For Windows Server 2003 and Windows 2000 SP4:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\Kerberos\ParametersFor Windows XP SP2:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\Kerberos\Export the updated Windows registry key, and use Windows Active Directory, SMS, or any other method to push the registry updates out to the Reflection for the Web client workstations.
Follow the steps below to create a Reflection for the Web 2008 (or Reflection for the Web 9.x) session with Kerberos automatic sign-on enabled.
To verify that your session has been successfully set up for Kerberos automatic sign-on, logon to the domain and then start up the session. You should be logged in automatically to the iSeries host.
This section provides troubleshooting steps and resources for several common errors.
| Error |
KDC has no support for encryption type (14) |
| Cause |
This error occurs in Windows domains if the Windows encryption method is not changed from RSA RC4 to DES or the registry is not updated to export the session key. To view the current TGT, and determine the current encryption type or visibility, use the Microsoft Kerbtray utility. To obtain and use Kerbtray, follow these steps. 1. Download the Windows Server 2003 Resource Kit Tools from Microsoft Downloads at: http://www.microsoft.com/downloads/details.aspx?FamilyID =9d467a69-57ff-4ae7-96ee-b18c4790cffd 2. Install the Resource Kit. 3. Click Start > Programs > Windows Resource Kit Tools > Command Shell, and then enter kerbtray.4. Select the TGT you want to view, and then click the Encryption Types tab. The encryption type is shown in the Key Encryption Type field. |
| Resolution |
To resolve this problem, follow the steps in Configuring Windows for Reflection Automatic Sign-On. |
| Error |
Could not load configuration file krb5.conf. |
| Cause |
Reflection is looking for a krb5.conf file because the "Use default realm and KDC in Kerberos configuration file" radio button is selected in the Reflection for the Reflection for the Web Connection > Session Setup > More Settings dialog box. |
| Resolution |
Provide a krb5.conf configuration file in the expected location or specify a realm and KDC for this setting. |
| Error |
Pre authentication information was invalid (24) |
| Cause |
User is not logged in to the domain when running the iSeries session. |
| Resolution |
Log on to the domain and try again. |
For further troubleshooting errors and details, see Sun's Java Kerberos troubleshooting information at:
http://java.sun.com/javase/6/docs/technotes/guides/security/jgss/tutorials/Troubleshooting.html