Re: Adding attributes in Active Directory



On Mar 16, 11:11 am, "Joe Kaplan"
<joseph.e.kap...@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Can you add that data to AD with a lower level tool like ADSI Edit or
Ldp.exe? Perhaps you didn't do the schema extensions correctly. Testing
this with a lower level "pure LDAP" client is a good initial test.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"http://www.directoryprogramming.net
--"itsPiyush" <itspiy...@xxxxxxxxx> wrote in message

news:1173947470.997647.33270@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



I am adding new attributes in Active Directory and adding those
attributes in User class.
Now when I am adding this attributes in Web.config file in
<membership> tag it is not getting reflected.

For eg I added an attribute passwordQuestion in Active Directory
schema. And then I added that attribute in User class.
Now in web.config file I am using this attributes but its not
reflecting.

<system.web>

<membership defaultProvider="MyADMembershipProvider" >
<providers>
<add name="MyADMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider,

System.Web,Version=2.0.0.0,Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="TestDomain" connectionUsername="testdmn
\Administrator"
connectionPassword="passwd12"
attributeMapUsername="sAMAccountName"
requiresQuestionAndAnswer="false"
enablePasswordReset="true"
attributeMapPasswordAnswer="passwordQuestion"
attributeMapPasswordQuestion="PasswordAnswer"
attributeMapFailedPasswordAnswerCount="FailedPassAnsCnt"
attributeMapFailedPasswordAnswerTime="FailedPassAnsTime"

attributeMapFailedPassswordAnswerLockoutTime="FailedPassAnsLockTime"/>
</providers>
</membership>
</system.web>

It is giving me error as passwordQuestion is not an attribute of the
user Class- Hide quoted text -

- Show quoted text -

Can you tell in detail I have added the new attributes through
Microsoft Management Console.

.



Relevant Pages

  • error from federation server proxy
    ... the application is not opening and going to federation server ... "Joe Kaplan" wrote: ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDIFDE Error when trying to change passwords.
    ... "Joe Kaplan" wrote: ... The -h adds the encryption. ... Co-author of "The .NET Developer's Guide to Directory Services ... command or the bind command as I am not sure how to use them. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Integrated Windows Authentication Timeout?
    ... "Joe Kaplan" wrote: ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... long as they are all on the same account. ... SPN exists on the account that is running the service. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Domain registration requirement in federated web sso with fore
    ... "Joe Kaplan" wrote: ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... We have some applications, written in non microsoft languages like Java, ... internet, then the DNS entries for the resources will need to be ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDAPS connection error on 636
    ... "Joe Kaplan" wrote: ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... No suitable default server credential exists on this system. ... The cert s issued from VeriSign and I instaled per the directionsof the ...
    (microsoft.public.windows.server.active_directory)