AD Membership PwdQuestion and PwdAnswer

Discussion in 'ASP .Net Security' started by zeplynne@gmail.com, Apr 16, 2007.

  1. Guest

    I've added two new attributes in AD schema and then added them to the
    user class. Pwd-Question and Pwd-Answer to map to
    "attributeMapPasswordQuestion" and "attributeMapPasswordAnswer" in the
    config file for Active Directory Membership Provider.

    I can see and add this property to any user in ADSI Edit, but I get
    the following error when trying to start my web app: "The attribute
    'Pwd-Question' specified as a schema mapping for
    'attributeMapPasswordQuestion' is not an attribute of the user
    class." Am I missing something in the config file or maybe I have
    something that shouldn't be there? Any suggestions on how to resolve
    this would be greatly appreciated.

    Thanks,
    Steve


    Config file entry:

    <add name="ADMembershipProvider2"
    type="System.Web.Security.ActiveDirectoryMembershipProvider,
    System.Web, Version=2.0.0.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a"
    connectionStringName="ADConnectionString2" applicationName="appName"
    connectionUsername="domain\administrator"
    connectionPassword="P@ssw0rd" attributeMapUsername="sAMAccountName"
    enablePasswordReset="false" requiresQuestionAndAnswer="true"
    requiresUniqueEmail="false" maxInvalidPasswordAttempts="10"
    passwordAttemptWindow="5"
    attributeMapPasswordQuestion="Pwd-Question"
    attributeMapPasswordAnswer="Pwd-Answer" />
     
    , Apr 16, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Douglas Adams

    ASP.NET 2.0 Membership and Login

    Douglas Adams, Jul 14, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    522
    Juan T. Llibre
    Jul 14, 2005
  2. Douglas Adams

    Membership and SQL Server 2000

    Douglas Adams, Jul 15, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    1,424
    Douglas Adams
    Jul 18, 2005
  3. =?Utf-8?B?aGlra2s=?=

    about Membership and Users

    =?Utf-8?B?aGlra2s=?=, Aug 17, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    420
    =?Utf-8?B?aGlra2s=?=
    Aug 17, 2005
  4. ABC
    Replies:
    5
    Views:
    675
    Scott Allen
    Nov 23, 2005
  5. Roel Korsten

    ASP.NET 2.0 Membership and AD

    Roel Korsten, Dec 21, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    529
    Brock Allen
    Dec 21, 2005
  6. =?Utf-8?B?YmpvaG5zMzM=?=

    Membership Services, Login and http/https

    =?Utf-8?B?YmpvaG5zMzM=?=, Feb 1, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    464
    chris
    Feb 1, 2006
  7. Tino Donderwinkel
    Replies:
    2
    Views:
    1,012
    Tino Donderwinkel
    Jun 18, 2008
  8. Replies:
    1
    Views:
    172
    Joe Kaplan
    Mar 9, 2007
Loading...