assign a label for the AD OU that any machine belongs
How can I assign a label for the AD OU that any machine belongs to without causing a system performance problem?
We currently have more than 500 OUs that we target various group policy to and we would like to be able to target them that way in the K1000 as well. As I understand it, when a machine checks in, every smart label/ldap label is run against it. If I create an LDAP query for each OU, that means more than 500 indivdual SQL queries have to run every time a machine checks in which sounds bad to me. Is there any AUTOMATED way to set a field or label with the OU that machine is in without running 500 queries?