Sign in with
Sign up | Sign in
Your question

LDIFDE import error

Last response: in Windows 2000/NT
Share
December 2, 2004 5:10:18 PM

Archived from groups: microsoft.public.win2000.active_directory (More info?)

I am trying to do an ldif import of a test user and I am getting the
following error. I am able to export with no problem. Below also is
a copy of my ldf file. Any ideas?

Connecting to "winad1.winad.myschool.edu"
Logging in as current user using SSPI
Importing directory from file "c:\perl\work\temp\w_staff.ldf"
Error occured during initialization
File operation failure
0 entries modified successfully.
An error has occurred in the program

dn: CN=John Doe,OU=DEF,OU=Students,DC=myschool,DC=edu
changetype: add
cn: John Doe
displayName: John Doe
givenName: John
objectClass: user
name: John Doe
sAMAccountName: doej99
sn: Doe
-

More about : ldifde import error

Anonymous
December 6, 2004 12:57:55 PM

Archived from groups: microsoft.public.win2000.active_directory (More info?)

Hi,

Thank you for posting.

I copied your script and saved it as TestUser.ldf and used the following
command to import the user:

ldifde -i -f testuser.ldf -s dc1

where dc1 is the name for my test domain controller.

It executed successfully without any errors.

I executed it as domain administrator.

Please check for permissions on the file and also try executing the script
from the folder where it is stored.

Hope it helps.

Thank you,
Rashmi

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: knoke@uwosh.edu (andy)
| Newsgroups: microsoft.public.win2000.active_directory
| Subject: LDIFDE import error
| Date: 2 Dec 2004 14:10:18 -0800
| Organization: http://groups.google.com
| Lines: 22
| Message-ID: <d57c5ef0.0412021410.2c442f01@posting.google.com>
| NNTP-Posting-Host: 141.233.237.77
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1102025418 7662 127.0.0.1 (2 Dec 2004
22:10:18 GMT)
| X-Complaints-To: groups-abuse@google.com
| NNTP-Posting-Date: Thu, 2 Dec 2004 22:10:18 +0000 (UTC)
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news.glorb.com!postnews.google.com!not-for-mail
| Xref: cpmsftngxa10.phx.gbl microsoft.public.win2000.active_directory:94813
| X-Tomcat-NG: microsoft.public.win2000.active_directory
|
| I am trying to do an ldif import of a test user and I am getting the
| following error. I am able to export with no problem. Below also is
| a copy of my ldf file. Any ideas?
|
| Connecting to "winad1.winad.myschool.edu"
| Logging in as current user using SSPI
| Importing directory from file "c:\perl\work\temp\w_staff.ldf"
| Error occured during initialization
| File operation failure
| 0 entries modified successfully.
| An error has occurred in the program
|
| dn: CN=John Doe,OU=DEF,OU=Students,DC=myschool,DC=edu
| changetype: add
| cn: John Doe
| displayName: John Doe
| givenName: John
| objectClass: user
| name: John Doe
| sAMAccountName: doej99
| sn: Doe
| -
|
!