KACE Product Support Question

Help with Ldap filters please

10/28/2015 681 views

Can anyone help with an LDAP filter to search and find all computers associated

with a particular OU in active directory. In other words all computers found in that OU.

I think I am doing something wrong cos I am not getting any entries with my filters.



.....and yes.... connection to the ldap server was successful and I can view my active directory tree

from the ldap viewer in the K1000.

I know that the OU name will be part of the "distinguished name"in the computer's attributes..... so I

want to create an ldap label to find all entries of computers that have that OU's name in its Attrribute

Thanks guys.

0 Comments   [ + ] Show comments


All Answers

Here is the Advanced Search that I have for one of my LDAP Labels:
(&(name=KBOX_COMPUTER_NAME)(distinguishedName=CN=KBOX_COMPUTER_NAME,OU=User Services,OU=Library and Information Services,OU=Departments,OU=GPO Exceptions,DC=FAS,DC=LCL))

Note that you need to recreate the entire OU structure in the search. KACE will replace KBOX_COMPUTER_NAME with the machine name when performing the search to see if it matches. You also need to have the Base DN set correctly. In my case that is DC=fas,DC=lcl.

Answered 10/28/2015 by: chucksteel
Red Belt

You do not need to filter based off distinguishedName if they are already segregated by OU.

Set your "Base DN" to the OU


Then your Search would simply be:

Answered 10/29/2015 by: jleitsch
Purple 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


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