I'm having a tough time getting LDAP authentication to work on a Claims-based web app in Sharepoint Foundation 2010. I've seen in many msdn blogs and elsewhere that I have to add blocks for membership and rolemanager to the Central Administration web.config
file, and also to the SecurityTokenServiceApplication and Web app web.config files. I've tried a million variations with my server and LDAP info and in all cases, as soon as I add the code block to the Central Admin web.config, the whole Sharepoint Admin
site crashes, giving me a 500 Server error. It seems like the offending fragment is the "type=..." element inside the RoleManager :
I'm not seeing anything in the Event Viewer on Windows Server that corresponds to the error. Is there any way I can learn more about this problem and what to try?
I can't be sure that's the offending element, but when I removed it, the site didn't crash (although I'm still well short of getting an LDAP connection).
You cannot use the LDAP membership provider with SharePoint Foundation 2010. It needs SharePoint Server 2010 version and also it should be updated with SP1 and June cummulative update.
johnoa
Member
69 Points
102 Posts
sharepoint 2010 and LDAP
Oct 21, 2010 07:13 PM|LINK
Hello,
I'm having a tough time getting LDAP authentication to work on a Claims-based web app in Sharepoint Foundation 2010. I've seen in many msdn blogs and elsewhere that I have to add blocks for membership and rolemanager to the Central Administration web.config file, and also to the SecurityTokenServiceApplication and Web app web.config files. I've tried a million variations with my server and LDAP info and in all cases, as soon as I add the code block to the Central Admin web.config, the whole Sharepoint Admin site crashes, giving me a 500 Server error. It seems like the offending fragment is the "type=..." element inside the RoleManager :
============================================
I'm not seeing anything in the Event Viewer on Windows Server that corresponds to the error. Is there any way I can learn more about this problem and what to try?
I can't be sure that's the offending element, but when I removed it, the site didn't crash (although I'm still well short of getting an LDAP connection).
Thanks.
John
Mahesh Dhing...
Member
4 Points
3 Posts
Re: sharepoint 2010 and LDAP
Nov 21, 2012 04:52 AM|LINK
Hey Johnoa,
You cannot use the LDAP membership provider with SharePoint Foundation 2010. It needs SharePoint Server 2010 version and also it should be updated with SP1 and June cummulative update.
Thanks
Mahesh
Mahesh Dhinge