[Samba] Samba4 how to remove a machine from the domain

Andrew Bartlett abartlet at samba.org
Sat Mar 10 10:20:12 MST 2012


On Thu, 2012-03-08 at 15:47 +0100, steve wrote:
> Hi
> 
> How do I remove a machine which is o longer connected to the domain? 
> e.g. the has been stolen or just moved without having unjoined before. I 
> want to be able to replace the machine with with a new box with same 
> hostname.

Unlike domain controllers, workstations (member servers) can just be
deleted by removing the machine account.  ldbdel on the DN for example.

Or just join the replacement under the same name, it should take over
the account. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba mailing list