Microsoft KB Archive/280766

From BetaArchive Wiki
Knowledge Base


Article ID: 280766

Article Last Modified on 1/29/2007



APPLIES TO

  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2



This article was previously published under Q280766

SYMPTOMS

When GetUserNameEx is used to make an SSL call to a Microsoft Internet Information Server-based server, you may receive a 1212 error code that is translated to:

The format of the specified domain name is invalid.

When an ADSGetObject Active Directory Service call is made, it may generate the following 0x80005000 error:

E_ADS_BAD_PATHNAME

CAUSE

AdsGetObject does not work because of delegation. The call goes as anonymous during communication to the domain controller (DC). Because of this, during the search for a Fully Qualified Domain Name (FQDN), the server returned success with no entries.

The client uses schannel certificate mapping to authenticate to the server that is running Internet Information Server (IIS). Schannel builds a token that cannot be delegated on the IIS server (SSL/TLS is a non-delegatable protocol), and schannel uses pass through and sends only certificates and names.

The IIS server impersonates the client token, and makes an ADSI call to the DC. Negotiation routes to NTLM because no Kerberos credentials exist, and NTLM drops to anonymous because no primary credentials exist.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack


The English version of this fix should have the following file attributes or later:

   Date         Time     Version        Size      File name
   -----------------------------------------------------------------
   6/13/2001   05:32p   5.0.2195.3738   501,520   Lsasrv.dll (56-bit)
   6/13/2001   05:51p   5.0.2195.3649   130,320   Adsldpc.dll
   6/13/2001   05:51p   5.0.2195.3737   355,088   Advapi32.dll

   6/13/2001   05:47p   5.0.2195.3738   519,440   Instlsa5.dll
   6/13/2001   05:51p   5.0.2195.3738   142,608   Kdcsvc.dll
   6/13/2001   05:43p   5.0.2195.3738   209,008   Kerberos.dll
   5/29/2001   09:26a   5.0.2195.3649    69,456   Ksecdd.sys
   6/13/2001   05:32p   5.0.2195.3738   501,520   Lsasrv.dll
   6/13/2001   05:32p   5.0.2195.3738    33,552   Lsass.exe
   6/13/2001   05:31p   5.0.2195.3738   112,128   Msv1_0.dll
   6/13/2001   05:51p   5.0.2195.3727   909,072   Ntdsa.dll
   6/13/2001   05:51p   5.0.2195.3678   382,736   Samsrv.dll
   5/29/2001   09:53a   5.0.2195.3649   128,784   Scecli.dll
   5/30/2001   02:19a   5.0.2195.3649   299,792   Scesrv.dll
   6/13/2001   05:51p   5.0.2195.3738    46,864   Secur32.dll
   6/13/2001   05:51p   5.0.2195.3649   123,664   Wldap32.dll
                



WORKAROUND

To try to work around this problem, use any of the following methods.

  • Use RevertToSelf before you make the call to the DC, restore the original token after the call, and then run IIS under a domain user account that has access to the objects in question.
  • Adjust the ACLs on the appropriate objects to grant everyone the minimum-needed access (read).
  • Run IIS on the DC. This works because it effectively avoids the second authentication process.


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.

MORE INFORMATION

For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product


For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot


For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes



Additional query words:

Keywords: kberrmsg kbbug kbfix kbwin2000presp3fix kbqfe kbwin2000sp3fix kbenv kbsecurity kbhotfixserver KB280766