Is anyone able to offer any assistance with this issue?
I’ve narrowed the problem down to SMB2 and SMB3 support. When i connect using SMB1 the folder mounts OK and i can add files and folders.
In production we cannot use SMB1 so i disable this on the file server and update the smb.conf file with the following options in the global config section:
client min protocol = SMB2
client max protocol = SMB3
Access to the SMB share is then no longer accessible in Nextcloud and the following error is logged:
Error: Wrong parameters for Icewind\SMB\Exception\Exception([string $message [, long $code [, Throwable $previous = NULL]]])
I have the following smb client packages installed:
libsmbclient.x86_64 4.4.4-14.el7_3 @updates
php71-php-smbclient.x86_64 0.9.0-1.el7.remi @remi-safe