Solved

Finding An LDAP URL

Posted on 2006-10-28
3
377 Views
Last Modified: 2012-05-05
I would like to access the company server's Active Directory so I can write a simple phonebook program.  It would seem that I need to use LDAP to connect to it in order to grab a recordset.  Is there anyway to figure out what the LDAP URL is based on settings and properties in Outlook (or otherwise)?

Mike
0
Comment
Question by:shacho
  • 2
3 Comments
 
LVL 10

Assisted Solution

by:Joesmail
Joesmail earned 500 total points
ID: 17824986
LDAP is relatively easy.  Trying to get the company address book is not so easy from what I gathered.  It looks like they removed ways to expose an interface for the address book when programming outlook as well  (this is probably to stop hackers from obtaining every address in an organisation).

http://support.microsoft.com/kb/841273
Q11: Can I programmatically download an Offline Address Book through the Outlook object model?
A11: No. Offline Address Book downloads are not exposed through the Outlook object model.

You might be better off using this article by Microsoft to query users and their addresses via AD.
http://support.microsoft.com/?kbid=238007
0
 
LVL 10

Accepted Solution

by:
Joesmail earned 500 total points
ID: 17825026
Adding to the points above.

If you want to use a tool to query the AD using LDAP use the LDAP query tool provided with Microsoft Support Tools.
http://support.microsoft.com/?kbid=255602

http://www.microsoft.com/technet/prodtechnol/exchange/2003/insider/ldapquery.mspx
0
 

Author Comment

by:shacho
ID: 17830694
I managed to figure it out.  Thanks for your comments.  I have a new question here:  Please take a look when you can.
http://www.experts-exchange.com/Networking/Q_22041767.html

Cheers,

Mike
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question