Solved

Finding An LDAP URL

Posted on 2006-10-28
3
388 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

820 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