I'm having a really difficult time trying to get my Sharepoint site to use Forms Authentication. I've tried using an ActiveDirectoryMembershipProvder and the LDAP equivalent but both of them seem absolutely unable to find any users from ActiveDirectory in any of the "peoplefinder" type of areas.
In Web.config for the admin section I have this:
<membership defaultProvider="ADMembershipProvider"> <providers> <add name="ADMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" /> </providers> </membership>
And then a little later this:
<connectionStrings> <add name="ADConnectionString" connectionString="LDAP://dc.ourcompany.com/dc=ourcompany,dc=com,ou=Ourcompany,ou=UK,ou=Townville,ou=Users" /> </connectionStrings>
The content of the connectionstring is right out of ADExplorer, but whether that makes it right or not, I don't really know, AD is not my speciality.
I have tried having the user specifed in the <provider> tag and not, neither of which appears to have caused a problem.
When I try to add a user to the site that I am configuring this authentication on, I cannot make it find anyone from the domain. I have tried the following ways of saying it:
None of those appear to have made any difference.
The really frustrating thing is that neither Sharepoint's logs ( set to Verbose and my god to they mean that ) nor the system Event Log seem to give any indication of a problem, they just don't do anything.
Is there an obvious problem here and if not, is there an easy way I can break things down a little to figure out where in the process it is failing?