Miscellaneous Question

Import memberof LDAP label

11/03/2015 1892 views
I'd like to create a label in Kace that will import workstations that are a member of the "GRP_Patching_Exclude" security group.
I've created LDAP labels to import workstations in particular OUs but I'm having trouble pulling workstations based off the memberof attribute.

So far I have the following for my LDAP Label
Base DN: CN=GRP_Patching_Exclude,OU=Infrastructure,OU=IT,OU=WORKSTATIONS,DC=domain

Advanced Search: (name=KBOX_COMPUTER_NAME)

If I remove CN=GRP_Patching_Exclude then it will successfully pull all workstations in the OU and assign them to the label I created.
I want to only pull workstations that are a member of the GRP_Patching_Exclude security group
Answer Summary:
0 Comments   [ + ] Show comments


Answer Chosen by the Author


try in this way:
Base DN: OU=Infrastructure,OU=IT,OU=WORKSTATIONS,DC=domain
Advanced Search: (&(name=KBOX_COMPUTER_NAME)(memberof=CN=GRP_Patching_Exclude,OU=Infrastructure,OU=IT,OU=WORKSTATIONS,DC=domain))

Kind regards,
 Marco - StockTrader
Answered 11/05/2015 by: StockTrader
Red Belt

  • I figured it out!

    Your syntax is 100% correct but my problem was that memberof=CN=etc was pointing to the path of where the workstations was. Once I changed it to point to where the security group was actually located it correctly returned the workstation name.

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