Hi there, we have a Samba 4 AD installation with one DC and two members. All of them are ubuntu 20.04 with samba 4.13 The thing is when DC is rebooted, it seems members loose its membership, and the only way to recover it is to reboot the member. In the wrong state, we get the following in members: # net ads testjoin ads_connect: No logon servers are currently available to service the logon request. Join to doman is not valid: No logon servers are currently available to service the logon request. After member reboot, "testjoin" shows membership recovered: # net ads testjoin Join is OK. We suspect it has to do with some winbind parameter. Any help on this would be welcome. -- Francesc Bassas Serrami? Serveis Inform?tics Campus Terrassa C/ Colom 2 08222 Terrassa (Barcelona) Tel?fon : 93.73.98630 https://serveis.terrassa.upc.edu/sict -- Aquest missatge ha estat escanejat per trobar-hi virus i contingut perill?s per MailScanner i es considera que ?s net.
Rowland Penny
2022-Mar-31 10:58 UTC
[Samba] Samba 4 AD member loose membership after DC reboot
On Thu, 2022-03-31 at 11:56 +0200, Frank via samba wrote:> Hi there, > > we have a Samba 4 AD installation with one DC and two members. > > All of them are ubuntu 20.04 with samba 4.13 > > The thing is when DC is rebooted, it seems members loose its > membership, > and the only way to recover it is to reboot the member. > > In the wrong state, we get the following in members: > > # net ads testjoin > ads_connect: No logon servers are currently available to service the > logon request. > Join to doman is not valid: No logon servers are currently available > to > service the logon request. > > After member reboot, "testjoin" shows membership recovered: > > # net ads testjoin > Join is OK. > > We suspect it has to do with some winbind parameter.It may be, but has you haven't provided the smb.conf files you are using, saying which parameter, if any, would be a guess. Please post the smb.conf from the DC and a Unix domain member. Rowland