1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MCSE 70-290 trouble in the code

Discussion in 'General Microsoft Certifications' started by Mo, Apr 12, 2010.

  1. Mo

    Mo New Member

    1
    0
    1
    I'm preparing for the MCSE and in the 70-290 self-paced study book i found trouble creating a group with an OU using the books code.

    The code as in the book:
    dn: CN=Management,OU=Marketing,DC=contoso,DC=com
    changetype: add
    cn: Management
    objectClass: group
    samAccountName: Marketing

    after running this line:ldifde -i -f newgroup.ldf -s server01

    the error is: unable to read the import file newgroup

    I did everything right, saved the file with .ldf not .ldf.txt

    if anyone faced this and overcame it please let me know
    thanks.
     
  2. ianconscious

    ianconscious Bit Poster

    39
    5
    37
    You've missed a character out. You must end the command within your LDF file with a "-".

    In your example, the contents of "newgroup.ldf" should be as follows:

    dn: CN=Management,OU=Marketing,DC=contoso,DC=com
    changetype: add
    cn: Management
    objectClass: group
    samAccountName: Marketing
    -

    Note the trailing "-" ^^ Add this to your file and try running LDIFDE again?

    See Microsoft KB237677 for further information.
     
    Certifications: MCSE; MCITP; CCA, etc.
    WIP: JNCIS-FWV

Share This Page

Loading...