This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Import a file

Pradeep LV
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to import a .ldif file to ADS which is working properly. I tried the follwing in dos prompt.
ldifde -i -f ExportData.ldif

But it is givig the error "Failed on token starting with 'o' on line 4
0 entries modified successfully.
An error has occurred in the program".

Here is the first few lines of the export file which i am trying to import.

dn: OU=Domain Controllers,DC=XX,DC=XX,DC=XX
changetype: add
objectClass: top
objectClass: organizationalUnit
ou: Domain Controllers
description: Default container for new Windows 2000 domain controllers
distinguishedName: OU=Domain Controllers,DC=XX,DC=XX,DC=XX
instanceType: 4
whenCreated: 20040708230721.0Z
whenChanged: 20050427181833.0Z
uSNCreated: 7201
uSNChanged: 7201
showInAdvancedViewOnly: FALSE
name: Domain Controllers
systemFlags: -1946157056
isCriticalSystemObject: TRUE
dSCorePropagationData: 20050520190054.0Z
dSCorePropagationData: 20050502160350.0Z
dSCorePropagationData: 20050502160347.0Z
dSCorePropagationData: 16010101181633.0Z

Please suggest me somthing.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic