?
Solved

dsadd: adding users in nested OUs, what would be the DN?

Posted on 2004-08-20
4
Medium Priority
?
1,446 Views
Last Modified: 2008-02-01
For the life of me I cannot figure this out...  Lets say I want to add a user in the OU CorpRoot>Sales>Admin.  Perhaps I am just unfamiliar with the usage of DNs (has been a while), but I can't seem to get this to work.  Normally, if I wanted to add a user just to CorpRoot it would be:

dsadd user "CN=newbie,ou=CorpRoot,dc=fiction,dc=com"

But what if I want to add a user or other object to an  OU deeper than CorpRoot?
0
Comment
Question by:Rinnt
[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
4 Comments
 
LVL 85

Accepted Solution

by:
oBdA earned 200 total points
ID: 11850985
dsadd user "CN=newbie,ou=Admin,ou=Sales,ou=CorpRoot,dc=fiction,dc=com"
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 11851082
it's the same as for the dc parts: read from right to left:

dsadd user "CN=newbie,ou=Voyager,ou=StarTrek,ou=CorpRoot,dc=fiction,dc=com"

Cheers
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 11851083
oBda, sorry, you where faster...
0
 
LVL 2

Expert Comment

by:TASINetwork
ID: 11851845
Actually, if you want it to be in an OU, then it should be OU=newbie,.................
If you create a container, then you can't assign GPO's, etc.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

764 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