Microsoft KB Archive/937011

= Password expiration messages no longer appear in Outlook Web Access after you update Exchange Server 2003 =

Article ID: 937011

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange Server 2003 Enterprise Edition

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
Consider the following scenario:  You configure the option that lets you use Microsoft Office Outlook Web Access for Exchange Server 2003 to change domain passwords. Password expiration messages appear as expected in Outlook Web Access.

Note The password expiration messages appear as yellow a banner in the upper part of the details pane in Outlook Web Access. These messages resemble the following:

Your password expires in 6 days. Use the Options page to change your password.



After you apply updates to Exchange, the password expiration message may no longer appear for Outlook Web Access users. You may experience this problem after you apply one of the following updates:

924334 The Compose Message form stops responding after you install Internet Explorer 7.0 and the S/MIME control on an Outlook Web Access client in Exchange Server 2003

926666 Update for daylight saving time changes in 2007 for Exchange 2003 Service Pack 2

Note This problem may also occur after you apply any update that updates the Davex.dll file to version 6.5.7651.60 or to a later version.



CAUSE
This problem occurs for the following two reasons:
 * The pwdLastSet attribute is not a member of the Lightweight Directory Access Protocol (LDAP) partial set.
 * The pwdLastSet attribute is included in the cacheable attributes collection of naming context-based objects.

If the first request to the user object uses the global catalog, the pwdLastSet attribute is cached in DSACCESS together with a value of Not set. Therefore, when the Davex component retrieves the value of the pwdLastSet attribute, the following behavior occurs:
 * If the DSACCESS component has an unexpired cached value, the cached value is returned in the LDAP query.
 * If the cached value is Not set, the LDAP query returns a value of zero to Davex.
 * If the value is zero, Davex does not display the password notification message to the user in Outlook Web Access.



WORKAROUND
To work around this problem, perform both of the following actions:
 * Add the pwdLastSet attribute to the LDAP partial set of the global catalog on the schema master.
 * Configure the pwdLastSet attribute to replicate to the global catalog.

To do this, follow these steps.



Step 1: Enable updates to the Active Directory directory service schema
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Set the Schema Update Allowed registry entry to let the schema administrator modify the schema. To do this, follow these steps:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following registry subkey:

 

 In the details pane, right-click Schema Update Allowed, and then click Modify.</li> In the Value data box, type 1 (one), and then click OK.</li> Exit Registry Editor.</li></ol>

Step 2: Set the &quot;isMemberOfPartialAttributeSet&quot; attribute value to TRUE
Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.

To add the pwdLastSet attribute to the LDAP partial set of the global catalog, you must set the isMemberOfPartialAttributeSet attribute value to TRUE on the schema master. After you set the isMemberOfPartialAttributeSet attribute, you must give enough time for the Active Directory directory service to replicate the change among the domain controllers in the domain.

To set the isMemberOfPartialAttributeSet attribute to TRUE, follow these steps: <ol> Start the ADSI Edit tool. To do this, click Start, click Run, type adsiedit.msc, and then click OK.

Note The ADSI Edit tool is included with the Windows Support Tools. To install the Windows Support Tools, double-click Supptools.msi in the Support\Tools folder on the Windows Server 2003 CD.</li> Expand Schema [ .example.com, and then click CN=Schema,CN=Configuration,DC=example,DC=com.</li> In the details pane, right-click CN=Pwd-Last-Set, and then click Properties.</li> In the CN=Pwd-Last-Set Properties dialog box, click isMemberOfPartialAttributeSet, and then click Edit.</li> In the Boolean Attribute Editor dialog box, click True, and then click OK.</li> Click Apply, click OK, and then exit the ADSI Edit tool.</li> Give enough time for the changes to replicate among the domain controllers in Active Directory. For more information about how to force replication to occur in Active Directory, visit the following Microsoft Web site:

http://207.46.196.114/windowsserver/en/library/2d89f34a-b6db-4b8d-ab9f-c081c53658d61033.mspx?mfr=true

</li></ol>

Step 3: Register the Schmmgmt.dll file
To configure the pwdLastSet attribute to replicate to the global catalog, you must use the Active Directory Schema stand-alone Microsoft Management Console (MMC) snap-in. By default, this snap-in does not appear in the Available Standalone Snap-ins list in Microsoft Windows Server 2003. For this snap-in to appear, you must register the Schmmgmt.dll file.

To do this, follow these steps: <ol> Click Start, click Run, type regsvr32 c:\windows\system32\schmmgmt.dll, and then click OK.

Note If Windows is installed on a drive other than drive C or if Windows is installed in a folder other than the Windows folder, modify this path as appropriate.</li> If you receive the following message, click OK:

DllRegisterServer in c:\windows\system32\schmmgmt.dll succeeded.

</li></ol>

Step 4: Replicate the &quot;pwdLastSet&quot; attribute value to the global catalog
Configure the pwdLastSet attribute to replicate to the global catalog. To do this, follow these steps:
 * 1) Click Start, click Run, type mmc, and then click OK.
 * 2) On the File menu, click Add/Remove Snap-in.
 * 3) Click Add, click Active Directory Schema, and then click Add.
 * 4) Click Close, and then click OK.
 * 5) In the Console1 MMC snap-in, expand Active Directory Schema, and then click Attributes.
 * 6) In the details pane, locate and then double-click pwdLastSet.
 * 7) In the pwdLastSet Properties dialog box, click to select the Replicate this attribute to the Global Catalog check box, and then click OK.

Step 5: Turn off schema updates
Set the Schema Update Allowed registry entry to 0 (zero) to turn off schema updates. To do this, follow the procedure that is listed in the &quot;Step 1: Enable updates to the Active Directory directory service schema&quot; section.

Note In step 4 of this procedure, do not type 0 (zero) in the Value data box. Instead, type 1 (one), and then click OK.

Step 6: Restart the domain controller
Sometimes, you must restart the domain controller to apply the changes. If the Outlook Web Access password expiration message does not appear, restart the domain controller.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

248717 How to modify attributes that replicate to the global catalog

216060 Registry modification required to allow write operations to schema

232517 Global catalog attributes and replication properties

For more information about how to obtain the Microsoft Exchange Server Outlook Web Access Web Administration tool, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=4BBE7065-A04E-43CA-8220-859212411E10&displaylang=en

Additional query words: OWA, iispwd, expiry notification

Keywords: kbenv kbnofix kbbug kbeventlog kbtshoot kbprb KB937011

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.