sharepoint windows认证模式下 限制人员选取器能访问OU

http://207.46.16.252/zh-cn/library/gg602066.aspx#section5

1效果:只能查询到某个特定的OU,并且不在此OU内的域用户会被拒绝访问(在设置OU前就访问过的其他OU的域用户还是可以访问门户和被选择器查询到的)

查看当前状态:发现没设置

stsadm -o getsiteuseraccountdirectorypath –url http://ServerName

设置:

stsadm -o setsiteuseraccountdirectorypath -path "OU=Sales,DC=ContosoCorp,DC=local" –url http://ServerName

设置后查看:

stsadm -o getsiteuseraccountdirectorypath –url http://ServerName

取消设置

stsadm -o setsiteuseraccountdirectorypath -path "" -url http://ServerName

取消后查看

stsadm -o getsiteuseraccountdirectorypath –url http://ServerName

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

2效果:能查询多个特定OU

应该可以使用筛选器,我没试过

使用 LDAP 查询筛选 Active Directory 帐户

Stsadm –o setproperty –pn peoplepicker-searchadcustomfilter -pv <LDAP 查询筛选器> -url <Web 应用程序 URL>

posted @ 2011-09-01 11:05  ruijian  阅读(365)  评论(1编辑  收藏  举报