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   [ - ] Hide Comments


Please log in to comment

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.
Please log in to comment
Answer this question or Comment on this question for clarity