Results 1 to 2 of 2

Thread: Howto add new attribute via LDIF file

  1. #1
    Join Date
    Nov 2008
    Posts
    1

    Howto add new attribute via LDIF file

    I need to extend our Active Directory schema via an LDIF file.
    Does anybody know the syntax and switches I have to use to add a new attribute to the computer class?
    The attribute will be used by an application to store a password hash with the local administrator password of the client.

    I would like to have an LDIF file which i can import with the LDIFDE tool from Microsoft.
    I've tried to write it on my own but I don't know if it's complete or forgotten some switches they have to be in the file.

    Here is my attempt:
    Code:
    dn: CN=PasswordHash,CN=Schema,CN=Configuration,DC=AD,DC=local
    changetype: add
    adminDisplayName: PasswordHash
    attributeID: 1.2.840.113556.1.4.7000.159.24.10.65
    cn: CN=PasswordHash
    description: Password Hash of Local Administrator account
    isSingleValued: TRUE
    lDAPDisplayName: PasswordHash
    distinguishedName: CN=PasswordHash,CN=Schema,CN=Configuration,DC=AD1,DC=local
    objectCategory: CN=computer,CN=Schema,CN=Configuration,DC=AD1,DC=local
    objectClass: computer
    name: PasswordHash
    searchFlags: 0

  2. #2
    Join Date
    Nov 2005
    Posts
    1,203

    Re: Howto add new attribute via LDIF file

    You can check out the article termed "Since the introduction of Active Directory with the release of Windows 2000, Microsoft has provided customers with the base schema definition for implementing Active Directory" from here - http://technet.microsoft.com/en-us/m...05.schema.aspx

Similar Threads

  1. Add members to a group using LDIF file
    By Coyoth in forum Active Directory
    Replies: 4
    Last Post: 08-08-2012, 10:38 PM
  2. HowTo: Install BT4 Final On a Mac
    By Slender in forum Tips & Tweaks
    Replies: 3
    Last Post: 09-05-2010, 06:52 AM
  3. How to modify file attribute in Windows 7?
    By seema_thk in forum Operating Systems
    Replies: 5
    Last Post: 05-01-2010, 10:39 PM
  4. How to set file attribute?
    By Julli_gaada in forum Tips & Tweaks
    Replies: 3
    Last Post: 21-11-2009, 08:05 PM
  5. LDIF syntax for adding an already created custom attribute to OU
    By Deffen-Baugh in forum Active Directory
    Replies: 4
    Last Post: 30-07-2009, 07:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,048,572.92026 seconds with 17 queries