SharePoint 2007: User Profile Syncronization - Importing Differents OUs

SharePoint 2007: User Profile Syncronization - Importing Differents OUs

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:

  • OU=Accounts - Standard User
  • OU=Accounts - Restricted User
  • OU=Accounts - Service Accounts

The Search base in the connection for our user profile import contains this:

  • OU=Accounts - Standard User,DC=in,DC=gokmania,DC=local

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.

Leave a Comment
  • Please add 4 and 7 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • 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

Page 1 of 1 (2 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Ed Price - MSFT edited Original. Comment: Title and tags

  • The image is missing for me

  • Gokan Ozcifci edited Revision 2. Comment: Added Image, this wasn't working cause my website gokanozcifci.be is out

Page 1 of 1 (3 items)