Patrick Goetz
2021-Nov-03 10:17 UTC
[Samba] Using samba-tool to join a linux file server to the domain doesn't appear to work
On 11/3/21 05:06, Rowland Penny via samba wrote:> On Wed, 2021-11-03 at 04:58 -0500, Patrick Goetz via samba wrote: >> Looks like I need to re-architect the whole system to use an >> internal >> DHCP server, because setting a static IP on the host appears to be >> causing issues: >> >> root at data2:/etc/samba# samba-tool domain join ea.linuxcs.com MEMBER >> -U >> administrator >> Password for [EA\administrator]: >> Joined domain EA (S-1-5-21-2398640129-655337111-1434392923) >> >> However, the host isn't known to the samba DC: >> >> root at samba-dc:~# host data2 >> root at samba-dc:~# >> > > What version of Samba are you using ? > Your join method only works with Samba >= 4.15.0 >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? If the latter, how do I unjoin a linux host? With Windows you just switch the configuration back to WORKGROUP. I've already tested this. The DC seems to remember the W10 host for a while after I leave, but then forgets about it at some point.> Rowland > > >
Rowland Penny
2021-Nov-03 11:53 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 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'. Rowland