+ Reply to Thread
Results 1 to 4 of 4

Thread: Ldifde

  1. Member
    Join Date
    Aug 2009
    Posts
    45
    #1

    Default Ldifde

    Good Day

    Been practising with LDIFDE and i keep getting this error.No log files were written. In order to generate a log file ,please specify the log file path via -j option.

    I know that maybe something is wrong with my syntax that is why i need the log.err file to tell me what is wrong.

    I created a folder on my G: drive called log and In my import command i included -j G:\Log so i do not understand the error. A ldif.log was created but it was empty.

    Been baffling this. Help please.
    Reply With Quote Quote  

  2. SS -->
  3. Still a noob earweed's Avatar
    Join Date
    Mar 2010
    Location
    Mobile, Alabama
    Posts
    5,176

    Certifications
    BSIT, Proj+, A+, Net+, Sec+: MCTS: X5; MCITP:EA
    #2
    What exactly were you trying to do with ldifde to begin with? The original commands may help someone to figure your problem.
    No longer work in IT. Play around with stuff sometimes still and fix stuff for friends and relatives.
    Reply With Quote Quote  

  4. Member
    Join Date
    Aug 2009
    Posts
    45
    #3
    was trying to import the following file NewUser.ldf

    dn: cn=Scot Thomas,ou=Employee,dc=contoso,dc=com
    changetype: add
    userAccountControl: 514
    UserPrincipalName: ScotT@contoso.com
    givenName: Scot
    sn: Thomas
    displayName: Scot Thomas
    SAMAccountName: Guy.Thomas
    objectClass: user
    -

    ldifde -i -f NewUser.ldf -s server01 -j G:\Log
    Last edited by thickSkin; 05-09-2010 at 02:36 AM.
    Reply With Quote Quote  

  5. Still a noob earweed's Avatar
    Join Date
    Mar 2010
    Location
    Mobile, Alabama
    Posts
    5,176

    Certifications
    BSIT, Proj+, A+, Net+, Sec+: MCTS: X5; MCITP:EA
    #4
    Quote Originally Posted by thickSkin View Post
    was trying to import the following file NewUser.ldf

    dn: cn=Scot Thomas,ou=Employee,dc=contoso,dc=com
    changetype: add
    userAccountControl: 514
    UserPrincipalName: ScotT@contoso.com
    givenName: Scot
    sn: Thomas
    displayName: Scot Thomas
    SAMAccountName: Guy.Thomas
    objectClass: user
    -

    ldifde -i -f NewUser.ldf -s server01 -j G:\Log
    Your problem may just be that your info in the file is out of order. The correct order is
    DN:
    changeType:
    CN:
    ObjectClass:
    sAMAccountName:
    userPrincipalName:
    givenName:
    sn:
    displayName:
    mail:
    description:
    title:
    department:
    company:

    I also believe ALL info needs to be in your file. ie. include all of these.
    Hope this helps.
    No longer work in IT. Play around with stuff sometimes still and fix stuff for friends and relatives.
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks