Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How can I use LDAP?

Posted on 2006-06-21
6
Medium Priority
?
1,620 Views
Last Modified: 2008-01-09
Hello, we have a server:

WRINTMAIL (windows 2003, active directory etc) I've been told I can use LDAP queries by connecting to this server, but if i got to the server and do:

LDAP://LOCALHOST/

It comes up with a search box, but anything i search returns an error (the specified directory service could not be reached).

My domain is: WRSTAFF.LOCAL
admin login is: administrator
password is: password (for arguements sake)

Any ideas?
0
Comment
Question by:ukkrew
[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
  • 2
6 Comments
 

Expert Comment

by:sofestibeest
ID: 16950555
Hi,

you have to start a command prompt (as an administrator)
type in ldp in the bos
click on file (or something equal) and choose connect.
type in the DC's name and voila.

Moer info is on MS Document:

http://support.microsoft.com/?kbid=224543

Good luck
0
 

Author Comment

by:ukkrew
ID: 16951307
sofestibeest, I get the following error:

ld = cldap_open("wrintmail", 389);
Established connection to wrintmail.
Retrieving base DSA information...
Server error: <empty>
Error<82>: ldap_parse_result failed: Local Error
Getting 0 entries:
-----------
0
 

Expert Comment

by:sofestibeest
ID: 16958611
hi,

Check the dns settings of the servers and Dc's
you can try to run ipconfig /flushdns and trhe ipconfig /registerdns after you have checked the DNS settings

Also check the domain DNS. can you ping the domain??

good luck
0
 

Author Comment

by:ukkrew
ID: 16958631
Hi there,

I found the problem - the exchange server isn't a domian controller - I've connected to our domain controller:

WRINTDC

and it shows a nice long message to say it is connected... but I'm not sure where to go from here to write ldap queries etc...

I'd like to start with something basic, such as a list of usernames & full name - I just don't know how to go about it.

Many thanks!
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 17160251
PAQed with points refunded (250)

DarthMod
Community Support Moderator
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

598 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