人们选择。我无法在管理中心网站中收到FBA用户

时间:2011-04-04 14:52:32

标签: sharepoint-2010 claims-based-identity fba

。\ sharepoint 中的我的数据库 membership 3 有很多会员用户。

我的管理中心网站有 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用户aesy。管理中心网站设置有什么问题?

2 个答案:

答案 0 :(得分:1)

添加

<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配置文件的角色管理器中

答案 1 :(得分:0)

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