Solved

How can I use LDAP?

Posted on 2006-06-21
6
1,613 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
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

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

Suggested Solutions

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

803 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