Solved

How can I use LDAP?

Posted on 2006-06-21
6
1,611 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
  • 2
  • 2
6 Comments
 

Expert Comment

by:sofestibeest
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
PAQed with points refunded (250)

DarthMod
Community Support Moderator
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

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