Link to home
Start Free TrialLog in
Avatar of webox_suuport
webox_suuport

asked on

CSVDE

Hey,
Im trying to import users to AD server 2008 r2 ,
when i try to this:
csvde -s wbx-dc-p01 -i -f karmazin.csv
I'm geeting the error:
C:\>csvde -s wbx-dc-p01 -i -f karmazin.csv
Connecting to "wbx-dc-p01"
Logging in as current user using SSPI
Importing directory from file "karmazin.csv"
Loading entries.
Add error on line 2: Unwilling To Perform
The server side error is "The modification was not permitted for security reason
s."
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.

How can i fix it?e
Avatar of MidnightOne
MidnightOne
Flag of United States of America image

We'll need to see the CSV file as well as get a description of what you're trying to so with the CSVDE import to give a better idea of where to head.
ASKER CERTIFIED SOLUTION
Avatar of gaurav05
gaurav05
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of webox_suuport
webox_suuport

ASKER

i understand the problem,
It was beacuse i export the date without any filters,
i did you command,
ldifde -f Exportuser.ldf -s <Server1> -d "dc=Export,dc=com" -p subtree
-r "(&(objectCategory=person)(objectClass=User)(givenname=*))"
-l "cn,givenName,objectclass,samAccountName"

and it work, i exported 55 entries.

now , what i need to do to import this file?
i try doing "csvde -s wbx-dc-p01 -i -f Exportuser.ldf"
and i got :
Connecting to "wbx-dc-p01"
Logging in as current user using SSPI
Importing directory from file "Exportuser.ldf"
Invalid file format. DN Attribute not defined
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.


what i need to do in order to import the files?
I did :
ldifde -s wbx-dc-p01 -i -f Exportuser.ldf

And i work ! alll of the users are imported !
THX~!!!!!!

is there any other problem?

if not then please close the question.

I've requested that this question be closed as follows:

Accepted answer: 0 points for webox_suuport's comment http:/Q_27309568.html#36542479

for the following reason:

none
close