- Ubuntu Desktop 16.04.3 LTS
- Kernel - 4.10.0-40-generic
- cifs-utils - 2:6.4-1ubuntu1.1
- samba & smbclient - 2:4.3.11+dfsg-0ubuntu0.16.04.12
We are a large company with a Windows Server backend and a mix of Windows, MacOS, CentOS and Ubuntu clients. We use DFS heavily for file share management.
Recently, we've begin disabling SMB v1 on the Windows servers to mitigate that protocol's associated vulnerabilities. This has not been any trouble for the Windows or Mac clients, however, the Ubuntu and CentOS clients are having a lot of trouble.
Specifically, mounting a DFS share fails once the client tries to see past the symbolic link that points to the absolute path.
//namespaceserver/share/directory/symboliclink points to
//realserver/sharename
This is the command I'm using:
sudo mount.cifs //namespaceserver/share /mnt/share -o vers=2.1,user='user@domain.com
The mount is successful and I can navigate within the DFS namespace but, once I try to go past the symbolic link, I get:
ls: cannot access '/mnt/share/directory/symboliclink': Function not supported.
I've added follow
symlinks=yes and
unix extensions=no to the smb.conf file but that didn't help.
This issue does not happen if SMB v1 remains enabled on the Windows server.
Any advice would be appreciated as I've spent about ten hours on this issue so far.