Solved

CSVDE

Posted on 2011-09-15
8
1,935 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:webox_suuport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 26

Expert Comment

by:MidnightOne
ID: 36542164
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.
0
 
LVL 10

Accepted Solution

by:
gaurav05 earned 500 total points
ID: 36542173
Hi,

i give you the example

ldifde -f Exportuser.ldf -s <Server1> -d "dc=Export,dc=com" -p subtree
-r "(&(objectCategory=person)(objectClass=User)(givenname=*))"
-l "cn,givenName,objectclass,samAccountName"

also check this.
http://support.microsoft.com/kb/276382
0
 
LVL 10

Assisted Solution

by:gaurav05
gaurav05 earned 500 total points
ID: 36542178
Hi,

Also try this.

Default Domain Security Settings->Password Policy. I've modified the default ones and set:Enforce password history :0 passwords remembered, Minimum password age: 0 days, Minimum password length: 0 characters and Pasword must meet complexity requirements set o Disabled.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:webox_suuport
ID: 36542456
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?
0
 

Author Comment

by:webox_suuport
ID: 36542479
I did :
ldifde -s wbx-dc-p01 -i -f Exportuser.ldf

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

Expert Comment

by:gaurav05
ID: 36542526

is there any other problem?

if not then please close the question.

0
 

Author Comment

by:webox_suuport
ID: 36818133
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
0
 

Author Comment

by:webox_suuport
ID: 36818134
close
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

688 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