Rowland Penny
2021-Nov-03 12:49 UTC
[Samba] Using samba-tool to join a linux file server to the domain doesn't appear to work
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 Rowland
Patrick Goetz
2021-Nov-03 12:55 UTC
[Samba] Using samba-tool to join a linux file server to the domain doesn't appear to work
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 > > >
David Mulder
2021-Nov-04 13:41 UTC
[Samba] Using samba-tool to join a linux file server to the domain doesn't appear to work
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. -- *David Mulder* Labs Software Engineer, Samba SUSE 1800 Novell Place Provo, UT 84606 (P)+1 801.861.6571 dmulder at suse.com <http://www.suse.com/>