SMB shares don't work properly in 11.0.3

Nextcloud version 11.0.3
Operating system and version Ubuntu 16.04 LTS and Debian 8.6
Apache or nginx version (eg, Apache 2.4.25):
PHP version: 7.0 and 5.6
Is this the first time you’ve seen this error?: No

Can you reliably replicate it? (If so, please outline steps):

The issue you are facing:
Mount remote drive with hidden files on it (I have a NAS that has a “.DS_Store” file in the root directory)

Error is in the icewind/NativeState.php file… gives smbclient_state_errno = 104 which isn’t specifically trapped (so drops to unknown error). If you return on this (rather than letting it error out completely with the generic error) then the system works. Can this error be safely ignored.

Line 35 of NativeState.php collects the error. Trace is via smbclient_getxattrib request with the path for a hidden file.

As you already had a closer look into the code, it’s probably better to discuss this directly on the bugtracker at You can also ping the authors of the file you are referring to. Don’t forget to let us a link to follow the discussion.

1 Like