?
Solved

How can I use LDAP?

Posted on 2006-06-21
6
Medium Priority
?
1,618 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

762 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