[Samba] Using samba-tool to join a linux file server to the domain doesn't appear to work

Patrick Goetz pgoetz at math.utexas.edu
Thu Nov 4 14:47:04 UTC 2021

On 11/4/21 08:41, David Mulder via samba wrote:
> On 11/3/21 6:49 AM, Rowland Penny via samba wrote:
>>> I'm not seeing "leave" in the samba-tool domain subcommands
>> 'net ads leave'
>> Though, thinking about it, that is another reason not use the samba-
>> tool method, bit like hotel California, you can 'join' but never
>> 'leave' :-D
> Ugh, do we really not have a samba-tool domain leave? I'll look at 
> adding that.

No! No, you don't. It's way better to have one way to do things, but 
have it work correctly.  There's nothing wrong with

   net ads leave

other than it doesn't take care of cleaning up DNS.

More information about the samba mailing list