J
James Coleman
I am trying to use the ADMembershipProvider and running into an error. I am
not strong in AD so I am fumbling. Any help would be appreciated.
Web.Config Prividers Section:
<membership defaultProvider="AspNetActiveDirectoryMembershipProvider">
<providers>
<add name="AspNetActiveDirectoryMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider,
System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ADMembershipService"
connectionProtection="Secure"
enablePasswordReset="true"
enableSearchMethods="true"
requiresQuestionAndAnswer="true"
applicationName="/"
description="Default AD connection"
attributeMapPasswordQuestion="extensionAttribute1"
attributeMapPasswordAnswer="extensionAttribute2"
attributeMapFailedPasswordAnswerCount="badPwdCount"
attributeMapFailedPasswordAnswerTime="badPasswordTime"
attributeMapFailedPassswordAnswerLockoutTime="lastBackupRestorationTime"
requiresUniqueEmail="true"
clientSearchTimeout="30"
serverSearchTimeout="30"
passwordAttemptWindow="10"
passwordAnswerAttemptLockoutDuration="30"
maxInvalidPasswordAttemps = "5"
minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="1"
passwordStrengthRegularExpression="@\"(?=.{6,})(?=(.*\d){1,})(?=(.*\W){1,})"/>
</providers>
</membership>
The error I get in the WSA Tool Security Tab:
The following message may help in diagnosing the problem: Attribute schema
mappings for bad password answer tracking must be specified to enable
password reset functionality. (C:\Inetpub\wwwroot\allsteel\web.config line
62)
Thanks
~James
not strong in AD so I am fumbling. Any help would be appreciated.
Web.Config Prividers Section:
<membership defaultProvider="AspNetActiveDirectoryMembershipProvider">
<providers>
<add name="AspNetActiveDirectoryMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider,
System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ADMembershipService"
connectionProtection="Secure"
enablePasswordReset="true"
enableSearchMethods="true"
requiresQuestionAndAnswer="true"
applicationName="/"
description="Default AD connection"
attributeMapPasswordQuestion="extensionAttribute1"
attributeMapPasswordAnswer="extensionAttribute2"
attributeMapFailedPasswordAnswerCount="badPwdCount"
attributeMapFailedPasswordAnswerTime="badPasswordTime"
attributeMapFailedPassswordAnswerLockoutTime="lastBackupRestorationTime"
requiresUniqueEmail="true"
clientSearchTimeout="30"
serverSearchTimeout="30"
passwordAttemptWindow="10"
passwordAnswerAttemptLockoutDuration="30"
maxInvalidPasswordAttemps = "5"
minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="1"
passwordStrengthRegularExpression="@\"(?=.{6,})(?=(.*\d){1,})(?=(.*\W){1,})"/>
</providers>
</membership>
The error I get in the WSA Tool Security Tab:
The following message may help in diagnosing the problem: Attribute schema
mappings for bad password answer tracking must be specified to enable
password reset functionality. (C:\Inetpub\wwwroot\allsteel\web.config line
62)
Thanks
~James