Solved

How to properly use the ldifde command?

Posted on 2012-03-20
2
624 Views
Last Modified: 2012-03-20
I have been asked to run the following command by a vendor. The only caveat is I have to change the command to match the exact location of a specific user in AD. I am attaching a photo of where the specific user is in AD to hopefully aid in getting assistance on what I am supposed to fill in.

The command I am being asked to run is:

ldifde -f filename.ldif -d CN=object,OU=org,DC=yourdomain,DC=com

Obviously after CN= it is going to be "specific" to my domain, user, OU's, etc. Please reference the photo attached for where the the user is in my AD. The user in question is "Test User".

Thanks for your help!
Untitled.jpg
0
Comment
Question by:TBTNetworks
[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
2 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 250 total points
ID: 37742432
So are you trying to export that user?

I was trying to read the OUs in the picture but had a hard time

download adfind

http://www.joeware.net/freetools/tools/adfind/index.htm

use adfind -sc u:username dn

That will give you the full DN of the user.  There are tons of other methods to find it but that way is easy.

Then use that DN

"OU=OU, OU=....DC=yourdomain, dc=suffix"

Thanks

Mike
0
 
LVL 4

Assisted Solution

by:Repil
Repil earned 250 total points
ID: 37742525
As per your screen shot it will be

ldifde -f filename.ldif -d CN=test user,OU=Test,OU=STUDENTS,OU=TRICOCI USERS,DC=tricociu,DC=local
0

Featured Post

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!

Question has a verified solution.

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

This article explains the steps required to use the default Photos screensaver to display branding/corporate images
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

726 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