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

本文介绍如何通过stsadm命令设置SharePoint站点的用户账号目录路径,仅允许查询特定组织单位(OU)内的用户,并阻止其他OU的域用户访问。同时提供取消设置的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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>

转载于:https://www.cnblogs.com/ruijian/archive/2011/09/01/2161725.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值