StorageByte.com © How To’s, Scripts, and Tools to help other System Administrators
Microsoft How To...
Recently I had come across a need to find out which server host LDAP in the Windows Domain. To do this I had to use the following steps:
Go to Start and type CMD in the search box. This will bring up the command line.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
Once the Command line is open type the following:
Default Server: server.mydomain.local
Now type the following
> set types=all
And the last command that will actually query for the LDAP server
This will then show you the results of the query
_ldap._tcp.mydomain.local SRV service location:
priority = 0
weight = 100
port = 389
svr hostname = server.mydomain.local
server.mydomain.local internet address = 192.168.0.109