how to find the ldap servers in a domain
we have oce domain controller(win2003) and four additional dc. how to find ldap servers in our domain. ???  Any information is available in dns server???
January 1st, 2011 12:10pm

You can use

nltest /dclist:yourdomain.com

hth
Marcin

Free Windows Admin Tool Kit Click here and download it now
January 1st, 2011 12:19pm

is it work in client pc
  • Proposed as answer by Chris Fella1 Tuesday, September 23, 2014 11:51 AM
January 1st, 2011 12:20pm

i have run this command on client pc

G:\Users\joseph>nltest /dclist:gcm.com
Cannot find DC to get DC list from.Status = 1355 0x54b ERROR_NO_SUCH_DOMAIN
The command completed successfully

Free Windows Admin Tool Kit Click here and download it now
January 1st, 2011 12:22pm

You need to use your own domain name as the parameter of the /dclist switch i.e.

nltest /dclist:yourdomain.com

alternatively you can use procedure described in http://support.microsoft.com/kb/816587 to query DNS i.e.:

  1. Click Start, and then click Run.
  2. In the Open box, type cmd.
  3. Type nslookup, and then press ENTER.
  4. Type set type=all, and then press ENTER.
  5. Type _ldap._tcp.dc._msdcs.<var>Domain_Name</var>, where <var>Domain_Name</var> is the name of your domain, and then press ENTER.

hth
Marcin

  • Proposed as answer by Meinolf WeberMVP Saturday, January 01, 2011 3:55 PM
  • Marked as answer by Bruce-Liu Friday, January 28, 2011 9:31 AM
January 1st, 2011 12:25pm

G:\Users\joseph>nltest /dclist:gcm.com
Cannot find DC to get DC list from.Status = 1355 0x54b ERROR_NO_SUCH_DOMAIN

       jed-dc.mcg.muhaidibco.com [PDC] [DS] Site: Default-First-Site-Name
      dam-adc.mcg.muhaidibco.com       [DS] Site: Default-First-Site-Name
      JED-ADC.mcg.muhaidibco.com       [DS] Site: Default-First-Site-Name
    infra-adc.mcg.muhaidibco.com       [DS] Site: Default-First-Site-Name
     kaau-adc.mcg.muhaidibco.com       [DS] Site: Default-First-Site-Name


The command completed successfully

 

I have got the above result.From above,  a server is DC and others are Additional DC. My question is, additional domain controll is also a ldap server??????

 

 

 

Free Windows Admin Tool Kit Click here and download it now
January 1st, 2011 12:32pm

Once again - YOU NEED TO SPECIFY YOUR DOMAIN NAME AS THE PARAMETER OF THE /dclist switch when running nltest.

So in your case, this likely would be:

nltest /dclist:mcg.muhaidibco.com

All of the entries listed as the output of this command represent individual domain controllers for the domain you provided. Each one of them functions as an LDAP server

hth
Marcin

 

  • Proposed as answer by Meinolf WeberMVP Saturday, January 01, 2011 3:55 PM
  • Marked as answer by Bruce-Liu Friday, January 28, 2011 9:31 AM
January 1st, 2011 12:52pm

Hi Marchin,

How to find LDAP sucsses and failure logs in LDAP server ?

Regards, Dev

Free Windows Admin Tool Kit Click here and download it now
May 18th, 2012 7:37am

Thanks for this. Does this output seem correct to you?

> set type=all
> _ldap._tcp.dc._msdcs.be.local
Server:  UnKnown
Address:  192.168.1.3

_ldap._tcp.dc._msdcs.be.local   SRV service locat
          priority       = 0
          weight         = 100
          port           = 389
          svr hostname   = beaweb.be.local
beaweb.be.local internet address = 192.168.1.3

--

I am trying to set up an Openfire server and I'm not having any luck getting the Openfire server to talk to my LDAP. 

TIA!

-Dane


April 1st, 2014 5:37pm

check your domain name 
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2015 11:47pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics