Solved

CSVDE

Posted on 2011-09-15
8
1,828 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
  • 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
 

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
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.

 

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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

My last post dealt with using group policy preferences to set file associations, a very handy usage for a GPP. Today I am going to share another cool GPP trick, this may be a specific scenario but I run into these situations frequently in my activit…
The saying goes a bad carpenter blames his tools. In the Directory Services world a bad system administrator, well, even with the best tools they’re probably not going to become an all star.  However for the system admin who is willing to spend a li…
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…
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…

758 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

20 Experts available now in Live!

Get 1:1 Help Now