?
Solved

Finding An LDAP URL

Posted on 2006-10-28
3
Medium Priority
?
414 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Assisted Solution

by:Joesmail
Joesmail earned 2000 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 2000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

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.
This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

801 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