?
Solved

How to properly use the ldifde command?

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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

649 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