[PATCH storage 0/1] Fix CIFS connection check

shaan1337 sniper111 at gmail.com
Tue Mar 7 20:16:28 CET 2023


This fixes an issue I've encountered on Proxmox VE 7.2-3 where
attempting to add a CIFS/SMB share consistently results in a
"storage is not online" error.

The smbclient version is: 4.13.13-Debian.

The output when the quotes are not present is:
"session setup failed: NT_STATUS_LOGON_FAILURE"

After the fix, it results in the expected message:
"echo failed: NT_STATUS_CONNECTION_DISCONNECTED"

shaan1337 (1):
  cifs: fix connection check by surrounding echo command with quotes

 PVE/Storage/CIFSPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1





More information about the pve-devel mailing list