[Samba] Status of SMB3 POSIX symlinks

Aurélien Aptel aaptel at suse.com
Mon Jan 25 12:54:46 UTC 2021

"Dorian Taylor \(Lists\) via samba" <samba at lists.samba.org> writes:

> Is it still the case that SMB3 symlinks are not implemented? I see this from October 2019:
> https://lists.samba.org/archive/samba/2019-October/226335.html
> `dmesg` output from `mount.cifs -o posix,vers=3.1.1` ("Server does not support mounting with posix SMB3.11 extensions.") would imply it is indeed the case.

Yes the SMB 3.1.1 POSIX extensions code in Samba server is experimental,
you need to build it yourself. There are other on going work on the
server side which are taking priorities.

That being said, you can already use symlinks with any SMB servers by
using the 'mfsymlinks' mount option. It fakes symlinks by storing them
as regular file on the server but returns them as symlinks on the client
side. If you only care that symlinks are symlinks on the client then
this is enough.

If you need absolute links to work on the server (making them point
to absolute path on the server), then this will never be possible.

Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)

More information about the samba mailing list