dsadd: adding users in nested OUs, what would be the DN?
Posted on 2004-08-20
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?