Error message if you try to bind to ADAM by using an account that is locked out or that has an expired password (919336)



The information in this article applies to:

  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition

SYMPTOMS

Consider the following scenario:
  • Active Directory Application Mode (ADAM) 1.1 with Service Pack 1 (SP1) is installed on a Microsoft Windows Server 2003-based computer.
  • You try to bind to ADAM on this computer by using an account that is locked out or that has an expired. password
In this scenario, you may receive a Lightweight Directory Access Protocol (LDAP) error message that resembles the following:
LDAP: error code 49 - 80090304: LdapErr: DSID-0C090311, comment: AcceptSecurityContext error, data 20ee, vece 20ee = ERROR_DS_INTERNAL_FAILURE
Note This error message is incorrect. This message occurs only when one of the following scenarios is true:
  • The account password is expired.
  • The account is locked out.
  • The account password must be changed.

RESOLUTION

Hotfix information

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

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. 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.

Prerequisites

To apply this hotfix, you must have ADAM SP1 installed.

Restart requirement

You must restart the 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 file attributes) 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 item in Control Panel.
File nameFile versionFile sizeDateTimePlatform
Adamdsa.dll1.1.3790.27241,630,72014-Jun-200613:56x86

STATUS

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

MORE INFORMATION

This section describes two scenarios in which this problem occurs.

Scenario 1: The password naturally expires

  1. Your account password expires.
  2. You try to bind to ADAM by using your account.
  3. You receive a "20ee" exception error.

LDAP error message

Error <49>: ldap_simple_bind_s() failed: Invalid Credentials Server error: <empty>

Network Monitor trace

00000040                                      38 30 30 39             8009
00000050  30 33 30 43 3A 20 4C 64 61 70 45 72 72 3A 20 44 030C:.LdapErr:.D
00000060  53 49 44 2D 30 43 30 39 30 33 33 36 2C 20 63 6F SID-0C090336,.co
00000070  6D 6D 65 6E 74 3A 20 41 63 63 65 70 74 53 65 63 mment:.AcceptSec
00000080  75 72 69 74 79 43 6F 6E 74 65 78 74 20 65 72 72 urityContext.err
00000090  6F 72 2C 20 64 61 74 61 20 32 30 65 65 2C 20 76 or,.data.20ee,.v
000000A0  65 63 65 00                                     ece.            

Security event log message

Event Type: Failure Audit Event Source: Security Event Category: Account Logon Event ID: 680 Description: Logon account: <account> Source Workstation: <workstation> Error Code: <error code>

ADAM event log message

No related internal processing events are logged.

Scenario 2: The administrator forces a password change

  1. You bind to ADAM by using an administrator account.
  2. You force a user to change their password at the next logon by setting the pwdLastSet attribute to 0.
  3. This user tries to bind to ADAM by using the new password.
  4. The user receives a "20ee" exception error.

LDAP error message

0 = ldap_set_option(ld, LDAP_OPT_ENCRYPT, 0) res = ldap_simple_bind_s(ld, 'CN=user@test,CN=users,DC=domain,DC=com', <unavailable>); // v.3 Error <49>: ldap_simple_bind_s() failed: Invalid Credentials Server error: <empty>

Network Monitor trace

00000030                    30 84 00 00 00 68 02 01 05 61       0....h...a
00000040  84 00 00 00 5F 0A 01 31 04 00 04 58 38 30 30 39 ...._..1...X8009
00000050  30 33 30 43 3A 20 4C 64 61 70 45 72 72 3A 20 44 030C:.LdapErr:.D
00000060  53 49 44 2D 30 43 30 39 30 33 33 36 2C 20 63 6F SID-0C090336,.co
00000070  6D 6D 65 6E 74 3A 20 41 63 63 65 70 74 53 65 63 mment:.AcceptSec
00000080  75 72 69 74 79 43 6F 6E 74 65 78 74 20 65 72 72 urityContext.err
00000090  6F 72 2C 20 64 61 74 61 20 32 30 65 65 2C 20 76 or,.data.20ee,.v
000000A0  65 63 65 00                                     ece.            

Security event log message

Event Type: Failure Audit Event Source: Security Event Category: Account Logon Event ID: 680 Description: Logon account: <account> Source Workstation: <workstation> Error Code: <error code>

ADAM event log message

No related internal processing events are logged.

For more 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


Modification Type:MinorLast Reviewed:9/22/2006
Keywords:kbBug kbfix kbQFE kbhotfixserver kbpubtypekc KB919336 kbAudITPRO