We help IT Professionals succeed at work.

How to find the LDAP values for our domain

Hi
I have installed VAMT on a Windows 2012 server. VAMT is not discovering Windows 10 PCs in the network, when I look up through “Search for computers in the Active Directory”
I was given the following link to do a discovery using a custom LDAP query to bring in the Windows 10 computers.  
https://gsilt.blogspot.com/2015/10/vamt-not-discovering-windows-10-machines.html

We have 3 local Domain controllers in our network. They are called as ADC-1 ADC-2 and ADC-3
Please let me know how to find the LDAP values that matches my environment.
LDAP://domaincontroller.domain.com/DC=domain,DC=com??sub?(&(objectClass=computer))

From the above values I replaced domaincontroller.domain.com with ADC-1 and tried to do a discovery
LDAP://ADC-1/DC=domain,DC=com??sub?(&(objectClass=computer))

It says Machine discovery has completed. No machines were found matching the search criteria you specified.

Any help to find the LDAP values would be great.
Thanks in advance.
Comment
Watch Question

A lack of information provides a lack of a decent solution.
Commented:

Realistically I'd need your domain name, I have to ask this but you are changing "Domain" to your domain.


So for example


AD.Company.com


Would be 


LDAP://AD.Company.com/DC=AD,DC=Company,DC=com??sub?(&(objectClass=computer))


that should do it


Regards

Alex

Author

Commented:
Thanks Alex  for your help!

Sorted:)

Points awarded.
AlexA lack of information provides a lack of a decent solution.

Commented:

Excellent!


Thanks very much, anything else let me know :-)


Regards

Alex