[Samba] Samba 4.13 AD: How to Change Default Computer OU?
Jonathan Kreider
jonathan.kreider at gmail.com
Fri Apr 1 02:25:44 UTC 2022
The link below provides some interesting details about the preparation for
and results of running Microsoft's redircmp command.
https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/redirect-users-computers-containers
Especially this.
"Note
When Redircmp.exe is run to redirect the CN=Computers container to an OU
specified by an administrator, the CN=Computers container will no longer be
a protected object. This means that the Computers container can now be
moved, deleted, or renamed. If you use ADSIEDIT to view attributes on the
CN=Computers container, you will see that the systemflags attribute was
changed from -1946157056 to 0. This is by design."
So in this circumstance the computers container could actually be deleted.
But the rest of what redircmp does under the hood remains undocumented, at
least on this page.
Hth
Jonathan
On Thu, Mar 31, 2022, 2:26 PM Rowland Penny via samba <samba at lists.samba.org>
wrote:
> On Thu, 2022-03-31 at 13:11 -0500, Mike Ruebner via samba wrote:
> > Hi Andrew,
> >
> > Yep. That looks like what I want to do. Thanks!
> >
> > Please bear with me on a related tangent. For the life of me, I
> > cannot figure out a working ldif notation.
>
> Sorry but there isn't one, only the system can change it and then only
> after you move the container. Try reading this:
>
> https://docs.microsoft.com/en-us/windows/win32/adschema/a-wellknownobjects
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list