Solved

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

Posted on 2004-08-20
4
1,441 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 50 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

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

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

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

690 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