image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
Thread Tools
  #1  
Old April 30th, 2008, 06:56 PM
Satcomer's Avatar
In Geostationary Orbit
 
Join Date: Jul 2002
Location: Northern Virginia
Posts: 4,823
Satcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the rough
[HOWTO] Use Address Book with Microsoft Exchange

Read the MacOSXHints.com hint Use Address Book with Microsoft Exchange using LDAP and thought this was great.

Quote:
This quick how-to deals with getting Address Book to work with LDAP (Microsoft Active Directory in our case).

Step 1: Determine the default naming context (base dn) for the search. Fire up Terminal and issue an ldapsearch to determine the default naming context:

$ ldapsearch -h your.exchange.server -x -b '' -s base '(objectclass=*)' 'namingContexts'

Search for the lines beginning with namingContexts:
namingContexts: DC=mycompany,DC=com
namingContexts: CN=Configuration,DC=mycompany,DC=com
namingContexts: CN=Schema,CN=Configuration,DC=mycompany,DC=com
The result you are looking for is the "base/root" and that is the shortest one in the case of Exchange (BTW, this will work on other LDAP servers, too). In this case, that's the first line, ie. DC=mycompany,DC=com.

Step 2: Configure Address Book to query the server. Fire up Address Book and go to the Preferences (Command-,). Select the LDAP tab, then click the "+" to add a new server. In the Server field, complete the hostname of your Exchange server (or Active Directory domain controller in the case of larger companies). In the Search Base field, use the information that you retrieved from ldapsearch earlier. It will be in the format DC=company,DC=com. Choose Simple authentication, and User Name and Password should be your standard Windows login credentials.
__________________
PowerMac G5 Dual 1.8(Rev A.), , 7 Gig RAM, Pioneer DVR-110, ATI X800XT, OS X 10.4.11 & 10.5.3, 23'' HD LCD
Mac Book Pro Core 2 Duo 2.16Mhz, SuperDrive, ATI X1600, 2GB RAM, OS X 10.5.3
Tibook 400Mhz, DVD drive, 1024 RAM, ATI Rage, OS X 10.4.7
1TB Time Capsule
5g iPod 30Gig White
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 08:02 PM.


Mac Support® Version 3.7.0 Beta 5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.