[Samba] Windows clients disconnect periodically

Rowland Penny rpenny at samba.org
Thu Jun 8 13:36:52 UTC 2023



On 08/06/2023 14:13, sambalsauce1 via samba wrote:
> 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?

How are you running Samba ?
Is it domain joined or a standalone server ?

Posting your smb.conf will help.

Rowland





More information about the samba mailing list