Can't connect to Windows share (smb3) Empty response from the server

Steps to reproduce
1. put "client max protocol = SMB3" into the [global] section of /etc/samba/smb.conf
2. connect to the server via vpnc
3. set up the share via the external storage feature

Actual behaviour
there is a red square next to the share in the personal settings and when I try to access the remote folder it says "There was an error with message: Empty response from the server. Do you want to review mount point config in personal settings page?"

Server configuration
Operating system: ubuntu server 16.04.2 LTS
Web server: apache 2.4.18
Database: MariaDB
PHP version: 7.0.13
ownCloud version: 9.1.4
Updated from an older ownCloud or fresh install: fresh
Special configuration: see "steps to reproduce"

Integrity status for oC9+

No errors have been found.

I can, however, access the share via smbclient just fine.
The Server is only available via smb3 hence the addition to the smb.conf. Also I have to use a VPN to access it.

ownCloud is using the libsmbclient binary and the PHP implementation using it available at [1]. A good starting point to debug such issues are to do a research in this direction.


1 Like

Thanks. The problem was that php-smbclient was not installed at all. Just installed it, rebooted and everything works