<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SharePoint 2007 &#8211; LDAP User Filters for Limiting User Profile Import</title>
	<atom:link href="http://sharepointsherpa.com/2008/03/14/sharepoint-2007-ldap-user-filters-for-limiting-user-profile-import/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepointsherpa.com/2008/03/14/sharepoint-2007-ldap-user-filters-for-limiting-user-profile-import/</link>
	<description>Scott Wheeler is your guide to SharePoint 2007</description>
	<lastBuildDate>Mon, 16 Nov 2009 12:06:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Kharles Pico</title>
		<link>http://sharepointsherpa.com/2008/03/14/sharepoint-2007-ldap-user-filters-for-limiting-user-profile-import/#comment-56</link>
		<dc:creator><![CDATA[Kharles Pico]]></dc:creator>
		<pubDate>Thu, 25 Sep 2008 05:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://shwheeler.wordpress.com/2008/03/14/sharepoint-2007-ldap-user-filters-for-limiting-user-profile-import/#comment-56</guid>
		<description><![CDATA[This should do the trick:

(&amp;(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2)) 

Might be worth checking in AD if the user is actually disabled.

However I noticed that the following: 

(&amp;(objectCategory=Person)(objectClass=User)(memberof:1.2.840.113556.1.4.1941:=(CN=Authenticated Users,OU=Branch1,DC=domain,DC=local))) 
should include only the accounts that are part of the Branch1 organizational unit. 

This is not the case the previous filter actually only filters out on users who are as it says member of that group. So even if someone is in the OU if they are not a member of this OU they will not be returned. Hope this helps.

I haven&#039;t found a way to exclude or include users in an  OU yet using LDAP filters. I&#039;ve found that you can add a profile property, add a managed path and then filter out the People scope adding the rule to exclude users from the OU.

Hope that helps.]]></description>
		<content:encoded><![CDATA[<p>This should do the trick:</p>
<p>(&amp;(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2)) </p>
<p>Might be worth checking in AD if the user is actually disabled.</p>
<p>However I noticed that the following: </p>
<p>(&amp;(objectCategory=Person)(objectClass=User)(memberof:1.2.840.113556.1.4.1941:=(CN=Authenticated Users,OU=Branch1,DC=domain,DC=local)))<br />
should include only the accounts that are part of the Branch1 organizational unit. </p>
<p>This is not the case the previous filter actually only filters out on users who are as it says member of that group. So even if someone is in the OU if they are not a member of this OU they will not be returned. Hope this helps.</p>
<p>I haven&#8217;t found a way to exclude or include users in an  OU yet using LDAP filters. I&#8217;ve found that you can add a profile property, add a managed path and then filter out the People scope adding the rule to exclude users from the OU.</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce Rhodes</title>
		<link>http://sharepointsherpa.com/2008/03/14/sharepoint-2007-ldap-user-filters-for-limiting-user-profile-import/#comment-48</link>
		<dc:creator><![CDATA[Bruce Rhodes]]></dc:creator>
		<pubDate>Thu, 11 Sep 2008 13:20:37 +0000</pubDate>
		<guid isPermaLink="false">http://shwheeler.wordpress.com/2008/03/14/sharepoint-2007-ldap-user-filters-for-limiting-user-profile-import/#comment-48</guid>
		<description><![CDATA[Has anyone had problems with trying to filter out disabled AD accounts? I can not get the WSS profile import to filter out disabled Ad accounts...I have tried for two months now and tried every solution that I can find on every form, blog and discussion board.

any help?]]></description>
		<content:encoded><![CDATA[<p>Has anyone had problems with trying to filter out disabled AD accounts? I can not get the WSS profile import to filter out disabled Ad accounts&#8230;I have tried for two months now and tried every solution that I can find on every form, blog and discussion board.</p>
<p>any help?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

