Solved

How can I use LDAP?

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

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…
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

726 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