[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
Wed Nov 3 12:55:31 UTC 2021



On 11/3/21 07:49, Rowland Penny via samba wrote:
> On Wed, 2021-11-03 at 07:31 -0500, Patrick Goetz via samba wrote:
>>
>> On 11/3/21 06:53, Rowland Penny via samba wrote:
>>> On Wed, 2021-11-03 at 05:17 -0500, Patrick Goetz via samba wrote:
>>>>
>>>>
>>>> Good catch. I've been configuring too many systems and somehow
>>>> forgot
>>>> to
>>>> add Louis' PPA to /etc/apt/sources.list.d  <:(
>>>>
>>>> Ugh, I'm an idiot. Can I just upgrade Samba in place, already
>>>> joined
>>>> to
>>>> the domain, or is it safer to unjoin, update Samba, and then
>>>> rejoin?
>>>
>>> No, it should be okay.
>>>
>>>> If the latter, how do I unjoin a linux host?
>>>
>>> Very similar to joining, just replace 'join' with 'leave'.
>>>
>>
>> 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
> 

Well because my overworked brain spaced out and forgot to configure 
Louis' repo on first pass, I ended up joining the domain with `net ads 
join` anyway, so all good.

Thanks!


> Rowland
> 
> 
> 



More information about the samba mailing list