Yes it is OU specific. I don't know why except maybe that MS assumes no one
will want to or figure out how to create other containers and they want you
to use a different parameter sequence to create objects in cn=computers. 

Note that the one thing that stuck out to me was your example of

> /ou:cn=test,ou=testou,dc=xxx,dc=yyy

Just wanted to point out that unless you have been doing some serious mods,
you can't put a Container objectclass object[1] under an OU. Ditto an OU
under a Container objectclass object so for most implementations, what you
have above looks more like a computer, user, or some other object DN than a
container objectclass DN.

  joe


[1] I am simply making this distinction a little clearer because OUs are
containers in the sense that they can contain other objects. Ditto though
users and computers and many other objectclasses that can contain objects
and people don't realize it. 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M.
Sent: Wednesday, March 02, 2005 9:57 AM
To: [email protected]
Subject: RE: [ActiveDir] simple question about netdom

Hi Tomasz,
    You put me on the right track.  I guess when the switch says "/OU", they
*really* mean it!  Thanks!

Mike Thommes

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M.
Sent: Wednesday, March 02, 2005 8:14 AM
To: [email protected]
Subject: RE: [ActiveDir] simple question about netdom

Hi Tomasz,
    The location where I am trying to put the computer account is a
container, not an organizational unit.  So the target should be correct.

Mike Thommes

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Onyszko
Sent: Wednesday, March 02, 2005 8:07 AM
To: [email protected]
Subject: Re: [ActiveDir] simple question about netdom

Thommes, Michael M. wrote:
> I am trying to put together a very simple "netdom" command to add a 
> computer into our AD structure using a domain admin account:
> 
> Netdom add computer_name /domain:xxx.yyy 
> /ou:cn=test,ou=testou,dc=xxx,dc=yyy


this should look like this:
Netdom add computer_name /ou:ou=test,ou=testou,dc=xxx,dc=yyy


I'm using netdom join command for this  - if You will have a spaces in this
path try to put whole /OU:... part in the quotes - "/OU:..."



-- 
Tomasz Onyszko [MVP]
[EMAIL PROTECTED]
http://www.w2k.pl

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to