Solved

How to properly use the ldifde command?

Posted on 2012-03-20
2
620 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
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
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:…

772 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

11 Experts available now in Live!

Get 1:1 Help Now