On 08/06/2023 21:19, Marco Gaiarin via samba wrote:> Mandi! sambalsauce1 via samba
> In chel di` si favelave...
>
>> I am running Samba version 4.10.16-24 on RHEL7 kernel 3.10.0-1160. My
Windows 10/Server 2019 clients appear to be dropping connection to the shares
randomly, within hours to a couple days. There are Windows client event IDs
30808, showing that the connection to the network share is re-established
(oddly, there is usually not an event showing that the connection is lost). The
clients also show their mapped network drives as disconnected with a red X icon,
but they immediately reconnect upon accessing them. I have tried setting
smbclient configs with keepconn, sessiontimeout, and extendedsessiontimeout
values raised, but it didn't resolve the issue. The server does not appear
to have lost network connectivity, but I'll need to try and see if I can
verify that 100%. Is there an option in the config file I might need to
reconfigure?
>
> Some users recently complain on Access, i've found:
>
>
https://learn.microsoft.com/it-it/office/troubleshoot/access/your-network-access-was-interrupted-error
>
https://learn.microsoft.com/it-it/troubleshoot/windows-client/networking/mapped-drive-connection-to-network-share-lost
>
https://learn.microsoft.com/en-us/azure/governance/policy/samples/guest-configuration-baseline-windows#security-options---microsoft-network-client
>
> I've tried to set an higher 'AutoDisconnect' timeout, and seems
work.
It sounds like this is a Windows problem then, but that smb.conf was awful.
Rowland