LDIFDE import error

  • Thread starter Thread starter Walter Van Hecke
  • Start date Start date
W

Walter Van Hecke

Hi I'm beginning with the administration of windows2003
and try to import a simple user account on a test domain
contoso.com

I saved the file as test1.ldf

and it contains following lines:

dn: CN=GuyThomas, OU=Employees,DC=contoso, DC=com
changetype: add
cn: Guy Thomas
objectClass: user
samAccountName: Guy
givenName: Guy
sn: Thomas

I always get an error saying the the DN line is not properly written does
anybody sees a problem with this line?

Thx a lot,

Walter
 
Hi I'm beginning with the administration of windows2003
and try to import a simple user account on a test domain
contoso.com

I saved the file as test1.ldf

and it contains following lines:

dn: CN=GuyThomas, OU=Employees,DC=contoso, DC=com
changetype: add
cn: Guy Thomas
objectClass: user
samAccountName: Guy
givenName: Guy
sn: Thomas

I always get an error saying the the DN line is not properly written does
anybody sees a problem with this line?
Do you have an OU called Employees?

Cheers,

Cliff
 
In
Walter Van Hecke said:
Hi I'm beginning with the administration of windows2003
and try to import a simple user account on a test domain
contoso.com

I saved the file as test1.ldf

and it contains following lines:

dn: CN=GuyThomas, OU=Employees,DC=contoso, DC=com
changetype: add
cn: Guy Thomas
objectClass: user
samAccountName: Guy
givenName: Guy
sn: Thomas

I always get an error saying the the DN line is not properly written
does anybody sees a problem with this line?

Thx a lot,

Walter

In addition to Cliff's question, you need a dash ("-"), on the next line
after "sn:Thomas". I also see a space after "CN=GuyThomas, ". Also, the
"CN=GuyThomas", appears to be a first name and last name, therefore should
have a space between them indicating so.

See if this helps on how to use LDIFDE:

237677 - Using LDIFDE to Import and Export Directory Objects to Active
Directory:
http://support.microsoft.com/default.aspx?kbid=237677


--
Regards,
Ace

G O E A G L E S !!!
Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

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

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services

Security Is Like An Onion, It Has Layers
HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
 
Back
Top