Microsoft KB Archive/831789

From BetaArchive Wiki

Article ID: 831789

Article Last Modified on 7/24/2007



APPLIES TO

  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise x64 Edition




SYMPTOMS

Security Identity Mapping uses a specific format to store the Issuer name and the Subject name in the AltSecurityIdenties property. This format and the format that is used in the Schannel certificate mapper are not homogeneous. This format inconsistency may cause certificate-based authentication to fail.

CAUSE

The Schannel authentication may fail if the certificate that is used for the name mapping contains a plus character (+) either in the Issuer or in the Subject part. For example, if the following *.cer file contains a plus character in the AltSecurityIdenties property that is used for name mappings, the Schannel authentications based on this certificate will fail:

X509:<I>C=FR,O=ORG-TEST,OU=OU-TEST<S>C=FR,O=ORG-TEST,L=Paris (75),OU=OU-TEST,CN=CN-TEST + SN=TEST ANNUAIRE + G=CARTE 2

The Schannel certificate mapper expects the following string (without the plus character) in the AltSecurityIdenties property:

X509:<I>C=FR,O=ORG-TEST,OU=OU-TEST<S>C=FR,O=ORG-TEST,L=Paris (75),OU=OU-TEST,CN=CN-TEST SN=TEST ANNUAIRE G=CARTE 2

This problem occurs because the Microsoft Management Console (MMC) snap-in that creates the mapping does not use the same format (logic) that is used by the SSL handshake when the Schannel authentication tries to map the certificate to a user.

RESOLUTION

Hotfix Information

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

Prerequisites

No prerequisites are required.

Restart requirement

You must restart your computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Date         Time   Version             Size   File name
--------------------------------------------------------------
13-Nov-2003  01:08  5.2.3790.101      462,848  Certmgr.dll
13-Nov-2003  01:08  5.2.3790.101       83,456  Domadmin.dll
13-Nov-2003  01:08  5.2.3790.101      607,232  Dsadmin.dll
13-Nov-2003  01:08  5.2.3790.97       153,088  Schannel.dll

WORKAROUND

To work around this problem, use a custom script to set the X509 AltSecurityIdentities property for the user account. Do not use the MMC snap-in.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

MORE INFORMATION

The AltSecurityIdentities property is a multivalued property that contains mappings for X509 certificates or external Kerberos user accounts for authentication. Various security packages, including public key authentication packages and Kerberos, use this information to authenticate users who present an alternative form of identification (such as certificate or Unix Kerberos ticket). These security packages build a Windows 2000 token based on the alternative form of identification so that the user can access system resources.

For X509 certificates, the values must be the Issuer name and the Subject name in 509v3 certificates that are issued by an external public Certification Authority. These names map to the user account that is used to find an account for authentication. The Schannel package uses the following syntax:

X509:somecertinfotype somecertinfo




For more information about user security attributes and the AltSecurityIdenties property, visit the following MSDN Web page:

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Keywords: kbhotfixserver kbqfe kbbug kbfix kbqfe kbwinserv2003presp1fix KB831789