I'm trying to set up Forms Authentification with ActiveDirectory
in SharePoint 2007 (WSS 3.0). I made it to the point where I can see users
with prefix ad:<username>
but I'm having trouble to get roleManager and adgroup:
prefix to work. Most likely the provider type is wrong. Can anyone suggest right way to do it?
<connectionStrings>
<add name="ADConnectionString" connectionString="LDAP://domain:389/DC=domain,DC=local" />
</connectionStrings>
<!--******-->
<system.web>
<!--AD FBA-->
<membership defaultProvider="AD">
<providers>
<clear />
<add name="AD" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" connectionUsername="domain\testgp" connectionPassword="SomePass" attributeMapUsername="SAMAccountName" enableSearchMethods="true" />
</providers>
</membership>
<roleManager defaultProvider="ADGroup">
<providers>
<clear />
<add name="ADGroup" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" connectionUsername="domain\testgp" connectionPassword="SomePass" attributeMapUsername="SAMAccountName" enableSearchMethods="true" />
</providers>
</roleManager>