[Samba] Change default OU for Computers
Rowland Penny
rpenny at samba.org
Thu Aug 11 15:09:10 UTC 2022
On Thu, 2022-08-11 at 19:57 +0500, Anton Shevtsov via samba wrote:
> Hi,
>
> Is possible to Change Default Computer OU?
> Can I change the default OU of a computers?
> As example, from OU=Computers to OU=Nodes
> So that newly added computers are immediately located there.
>
> samba-tool computer add Node1
>
> And Node1 live here - CN=Node1,OU=Nodes,DC=Domain,DC=my
>
> p.s. i know about
> samba-tool computer move ...
> samba-tool computer add Node1 --computerou ...
Fairly easy for Linux computers, you just add 'createcomputer=OU' to
the 'net ads join', see 'net help ads join' for more info.
Not sure about Windows though, there is probably something similar, try
an internet search.
Rowland
More information about the samba
mailing list