3

.\sharepointにある私のデータベースメンバーシップ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>

Admin Center サイトでユーザー ポリシーを設定したいのですが、FBA ユーザーがPeople Picker に来​​ません。しかし、私のクレームベースの認証サイトは、どの FBA ユーザーともログインできません。管理センターのサイト設定で何が問題になっていますか?

4

2 に答える 2

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 構成ファイルのロール マネージャーで

于 2012-05-09T07:12:38.380 に答える
0

CA ピープル ピッカーにユーザーの正確な名前を書き込んでみましたか?

于 2011-04-05T06:40:38.043 に答える