Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CSVDE

Posted on 2011-09-15
8
Medium Priority
?
2,010 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 2000 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 2000 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
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 …
Suggested Courses

963 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