/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


Ldap label to get computers in an OU?

06/02/2016 1188 views
I can't seem to get this to work, I've tried a few variables and never get results.  I thought this should work.  I don't want to change the base DN and just leave it at the root. Sorry if this is a silly question, still new.

(&(objectClass=computer)(Name=CN=*,OU="ou name",OU="ou name",OU="ou name",DC=domain,DC=local))

Then tried
(&(objectClass=*)(Name=CN=*,OU="ou name",OU="ou name",OU="ou name",DC=domain,DC=local))

Thanks!



0 Comments   [ + ] Show comments

Comments


All Answers

1
Here is an LDAP label that works in our environment:
Base DN:
DC=fas,DC=lcl
Advanced search:
(&(name=KBOX_COMPUTER_NAME)(distinguishedName=CN=KBOX_COMPUTER_NAME,OU=Academic Advising,OU=Departments,OU=GPO Exceptions,DC=FAS,DC=LCL))

When the machine updates its inventory the appliance will place the computer's name in place of KBOX_COMPUTER_NAME to check for a match.

Answered 06/03/2016 by: chucksteel
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ