SMB with no remote subfolders is not accessible

Hello,

I’ve set up NextCloud using Docker on an Alpine Linux system. I also have a Windows Server 2019 running Active Directory and SMB shares. The SMB client is installed on Alpine, and I have successfully mounted the share with the following configuration:

Host: 10.1.1.1
Share: user1
Remote Subfolder: Folder1\Folder2

The share is accessible, and the credentials are working fine.

However, when I try to access without specifying the remote subfolder (or with just one subfolder), I am unable to access the share. The configuration looks like this:

Host: 10.1.1.1
Share: user1
Remote Subfolder: empty (or just one subfolder)

I can mount the share on Alpine and access it directly without issues, but this specific configuration in NextCloud does not seem to work.

Has anyone encountered a similar issue or have any ideas on how to resolve this?