[Samba] Remove domain member Samba4
rpenny at samba.org
Thu Apr 13 11:45:25 UTC 2017
On Thu, 13 Apr 2017 11:18:53 +0000 (UTC)
Ricardo Pardim Claus via samba <samba at lists.samba.org> wrote:
> Dear,I need to remove a domain member, it is not a DC.
> Can I use the same command that is used to demote a DC?
> # samba-tool domain demote -Uadministrator
> Thank you!
Provided you haven't provisioned your domain member (which is something
that isn't allowed), all you need to do is run on the domain member:
net ads leave -UAdministrator
Then turn the domain member off.
You will also have to remove the domain member's DNS records from AD.
More information about the samba