Re: Adding attributes in Active Directory



You just need to open up ADSI Edit and locate the object you want to modify.
On the properties tab, you will see the list of attributes for that object
and you can modify them there if you have permissions. If the attributes do
not appear, your schema modification was not correct.

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" <itspiyush@xxxxxxxxx> wrote in message
news:1174031052.412134.51730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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

  • Re: another "attribute conversion operation" error
    ... What attribute were you trying to modify when this happened? ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... LdapException: LdapException: No Such Attribute ...
    (microsoft.public.windows.server.active_directory)
  • Re: import error with ldifde
    ... To modify the membership of a group, you have to modify the member attribute ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: Web Single Sign On
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... current Windows credentials to the server, ... This common identity is the user's username used to logon to the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Changing ADAM user password
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... Running the bind from another W2K3SP1 machine ... support in digest or something like that. ...
    (microsoft.public.windows.server.active_directory)
  • Re: SignOn Problem during Team Foundation WebTest Playback
    ... That sounds likely to me (the query string parameters). ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)