问题描述
我无法在共享点上使用LDAP运行FBA.
我关注了下面的文章
I can not run the FBA with LDAP on sharepoint.
I have followed the article bellow
https://blogs.msdn.microsoft.com/spblog/2014/09/26/configure-a-sharepoint-2013-web-application-with-forms-based-authentication-with-a-ldap-membership -provider/
https://blogs.msdn.microsoft.com/spblog/2014/09/26/configure-a-sharepoint-2013-web-application-with-forms-based-authentication-with-a-ldap-membership-provider/
我将LDAP帐户用户和密码添加到了令牌安全性web.config.
当我检查ULS日志时,出现以下消息
I added the LDAP account user and password to the token security web.config.
when I check the ULS LOGs, I have the following message
---------------------------------------------
-----------------------------------------
搜索用户'user'时出错:System.Runtime.InteropServices.COMException(0x8007203A):最重要的操作. àSystem.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) àSystem.DirectoryServices.DirectoryEntry.Bind() àSystem.DirectoryServices.DirectoryEntry.get_AdsObject() àSystem.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) àMicrosoft.SharePoint.WebControls.PeopleEditor.SearchFromGC(SPActiveDirectoryDomain 域,String strFilter,String [] rgstrProp,Int32 nTimeout,Int32 nSizeLimit,SPUserCollection spUsers,ArrayList& rgResults) àMicrosoft.SharePoint.Utilities.SPUserUtility.SearchAgainstAD(字符串输入,SPActiveDirectoryDomain domainController, SPPrincipalType范围,SPUserCollection usersContainer,Int32 maxCount,String customQuery,String customFilter,TimeSpan searchTimeout,Boolean&达到MaxCount) àMicrosoft.SharePoint.Utilities.SPActiveDirectoryPrincipalResolver.SearchPrincipals(字符串 输入,SPPrincipalType范围,SPPrincipalSource源,SPUserCollection usersContainer,Int32 maxCount,Boolean&达到MaxCount) àMicrosoft.SharePoint.Utilities.SPUtility.SearchPrincipalFromResolvers(List`1解析器,字符串输入,SPPrincipalType 范围,SPPrincipalSource源,SPUserCollection usersContainer,Int32 maxCount,Boolean& reachMaxCount,Dictionary`2 usersDict).
Error in searching user 'user' : System.Runtime.InteropServices.COMException (0x8007203A): Le serveur n’est pas opérationnel. à System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) à System.DirectoryServices.DirectoryEntry.Bind() à System.DirectoryServices.DirectoryEntry.get_AdsObject() à System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) à Microsoft.SharePoint.WebControls.PeopleEditor.SearchFromGC(SPActiveDirectoryDomain domain, String strFilter, String[] rgstrProp, Int32 nTimeout, Int32 nSizeLimit, SPUserCollection spUsers, ArrayList& rgResults) à Microsoft.SharePoint.Utilities.SPUserUtility.SearchAgainstAD(String input, SPActiveDirectoryDomain domainController, SPPrincipalType scopes, SPUserCollection usersContainer, Int32 maxCount, String customQuery, String customFilter, TimeSpan searchTimeout, Boolean& reachMaxCount) à Microsoft.SharePoint.Utilities.SPActiveDirectoryPrincipalResolver.SearchPrincipals(String input, SPPrincipalType scopes, SPPrincipalSource sources, SPUserCollection usersContainer, Int32 maxCount, Boolean& reachMaxCount) à Microsoft.SharePoint.Utilities.SPUtility.SearchPrincipalFromResolvers(List`1 resolvers, String input, SPPrincipalType scopes, SPPrincipalSource sources, SPUserCollection usersContainer, Int32 maxCount, Boolean& reachMaxCount, Dictionary`2 usersDict).
--------------------------------------------------- -------
------------------------------------------------------
推荐答案
此论坛适用于使用Office JavaScript API开发时遇到的问题.由于您的问题是关于SharePoint的,因此我将此线程移到SharePoint 2013-常规讨论和问题 论坛.
This forum is for issues when developing with Office JavaScript API. As your issue is about SharePoint, i would move this thread intoSharePoint 2013 - General Discussions and Questions forum.
此致
Celeste
这篇关于在SharePoint 2013 Standard上使用LDAP的FBA无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!