Active Directory 組織単位名のスペースがサポートされていない


説明

Sitecore Active Directory モジュールの接続文字列に、名前にスペースが含まれる AD コンテナー (組織単位など) への参照が含まれている場合、ロールとプロファイル情報は AD サーバーから読み込まれません。

次の例外が Sitecore ログ ファイルに記録されます。

ERROR Active Directory existing checking exception: System.DirectoryServices.DirectoryServicesCOMException (0x80072030): There is no such object on the server.
   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_NativeObject()
   at LightLDAP.MembershipResolver.DirectoryEntryExists(String path, String username, String password, AuthenticationTypes types)

本問題は、Active Directory バージョン 1.1 に影響します。

解決策

本問題を解決するには、以下の手順を実行してください。

  1. 「bin」フォルダーに「Sitecore.Support.861.dll」を配置します。
  2. AD ロール及びプロファイル プロバイダ タイプを変更します。
    <add name="ad" type="LightLDAP.Support.SitecoreADRoleProvider, Sitecore.Support.861".../>
    <add name="ad" type="LightLDAP.Support.SitecoreADProfileProvider, Sitecore.Support.861" .../>