限制PeopleEditor只选择表单用户数据

本文介绍了如何使用stsadm工具来限制PeopleEditor只选择表单用户数据给客户端。

[系统环境]
    服务器主机名:Huiyu.info
    服务器IP:192.168.123.123
    WSS站点:
        http://huiyu.info:8888(域认证)
        http://huiyu.info:8000(表单认证)
        http://192.168.123.123:8000(表单认证)

[机能需求]
    用户平时访问的是http://192.168.123.123:8000,用户在使用PeopleEditor选取其他用户时,系统会只显示存储在数据库中的表单用户。

[问题点] 
    默认情况下,PeopleEditor优先选择AD中的用户数据给客户端。
    例如,存在某用户huiyu在表单DB中,同时也存在huiyu.info\huiyu这个域用户在域环境中。那么当客户端在PeopleEditor中输入huiyu时,PeopleEditor将提供huiyu.info\huiyu给客户端。

[实现方法] 
    执行命令:stsadm -o setproperty -url https://192.168.123.123:8000 -pn peoplepicker-nowindowsaccountsfornonwindowsauthenticationmode -pv yes
      这个命令的具体解释,见官方说明页面

[注意点]
       用户访问的URl必须处于Internet区域。那么,如何确认某个URL是处于Internet区域的呢?  
    a.请打开管理中心 ->"Operations" ->"Global configuration/Alternate Access Mappings"。
      b.然后点击链接”Edit Public URLs ”打开页面,接着选择你的应用程序名
      c.请确保你的URL写在Internt框框中,如下图

sharepoint Edit Public Zone URLs Page

Tags: , ,

Leave a comment