According to https://wiki.samba.org/index.php/DFS, the Linux CIFS implementation supports DFS. Make sure you mount with type cifs
and not type smbfs
. I've successfully configured a dfs namespace using Samba, and then mounted that with CIFS.
In samba.conf:
host msdfs = yes
[iso]
path = /home/lars/export/iso
browseable = no
guest ok = yes
writable = no
[dfs]
path = /tmp/dfs
browseable = no
guest ok = yes
writeable = no
msdfs root = yes
In /tmp/dfs:
ln -s msdfs:\\obliquity\iso iso
And then:
# mount.cifs //obliquity/dfs /mnt -o guest
# ls /mnt
ls: cannot read symbolic link /mnt/iso: Object is remote
foo iso
# ls /mnt/iso
a-very-import.ISO