Microsoft KB Archive/281682

= How to Use Compass to Connect to Active Directory =

Article ID: 281682

Article Last Modified on 1/25/2006

-

APPLIES TO


 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



This article was previously published under Q281682



SUMMARY
Microsoft Metadirectory Services (MMS) Compass allows you to browse most other Lightweight Directory Access Protocol (LDAP) directory servers. In some situations, you may choose to use MMS Compass to log on to Active Directory. If you simply start Compass and point it at the Active Directory server, you are unable to browse that directory. This is because the remote LDAP server is a non-MMS server and you must first define a root, which Compass will use to traverse the tree. Setting the root base gives Compass an anchor from which to query Active Directory. To set the root, you must run MMS Compass from the command line.



MORE INFORMATION
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 that may require you to reinstall Microsoft Windows 2000 Server and/or Microsoft Exchange 2000 Server. Microsoft cannot guarantee that problems resulting from the incorrect modification of Active Directory object attributes can be resolved. Modify these attributes at your own risk.

To configure Compass to Connect to Active Directory, follow these steps:  Start the command prompt. Type cd \Program Files\Microsoft Metadirectory Services\Compass, and then press ENTER. Type compass2 -r &quot;dc=NwTraders,dc=com&quot;, and then press ENTER. After the logon screen appears, you have the same three methods of logging on as you normally have with Compass: Anonymously, through SMTP address, or through your directory object DN. The following is an example of the Administrators directory object DN for Active Directory:

CN=Administrator,CN=Users,DC=NwTraders,DC=com

 Add the Administrators password.

Compass logs on as the Active Directory Administrator. Click OK. Click Configure in the Servers dialog box.</li> Click New in the Configure Servers dialog box.</li> In the Name box, add the name of the domain (for example, Domain1).</li> Configure a domain controller for compass to connect to in the Servers dialog box. In the host name field, type the Fully Qualified Domain Name for a domain controller that you want to connect to; for example:

server1.Domain1.com

</li> In the Port box, ensure that LDAP port 389 is set.</li> Click OK twice.</li></ol>

It may be useful to create a batch file to automatically set the root for Compass at the command line. The following is an example of a batch file that sets the root and starts the Compass logon screen: c: cd program files\microsoft metadirectory services\compass\ compass2.exe -r &quot;dc=domain1,dc=com&quot; For additional information about using MMS Compass, click the article number below to view the article in the Microsoft Knowledge Base:
 * 1) Assuming the Compass Client is installed on the C: drive.

246878 How to Install and Configure a Compass Client to Log On to a Microsoft Metadirectory Services Server

Additional query words: Metadirectory Compass MMS

Keywords: kbhowto kbinfo KB281682

-

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

© Microsoft Corporation. All rights reserved.