Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to configure a global catalog server to use a specific port when servicing MAPI clients


View products that this article applies to.

This article was previously published under Q298369
Important This article contains information about how to modify the registry. Make sure to 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 (http://support.microsoft.com/kb/256986/ ) Description of the Microsoft Windows registry

↑ Back to the top


Summary

This article explains the steps required to configure Global Catalog servers to use a specific port when servicing requests by MAPI clients. By default, the Name Service Provider Interface (NSPI), which is used by MAPI clients, will listen on a random port. In certain situations (clients connecting through a firewall), you may want to force the Global Catalog server (or servers) to listen on a single pre-defined port so that access to ports can be controlled or locked down on the firewall. This port can can be hard-coded by adding a registry value on the Global Catalog server. To do this, follow these steps.

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 your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
  1. Start Registry Editor (Regedt32.exe).
  2. Locate and select the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters
  3. On the Edit menu, click Add Value, and then add the following registry value:
    Value name: TCP/IP Port
    Data type: REG_DWORD
    Radix: click Decimal
    Value data: Enter the port number that you want (in decimal)

    NOTE: Port assignments should be in the range 1024 through 5000, in decimal.
  4. Quit Registry Editor.
Restart the Global Catalog server so that the static mapping will be read upon the initialization of the NSPI interface.

NOTE: The port number selected should not conflict with other programs, because this will prevent the interface from starting.

↑ Back to the top


More information

For more information about statically mapping ports on Exchange 2000, click the following article number to view the article in the Microsoft Knowledge Base:
270836� Exchange Server static port mappings
For more information about how MAPI clients access the Active Directory, click the following article number to view the article in the Microsoft Knowledge Base:
256976� How MAPI clients access Active Directory

↑ Back to the top


Keywords: KB298369, kbinfo, kbhowto

↑ Back to the top

Article Info
Article ID : 298369
Revision : 9
Created on : 10/25/2007
Published on : 10/25/2007
Exists online : False
Views : 344