Sharepoint user profiles with forms authentication
我已经使用一些自定义字段将一组用户导入到我的 Active Directory 中。然后,我使用所有自定义字段和常规字段将配置文件从 Active Directory 导入到 Sharepoint。在此之后,我需要每个用户都在一个为他们设置了 MySite 的网站集中。我通过编写一些确保用户存在的代码来做到这一点,然后检查配置文件属性"个人空间"以查看是否已创建 MySite。在某些用户需要从网络外部登录之前,一切都运行良好。
我希望摆脱如果用户从网络外部访问(或未将站点添加到 IE 中的受信任区域)会得到的 Windows 身份验证弹出窗口。我已经扩展了我的 Web 应用程序以创建一个 Internet 区域。然后我编辑了互联网站点的 web.config 以进行活动目录表单身份验证,同时编辑中央管理员的 web.config 以便它可以看到数据源。这一切都很好,用户可以通过一个漂亮的界面登录。唯一的问题是现在用户与他们的用户配置文件分离。本质上,Sharepoint 将 Windows 身份验证用户和表单身份验证用户视为两个独立的用户。
有没有办法链接个人资料?我是否必须编写自定义会员提供程序来登录用户,然后将他们链接到他们的 Windows 帐户?有没有办法让用户从 Internet Web 应用程序登录,然后欺骗他们的 Windows 凭据并将其传递到 Intranet?我是否需要根据表单身份验证数据源重新创建所有用户配置文件?
这是你在找什么.. http://grounding.co.za/blogs/brett/archive/2008/01/09/setting-up-dual-authentication-on-windows-sharepoint-services- 3-0-forms-and-ntlm.aspx ?
再见
我一直在尝试完成同样的事情,但问题完全相同——"forms-authenticated-me"与"windows-authenticated-me"的共享点不同,并且我看不到如何映射两者。
经过许多令人沮丧的努力,我想我终于意识到这是不可能的。回想起来,这并不太令人惊讶。
这里是 http://msdn.microsoft.com/en-us/library/bb975136.aspx 的摘录(我的重点已添加)...
Deciding to Use Forms Authentication
Some organizations want to use Windows
users and groups in SharePoint
Products and Technologies, but enter
credentials via forms authentication.
Before using forms authentication,
determine why to use forms
authentication in the first place:
What is the business driver? If user
accounts are stored in a location
other than an Active Directory domain
controller, or if Active Directory is
not available in a particular
environment, using forms
authentication with a membership
provider is a good choice. But if you
want to force logon only via forms
authentication, but still use Windows
and all of the integrated features it
provides, you should consider an
alternative such as publishing the
SharePoint site with Microsoft
Internet Security and Acceleration
(ISA) Server 2006. ISA Server 2006
allows users to log on by using a
forms authentication Web form, but
treats them like Windows users after
authentication. This implementation
provides a more consistent and
compelling experience for end users.
您可以设置表单身份验证以使用 Active Directory 表单身份验证提供程序。你会得到两全其美的。
登录提示将是您想要的表单身份验证提示,但配置文件和登录信息将来自 Active Directory。
按照以下说明配置提供程序:
如何:在 Active Directory 中使用表单身份验证