removing domain computer accounts

Herb Lewis hlewis at panasas.com
Wed Dec 18 09:28:53 MST 2013


Well I discovered a way by accident. If you run the command (Samba 3.6)
     net ads leave -Uadministrator%password
instead of the command
     net ads leave -Udomain\\administrator%password
the account gets deleted instead of only disabled as in the last command.

On 12/16/2013 12:35 PM, Lewis, Herb wrote:
> Is there a command in samba to remove old computer accounts
> that were created when you joined the domain? I want to make sure
> that when I leave a domain I clean up the old accounts as well.



More information about the samba-technical mailing list