ActiveDirectoryMembershipProvider Schema Mappings Not Found



I am trying to enable password retrieval using the AD Membership
Provider with Windows Server 2003 as my AD machine. I have followed
the examples out there and have been able to update the AD schema with
the 5 new attributes and add them to the User class. However, when
trying to run the website I get errors that the following three
attributes are not part of the user class, but they really are. I have
had this problem on 2 seperate machines. The strange thing is that it
does not give me the error on the other 2 attributes that I have added
(passwordQuestion and passwordAnswer).

attributeMapFailedPasswordAnswerCount="badPasswordCount"
attributeMapFailedPasswordAnswerTime="badPasswordTime"
attributeMapFailedPasswordAnswerLockoutTime="badPasswordLockout"

I read somewhere that the ActiveDirectoryMembershipProvider hard-codes
the schema, which would make it pretty much useless to anyone not using
the standard schema. I cannot believe this though because the example
from MSDN on configuring password retrieval instructs you to add
attributes and then reference them in the web.config file, so I don't
really buy this explanation of the problem.

Can anyone help me to shed some light on this issue, it is driving me
mad!

.



Relevant Pages

  • Re: Active Directory Schema Update
    ... The Windows Server 2003 R2 schema upgrades are required for R2 features. ... "You must update the schema before you upgrade an existing domain controller to Windows Server 2003 R2 or before you add the Active Directory domain controller role on a computer running Windows Server 2003 R2 by using the Active Directory Installation Wizard. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Upgrade to Windows 2003
    ... The adprep.exe command-line tool is available in the ... Setup cannot continue because the active directory schema version of this ... domain controller is not compatible with windows server 2003 r2. ...
    (microsoft.public.win2000.active_directory)
  • Re: DFS R2 - Domänen Contoller R2 auch?
    ... Windows Server 2003 R2 was designed to be as compatible as possible with ... Unless you are planning to install three particular new features or to ... not necessary to change your current Active Directory schema. ...
    (microsoft.public.de.german.windows.server.general)
  • Re: Server 2003 R2 -Disk 2 Adprep problem
    ... Got a hotfix from MS that makes the necessary schema changes. ... Domain controllers running Windows Server 2003 R2 ... We did not need these on some of the DCs so we did not use the second disk. ...
    (microsoft.public.windows.server.active_directory)
  • Custom Provider Crystal Asking for wrong Table
    ... I'm writing my own OLE DB provider for use in Crystal Reports and other ... If I connect to my OLE DB Provider in Visual ... Studio it shows the schema correctly. ...
    (microsoft.public.data.oledb)