Solved

CSVDE

Posted on 2011-09-15
8
1,851 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

I'm sure that every Windows systems administrator has written, or at least used, a batch or VBS login script at some point in their career, whether it is to map network drives, install printers, or set some user preferences.  No more! With Window…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

895 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

18 Experts available now in Live!

Get 1:1 Help Now