[Samba] CIFS share disconnects on Linux client, but is still accessible via SMBCLIENT

Gene Poole landrlatz at free.fr
Mon Jul 26 04:14:40 UTC 2021

Hello. I'm still trying to solve this problem. To sum up:

On boot, with the following mount line in fstab:

//192.xxx.x.xx/Work /mnt/Work cifs 
0 0

the Windows share Work mounts and is accessible for read-write. But 
after about 20 minutes it becomes inaccessible
and throws the error "Host is down".  Trying to re-mount it throws the 
error "No such file or directory".
But it remains accessible via SMBCLIENT with the following command:

smbclient -A /home/alarm/.smbcredentials //192.xxx.x.xx/Work

The samba log is showing the following (ETHIQUABLE is the netbios name 
of the Windows host,
on which is an account with the same samba credentials as on the Linux 
Please note the references to NTLMv1:


[2021/07/26 03:20:53.375603,  2] 

   Auth: [SMB2,(null)] user [ETHIQUABLE]\[alarm] at [Mon, 26 Jul 2021 
03:20:53.375512 UTC] with [NTLMv1] status [NT_STATUS_WRONG_PASSWORD] 
workstation [ETHIQUABLE] remote host [ipv4:192.xxx.x.xx:11518] mapped to 
[ETHIQUABLE]\[alarm]. local host [ipv4:192.xxx.x.xx:445]


"NT_STATUS_WRONG_PASSWORD", "localAddress": "ipv4:192.xxx.x.xx:445", 
"remoteAddress": "ipv4:192.xxx.x.xx:11518", "serviceDescription": 
"SMB2", "authDescription": null, "clientDomain":


   gensec_spnego_server_negTokenTarg_step: SPNEGO(ntlmssp) login failed: 


[2021/07/26 03:25:43.505589,  2] 
   ntlm_password_check: NTLMv1 passwords NOT PERMITTED for user alarm
[2021/07/26 03:25:43.505713,  3] 
   ntlm_password_check: NEITHER LanMan nor NT password supplied for user 
[2021/07/26 03:25:43.505812,  4] 

Why are there references to NTLMv1 when samba (I have v 4.14.5) 
supposedly no longer uses it, it is not specified in fstab or in smb.conf,
and it has been disabled on the Windows computer?
Could this be related to the cause of the problem? I will be happy to 
post any information that might be needed.

More information about the samba mailing list