Solved

How to properly use the ldifde command?

Posted on 2012-03-20
2
623 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
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

This article runs through the process of deploying a single EXE application selectively to a group of user.
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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…

856 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