Import memberof LDAP label
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
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
StockTrader
9 years ago
Top Answer
Hello,
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
Comments:
-
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. - vitalym 9 years ago-
Perfect :-) - StockTrader 9 years ago