Solved

Finding An LDAP URL

Posted on 2006-10-28
3
347 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
Comment Utility
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
Comment Utility
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
Comment Utility
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 Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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 …
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.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 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

12 Experts available now in Live!

Get 1:1 Help Now