You can use
nltest /dclist:yourdomain.com
hth
Marcin
- Edited by Marcin PolichtMVP Saturday, January 01, 2011 12:21 PM
- 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
- Proposed as answer by Chris Fella1 Tuesday, September 23, 2014 11:51 AM
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
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.:
- Click Start, and then click Run.
- In the Open box, type cmd.
- Type nslookup, and then press ENTER.
- Type set type=all, and then press ENTER.
- 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
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??????
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
Hi Marchin,
How to find LDAP sucsses and failure logs in LDAP server ?
Regards, Dev
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