none
LDIFDE No Such Attribute

    Question

  • I am trying to Import users with LDIFDE but I'm getting an error on the second user. The error is

    Add error on entry starting on line 20: No Such Attribute
    The server side error is: 0x57 The parameter is incorrect.
    The extended server error is:
    00000057: LdapErr: DSID-0C090C30, comment: Error in attribute conversion operation, data 0, v1db0

    I must be missing something since the first entry (which gets added) and the second (which fails) look to be about the same to me. I've been trying to figure out the difference between the two entries for about an hour now but with no luck, it all seems to be the same.

    dn: CN=User One,OU=Test,OU=Company,DC=domain,DC=local
    changetype: add
    cn: User One
    objectClass: user
    sAMAccountName: user.one
    telephoneNumber: (407) 599-6888
    userPrincipalName: user.one@company.com
    givenName: user
    sn: one
    title: Title
    l: City
    st: OH
    streetAddress: 610 A Road
    facsimileTelephoneNumber: (457) 874-5574
    mobile: (888) 874-4891
    extensionAttribute1: 210591
    extensionAttribute2: 833871
    mail: user.one@company.com

    dn: CN=User Two,OU=Test,OU=company,DC=domain,DC=local
    changetype: add
    cn: User Two
    objectClass: user
    sAMAccountName: User.Two
    telephoneNumber: (407) 599-6888
    userPrincipalName: User.Two@company.com
    givenName: User
    sn: Two
    title: Title
    l: City
    st: OH
    streetAddress: 610 A Road
    facsimileTelephoneNumber: (484) 489-6889
    mobile: (888) 721-5464
    extensionAttribute1: 286994
    extensionAttribute2: 833871
    mail: User.Two@company.com

    Tuesday, December 18, 2012 8:45 PM

Answers

  • Is there a trailing space in "objectClass: user " for the second entry?


    Richard Mueller - MVP Directory Services

    • Marked as answer by Tangeleno Wednesday, December 19, 2012 2:35 PM
    Tuesday, December 18, 2012 9:37 PM

All replies

  • Hi,

    Have you checked following thread?

    LDIFDE error
    http://social.technet.microsoft.com/Forums/eu/winserverDS/thread/b1ffd59a-2e17-4681-8f06-e306cd808815


    Best regards,

    Abhijit Waikar.
    MCSA | MCSA:Messaging | MCITP:SA | MCC:2012
    Blog: http://abhijitw.wordpress.com
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees and confers no rights.

    Tuesday, December 18, 2012 9:08 PM
  • Is there a trailing space in "objectClass: user " for the second entry?


    Richard Mueller - MVP Directory Services

    • Marked as answer by Tangeleno Wednesday, December 19, 2012 2:35 PM
    Tuesday, December 18, 2012 9:37 PM
  • The above error is normally logged due to incorrect spelling or spacing issue.I would recommend to delete the second user details and recreate it and check how does it work also ensure that there is no duplicate entry for the same user in AD.

    Hope this helps


    Best Regards,

    Sandesh Dubey.

    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator | My Blog

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Wednesday, December 19, 2012 6:28 AM
  • Hello all.  I was experiancing the same LDIFDE problems with errors.  Then thought why am I trouble-shooting the problem that if I ask the server will give me the answer.

    LDIFDE -f output.ldf

    notepad output.ldf

    Do a search on a already created object.  Cut the text from that user and paste.

    Clean up the lines you do not need.

    For me, wow I had a small "w" and the domain name had a "W" in the name.  That how sensitive this tool is.

    I took the output that was spit out, and cleaned it, and bam worked like a champ.

    Monday, April 29, 2013 9:22 AM