Microsoft KB Archive/821743

= The gatewayProxy attribute on the Recipient Update Service object is not cleared =

Article ID: 821743

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Exchange Server 2000 Service Pack 3
 * Microsoft Exchange 2000 Server Service Pack 2
 * Microsoft Exchange Server 2000 Service Pack 1

-





SYMPTOMS
The gatewayProxy attribute of the Recipient Update Service object is not cleared after a recipient policy is applied. The gatewayProxy attribute stays populated with proxy entries from a specific recipient policy that was previously applied.



CAUSE
This issue may occur if any of the following conditions are true:  There are problems with the Microsoft Active Directory directory service replication. If Exchange System Manager uses a different domain controller than the domain controller that is used by the Exchange 2000 computer that runs the Recipient Update Service, there may be latency issues or other issues with Active Directory replication. There are non-transaction timing issues that cause changes to be lost. This behavior may occur when both Exchange System Manager and the system attendant (Mad.exe) access the gatewayProxy attribute at the same time. Both Exchange System Manager and Mad.exe try to read the attribute, make changes, and then write the attribute back.

The following scenario helps to illustrate this issue:

Note In this example, Mad.exe tries to remove the address2 value from the gatewayProxy attribute, and Exchange System Manager tries to add the address4 value to the gatewayProxy attribute.  The gatewayProxy attribute contains the address1 value, the address2 value, and the address3 value. Mad.exe and Exchange System Manager both read the address1 value, the address2 value, and the address3 value. Mad.exe writes the address1 value and the address3 value. Exchange System Manager writes the address1 value, the address2 value, address3, and the address4 value.</ol> </li> You apply a recipient policy, and then the Recipient Update Service or the Mad.exe process is killed, stops responding, or is stopped. In this scenario, the gatewayProxy attribute is not cleared because it has not completed processing the objects that apply to the policy. When you restart the Recipient Update Service or the Microsoft Exchange System Attendant service, the Mad.exe process does not remove or clear the gatewayProxy attribute. Specifically, the hrEndTransaction function is not called.</li></ul>

<div class="resolution_section">

RESOLUTION
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 resolve this issue: <ol> Set the Recipient Update Services to never run. To do so:

Note Before you change the Recipient Update Services setting, note its current value, because you must change it back to its original setting later. <ol style="list-style-type: lower-alpha;"> Start Exchange System Manager.</li> Click Recipients.</li> Click Recipient Update Services.</li> In the right pane, right-click a Recipient Update Service, and then click Properties.</li> On the General tab, in the Update interval list, click Never run.</li></ol> </li> Wait approximately one to two minutes.</li> Use ADSI Edit or the LDP tool (both tools are included in the Microsoft Windows 2000 Support Tools on the Microsoft Windows 2000 CD-ROM) to manually clear the gatewayProxy attribute. To use ADSI Edit to clear the attribute: <ol style="list-style-type: lower-alpha;"> Click Start, point to Programs, point to Windows 2000 Support Tools, click Tools, and then click ADSI Edit.</li> Click the Configuration container.</li> Click CN=Configuration,DC= .</li> Click CN=Services, click CN=Microsoft Exchange, click CN= , and then click CN=Address Lists Container.</li> Click CN=Recipient Update Services.</li> In the right pane, right-click the domain Recipient Update Service, and then click Properties.</li> In the Select a property to view list, click gatewayProxy.</li> <li>In the Value(s) box, click any address type that remains populated, and then click Remove.</li> <li>Click OK, and then quit ADSI Edit.</li></ol> </li> <li>Force a directory replication to occur after you clear the gatewayProxy attribute. Make sure that replication occurs before you let the domain Recipient Update Service run again.</li> <li>Set the domain Recipient Update Service schedule back to its previous required schedule setting.</li> <li>If you have to, reapply the specific recipient policies.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
The Mad.exe process removes the completed entries from the gatewayProxy attribute. If you view the list that is contained in the gatewayProxy attribute, you cannot determine if any particular entry has been completely applied and can be removed. The Exadmin.dll file contains the code that adds entries to the list.

<div class="references_section">