How to create an LDAP Label to capture users in an OU?
Hi,
I would like some help creating an LDAP Label that can capture all the users in an OU from our Active Directory. For example, I would like to be able to create an ldap label called "IT Dept" and be able to capture only people who work in IT. Ultimately I would like to be able to use this label to group IT computers so I can use it when scheduling\testing patches.
I'd appreciate all the help. Thank you.
I would like some help creating an LDAP Label that can capture all the users in an OU from our Active Directory. For example, I would like to be able to create an ldap label called "IT Dept" and be able to capture only people who work in IT. Ultimately I would like to be able to use this label to group IT computers so I can use it when scheduling\testing patches.
I'd appreciate all the help. Thank you.
2 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
StockTrader
8 years ago
Hello,
to create a LDAP label to target all the users in a specific OU you need to do this:
1-The type of LDAP label needs to be URSES
2-In the Base DN field you need to enter your target OU (example: OU=OrgA,DC=kace,DC=local)
3-In the Advanced Search it is enough to have a query like this one: (samaccountname=KBOX_USER_NAME)
Kind regards,
Marco - StockTrader
Comments:
-
I just wanted to say thanks for this answer. it's exactly what I've been trying to do for a while now. - toneal 4 years ago
Posted by:
Emmanuel-Drot
8 years ago
For patching it makes more sense to create a manual label and put your designated IT machines into it. Rather than using a Smart label, as there is a danger that you accidentally add a machine that IT have used and is now back in the live environment - Hobbsy 8 years ago
Appreciate the help! - allenn 8 years ago