Solved

Finding An LDAP URL

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

914 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now