Solved

using CSVDE to update proxyAddresses

Posted on 2008-10-20
2
2,441 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
ID: 22766955
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
ID: 22767035
CSVDE cannot modify objects - you need to use LDIFDE (or DSMOD or a VBSCRPT)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn about cloud computing and its benefits for small business owners.
Resolve DNS query failed errors for Exchange
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…

910 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

25 Experts available now in Live!

Get 1:1 Help Now