Error Messages When Router (Activeds.dll) Calls OpenProcessToken() with TOKEN_ALL_ACCESS in Windows NT 4.0 (325291)
The information in this article applies to:
- Microsoft Active Directory Client Extension, when used with:
- the operating system: Microsoft Windows NT 4.0
This article was previously published under Q325291 SYMPTOMS
Code that is written to use the ADSI ADODB provider and to set Integrated Security to "SSPI" may not work and may generate "Access denied" error messages when the code tries to use the Open and Execute methods of the ADODB.Connection object.
This problem may occur when you use Active Directory Client Extension for Microsoft Windows NT 4.0 Workstation to query against Microsoft Exchange 5.5 Server by using ADSI. The error codes that you receive when this problem occurs may include any of the following messages:
Access denied
0xc0000022
E_FAIL
0x80004005
CAUSE
If you use the ADSI ADODB provider (ADsDSOObject) with the Integrated Security property set to "SSPI," the OpenThreadToken and OpenProcessToken functions are used, and TOKEN_ALL_ACCESS is supplied for the DesiredAccess parameter.
Microsoft Knowledge Base article Q225091 indicates that TOKEN_ADJUST_SESSIONID is a new access mask for Microsoft Windows 2000 and Microsoft Windows XP. Because Windows NT 4.0 does not define TOKEN_ADJUST_SESSIONID, calls to OpenThreadToken and OpenProcessToken in Windows NT 4.0 with this flag may cause error messages. For additional information about this mask, click the article number below
to view the article in the Microsoft Knowledge Base:
225091 PRB: OpenThreadToken()/OpenProcessToken() Fails with ERROR_ACCESS_DENIED
RESOLUTIONA supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site: NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English version of this fix 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
--------------------------------------------------------
02-Aug-2002 04:52 5.0.2195.5995 182,544 Activeds.dll
NOTE: Because of file dependencies, this hotfix requires Microsoft Windows NT 4.0 Service Pack 6a.
STATUSMicrosoft has confirmed that this is a problem in Windows NT 4.0.
Modification Type: | Minor | Last Reviewed: | 9/27/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbfix kbQFE kbWinNT400nospFix KB325291 |
---|
|