人员选择器。我无法在管理中心网站中接收 FBA 用户

发布于 2024-10-30 13:08:44 字数 5725 浏览 0 评论 0原文

我位于 .\sharepoint 的数据库 membership3 有许多会员用户。

我的管理中心网站有 web.config 文件

<configuration>

<connectionStrings>
   <add connectionString="Server=.\sharepoint;Database=membership3;Integrated Security=true" name="SQLAuthConnectionString" />
</connectionStrings>

<SharePoint>
   <PeoplePickerWildcards>
      <clear />
      <add key="SQLAuthConnectionString" value="%" />
      <add key="SQLMembershipProvider" value="%" />
      <add key="SQLRoleManager" value="%" />
  </PeoplePickerWildcards>
</SharePoint>

<system.web>
   <roleManager defaultProvider="AspNetWindowsTokenRoleProvider" enabled="true" cacheRolesInCookie="false">
       <providers>
          <add name="SQLRoleManager" connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider" 
               type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
       </providers>
   </roleManager>
   <membership defaultProvider="SQLMembershipProvider">
   <providers>
      <add name="SQLMembershipProvider" 
           type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
           connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" applicationName="/" enablePasswordReset="true" 
           enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" />
    </providers>
 </membership>
</system.web>

</configuration>

我的新的基于声明的网站有 web.config 文件:

<configuration>

 <SharePoint>
    <PeoplePickerWildcards>
       <clear />
       <add key="SQLAuthConnectionString" value="%" />
       <add key="SQLMembershipProvider" value="%" />
       <add key="SQLRoleManager" value="%" />
    </PeoplePickerWildcards>
 </SharePoint>

 <system.web>
    <membership defaultProvider="i">
       <providers>
          <add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
          <add name="SQLMembershipProvider" 
               type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
               connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" applicationName="/" enablePasswordReset="true" 
               enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" />
       </providers>
    </membership>
    <roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false">
       <providers>
          <add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
          <add name="SQLRoleManager" 
            connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider" 
            type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
       </providers>
    </roleManager>
 </system.web>

</configuration>

文件 C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\Root\web.config :

<configuration>

 <system.web>
    <membership defaultProvider="i">
       <providers>
          <clear />
             <add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
              <add name="SQLMembershipProvider" 
                   type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
                   connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" enablePasswordRetrieval="false" enablePasswordReset="true" 
                   requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="true" passwordFormat="Clear" />
       </providers>
    </membership>
    <roleManager enabled="true" defaultProvider="c">
       <providers>
          <clear />
          <add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
          <add name="SQLRoleManager" connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider" 
               type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
       </providers>
    </roleManager>
 </system.web>

    <connectionStrings>
       <add connectionString="Server=.\sharepoint;Database=membership3;Integrated Security=true" name="SQLAuthConnectionString" />
    </connectionStrings>
</configuration>

我想在管理中心网站中设置用户策略,但 FBA 用户不会进入人员选择器。但我的基于声明的身份验证网站可以使用任何 FBA 用户登录。管理中心网站设置有什么问题?

My database membership3 at .\sharepoint has many membership users.

There is web.config file for my Admin Center Site

<configuration>

<connectionStrings>
   <add connectionString="Server=.\sharepoint;Database=membership3;Integrated Security=true" name="SQLAuthConnectionString" />
</connectionStrings>

<SharePoint>
   <PeoplePickerWildcards>
      <clear />
      <add key="SQLAuthConnectionString" value="%" />
      <add key="SQLMembershipProvider" value="%" />
      <add key="SQLRoleManager" value="%" />
  </PeoplePickerWildcards>
</SharePoint>

<system.web>
   <roleManager defaultProvider="AspNetWindowsTokenRoleProvider" enabled="true" cacheRolesInCookie="false">
       <providers>
          <add name="SQLRoleManager" connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider" 
               type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
       </providers>
   </roleManager>
   <membership defaultProvider="SQLMembershipProvider">
   <providers>
      <add name="SQLMembershipProvider" 
           type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
           connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" applicationName="/" enablePasswordReset="true" 
           enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" />
    </providers>
 </membership>
</system.web>

</configuration>

There is web.config file for my new claims-based site:

<configuration>

 <SharePoint>
    <PeoplePickerWildcards>
       <clear />
       <add key="SQLAuthConnectionString" value="%" />
       <add key="SQLMembershipProvider" value="%" />
       <add key="SQLRoleManager" value="%" />
    </PeoplePickerWildcards>
 </SharePoint>

 <system.web>
    <membership defaultProvider="i">
       <providers>
          <add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
          <add name="SQLMembershipProvider" 
               type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
               connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" applicationName="/" enablePasswordReset="true" 
               enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" />
       </providers>
    </membership>
    <roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false">
       <providers>
          <add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
          <add name="SQLRoleManager" 
            connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider" 
            type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
       </providers>
    </roleManager>
 </system.web>

</configuration>

File C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\Root\web.config :

<configuration>

 <system.web>
    <membership defaultProvider="i">
       <providers>
          <clear />
             <add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
              <add name="SQLMembershipProvider" 
                   type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
                   connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" enablePasswordRetrieval="false" enablePasswordReset="true" 
                   requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="true" passwordFormat="Clear" />
       </providers>
    </membership>
    <roleManager enabled="true" defaultProvider="c">
       <providers>
          <clear />
          <add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
          <add name="SQLRoleManager" connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider" 
               type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
       </providers>
    </roleManager>
 </system.web>

    <connectionStrings>
       <add connectionString="Server=.\sharepoint;Database=membership3;Integrated Security=true" name="SQLAuthConnectionString" />
    </connectionStrings>
</configuration>

I want setting up User Policy in Admin Center Site and FBA users are not coming in People Picker. But my claims-based authentication site login aesy with any FBA user. What is wrong in Admin Center Site settings?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

随遇而安 2024-11-06 13:08:44

添加

<add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

会员
以及

<add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

Central Admin Web 配置文件的角色管理器中

Add

<add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

in Mermbership
and

<add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

in Role manager at Central Admin web config file

缺⑴份安定 2024-11-06 13:08:44

您是否尝试过在 CA 人员选择器中写入用户的确切名称?

Have you tried writing the exact name of the user in the CA people picker?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文