Vidéos d'aide de Screencast

How to create a Filter Based on Active Directory OU?

Created: 07 Décembre 2012 • Updated: 11 Décembre 2012 | 6 comments
Ce problème a été résolu. Voir la solution.

Manage --> Filters.

I need to crate a filter that will see all servers in an OU.

How do I do this?

Commentaires CommentairesAccéder au dernier commentaire

l'image des Ludovic Ferre

Create a new filter and then on inclusion / exclusion selector you should be presented with 3 options: Filter / Computers and OU if I remember correctly.

It's on the filter definition page, you know, where we normally force you guys to "Exclude computers not in" when you simply want to include computers ;).

Ludovic FERRÉ
Principal Remote Product Specialist
Symantec

l'image des Robert Steinle

Hi,

The easiest way is to enable “Create organizational unit filters” in AD Import rule.

If this option is enabled, then filters will be created automatically.

NOTE: This could significantly slow down AD Import, depending on your structure.

Regards,

Robert Steinle

Symantec Corporation

For Forum threads, please click "Mark as Solution" if answered.

l'image des Ludovic Ferre

Nice one, I should have refreshed the window before posting my screen shot :D.

Ludovic FERRÉ
Principal Remote Product Specialist
Symantec

l'image des Ludovic Ferre

Okay, I did well to check on my server, as my previous answer applies to targets in policies, not filters.

To an an OU into a filter you use the "Explicit Inclusions and Exclusions" section. Click on the selector (the link normally showinfg "0 resources found" on a new filter. It will open the selector window from which you have access to the Organizational Views and Group. Here's a scren shot:

Ludovic FERRÉ
Principal Remote Product Specialist
Symantec

l'image des andykn101

The automatically created filters have a raw SQL definition:

SELECT Guid FROM ItemResource r join dbo.[Inv_OU_Membership] t on t.[_ResourceGuid] = r.[Guid] AND t.[Distinguished Name] = N'OU=CONTACTS,OU=EXCHANGE,DC=FABRIKAM,DC=COM'

Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.

Connect Etiquette: Please "Mark as Solution" posts that fix your problem.

SOLUTION
l'image des The_yeti

Hey guys !  Thanks for all the responses.  I tested the the "Explicit Inclusions and Exclusions" and the "Raw SQL" method.  I created the filter and then I created a new computer object in the OU. 

The "Raw SQL" method updates and reflects the new computer, but the the "Explicit Inclusions and Exclusions" does not. 

I am great with using the RAW SQL method.  This is great, thanks Andykn101