[Samba] winbind seems to hang when the DC goes down instead of switching to the other available DC

Andrea Cucciarre' acucciarre at cloudian.com
Thu Aug 1 15:12:42 UTC 2019


I have checked the DNS configuration as you recommended, and run more tests.
It seems that winbidndd recover itself within about 10 minutes after the 
DC has been shutdown, not sure where that sort of timeout comes from :(

# sleep 60; while true; do date; wbinfo -u; sleep 60; done

Thu Aug  1 16:39:32 CEST 2019
HYPERFILE\guest
HYPERFILE\defaultaccount
HYPERFILE\krbtgt
HYPERFILE\administrator
HYPERFILE\pannibale
HYPERFILE\samba_test
HYPERFILE\emanuel
HYPERFILE\andrea
HYPERFILE\nick

Thu Aug  1 16:40:32 CEST 2019
HYPERFILE\guest
HYPERFILE\defaultaccount
HYPERFILE\krbtgt
HYPERFILE\administrator
HYPERFILE\pannibale
HYPERFILE\samba_test
HYPERFILE\emanuel
HYPERFILE\andrea
HYPERFILE\nick

Thu Aug  1 16:41:32 CEST 2019
Error looking up domain users
Thu Aug  1 16:43:34 CEST 2019
Error looking up domain users
Thu Aug  1 16:45:39 CEST 2019
Error looking up domain users
Thu Aug  1 16:47:44 CEST 2019
Error looking up domain users

Thu Aug  1 16:49:49 CEST 2019
HYPERFILE\administrator
HYPERFILE\guest
HYPERFILE\defaultaccount
HYPERFILE\krbtgt
HYPERFILE\pannibale
HYPERFILE\samba_test
HYPERFILE\emanuel
HYPERFILE\andrea
HYPERFILE\nick

Thu Aug  1 16:50:49 CEST 2019
HYPERFILE\administrator
HYPERFILE\guest
HYPERFILE\defaultaccount
HYPERFILE\krbtgt
HYPERFILE\pannibale
HYPERFILE\samba_test
HYPERFILE\emanuel
HYPERFILE\andrea
HYPERFILE\nick




Il 8/1/2019 9:18 AM, L.P.H. van Belle via samba ha scritto:
> This is strange and should not happen.
>
> Verify if all DC's are also available as NS record in the DNS on the zones.
> Startup the DNS tool.
>
> Goto you primary dnszone ( and repeat for all other zones )
> Do you see all your DC's as NS record in the zone, then its ok, if not..
>
> Klik and Properties on the zone, goto Tab "Nameservers", add the other dc's.
>
> You can also try these settings in resolv.conf
>
> options edns0
> options timeout:1
> options attempts:2
>
> Greetz,
>
> Louis
>
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>> Marco Gaiarin via samba
>> Verzonden: woensdag 31 juli 2019 15:41
>> Aan: samba at lists.samba.org
>> Onderwerp: Re: [Samba] winbind seems to hang when the DC goes
>> down instead of switching to the other available DC
>>
>> Mandi! Andrea Cucciarre' via samba
>>    In chel di` si favelave...
>>
>>> I'm running Samba 4.9.5 as domain member, when I bring down
>> the current
>>> Window DC (10.50.50.187) the winbind seems to hang instead
>> of switching to
>>> the other available DC (10.50.50.25)
>> I'm experimenting the exact behaviour, using 4.8.12-1~deb9 as DM and
>> samba 4.5.16+nmu-1.1~deb8 as DC.
>>
>> When i reboot a DC, and winbind is currently connected to that DC,
>> winbind for a little amount of time respond 'user not found'.
>>
>>
>> The strange things is exactly whay you say: seems that winbind 'stall'
>> until the (rebooting) DC come back, then switch DC; so if, i have to
>> reboot all DC, i trigger this n-times...
>>
>> -- 
>> dott. Marco Gaiarin				        GNUPG
>> Key ID: 240A3D66
>>    Associazione ``La Nostra Famiglia''
>> http://www.lanostrafamiglia.it/
>>    Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al
>> Tagliamento (PN)
>>    marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711
>> f +39-0434-842797
>>
>> 		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
>>        http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
>> 	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
>>
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>>
>




More information about the samba mailing list