Authentication & Role Provider in Active Directory
Posted on 2011-05-06
I have facing a problem when i am trying to login my AD user on Blog in my web application. an abstract overview of the system is that i have a web app , users of app are authenticated through active directory , when i integrate dotnetBlogEngine in my app i need to authenticate the users of that blog according to the user roles in active directory. But i have an error when i tried to debug my app on following lines of web.config.
<roleManager defaultProvider="ADRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".BLOGENGINEROLES">
<add name="ADRoleProvider" type="System.Web.Security.AuthorizationStoreRoleProvider, System.Web, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" connectionUsername="UserName" connectionPassword="******" attributeMapUsername="sAMAccountName" />
I need to solve this issue. Hope i can find a good solution here.. Regards