?
Solved

How to properly use the ldifde command?

Posted on 2012-03-20
2
Medium Priority
?
628 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 1000 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 1000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

752 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