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
On Thursday, June 8th, 2023 at 6:36 AM, Rowland Penny via samba wrote:> How are you running Samba ? > Is it domain joined or a standalone server ?> Posting your smb.conf will help.Samba is domain joined with CentrifyDC-5.9.1 Server Suite. The below is the smb.conf file: [global] security = ADS realm = domain.site workgroup = domain netbios name = samba template homedir = /home/%u template shell = /bin/bash strict allocate = no strict locking = no posix locking = no read raw = Yes write raw = Yes socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072 aio read size = 16384 aio write size = 16384 auth methods = guest, sam, winbind, ntdomain machine password timeout = 0 passdb backend = tdbsam:/etc/samba/private/passdb.tdb kerberos method = secrets and keytab server signing = auto client signing = auto client use spnego principal = true client ntlmv2 auth = yes client use spnego = yes min protocol = SMB3 winbind enum users = Yes winbind enum groups = Yes winbind use default domain = Yes winbind nested groups = Yes winbind rpc only = Yes winbind offline logon = false idmap cache time = 0 idmap config * : backend = tdb idmap config * : range = 10000 - 90000 # custom range - nak - 6/27/2014 idmap config * : base_tdb = 0 enable core files = false syslog = 0 log file = /var/log/samba/samba.log # debug level = 0 log level = 10 max log size = 0 invalid users = root deamon bin sys adm nobody mail uucp [home] comment = Home directories path = /home read only = No public = yes browseable = No writeable = yes create mask = 0664 directory mask = 0775 force group = caps follow symlinks = no [apps] comment = Linux apps directory path = /apps read only = no guest ok = yes public = yes browseable = no writeable = yes [share2] comment = Linux share2 directory path = /share2 read only = yes guest ok = yes public = yes browseable = no writeable = yes [common] comment = Linux common directory path = /common read only = no guest ok = yes public = yes browseable = no writeable = yes create mask = 0664 directory mask = 0775 force group = caps [share3] comment = Linux share3 directory path = /share3 read only = no guest ok = yes public = yes browseable = no writeable = yes create mask = 0664 directory mask = 0775 force group = caps [homes] comment = Home directories read only = No browseable = No