Solved

using CSVDE to update proxyAddresses

Posted on 2008-10-20
2
2,461 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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 to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

837 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