For a client who was still working with SharePoint 2007 I had to configure the User Profile Syncronization. They had one Active Directory with several OU (organizational units).
Lets take an exemple; In the AD we have these three OUs:
The Search base in the connection for our user profile import contains this:
The import works great for this single OU. But I want to have 2 OU's. So the workarround is simple:
You can move the search base up to the level above both OU's, then change your filter so that it only pulls User AD objects with certain fields set. For instance, this filter will get all user objects with both the first name and last name fields set to something:
This will work, and get all the users who has a first and lastname, So the service accounts will not be shown.
Gokan Ozcifci edited Revision 2. Comment: Added Image, this wasn't working cause my website gokanozcifci.be is out
Ed Price - MSFT edited Original. Comment: Title and tags
The image is missing for me