Solved

using CSVDE to update proxyAddresses

Posted on 2008-10-20
2
2,434 Views
Last Modified: 2012-05-05
using CSVDE I've exported a csv file.
I've deleted all columns except for:

DNobjectClass
distinguishedNameproxyAddresses
sAMAccountName


I've revised the contents of the proxyAddresses and now would like to import
(really update) it to modify the contents of the proxyAddresses field.

but the error msg I get is as follows:

csvde -i -f imp.csv
Connecting to "(null)"
Logging in as current user using SSPI
Importing directory from file "imp.csv"
Loading entries.
Add error on line 2: Already Exists
The server side error is "The specified account already exists."
0 entries modified successfully.
An error has occurred in the program
No log files were written.  In order to generate a log file, please
specify the log file path via the -j option.


thank you.
0
Comment
Question by:rastafaray
2 Comments
 
LVL 31

Accepted Solution

by:
Henrik Johansson earned 250 total points
Comment Utility
You can only insert/import new imports with CSVDE, but not update objects that already exist.
To update, you nead to use LDIFDE as described in KB. Same syntax for arguments of both commands, so you can first do an export with 'ldifde -f export.ldf'.
http://support.microsoft.com/kb/313823

0
 
LVL 70

Expert Comment

by:KCTS
Comment Utility
CSVDE cannot modify objects - you need to use LDIFDE (or DSMOD or a VBSCRPT)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now