Hi! Is it possible for windows to actually see and use symlinks on samba server? Windows NTFS does have notion of junctions and symbolic links, so when one open file A (which is a symbolic link), windows actually opens file B. Can such mechanism be used when A is on samba share? This is probably a protocol question more than samba question. Thanks, /mjt
On 04/05/2023 12:57, Michael Tokarev via samba wrote:> Hi! > > Is it possible for windows to actually see and use symlinks on samba > server? > Windows NTFS does have notion of junctions and symbolic links, so when one > open file A (which is a symbolic link), windows actually opens file B. > Can such mechanism be used when A is on samba share? > > This is probably a protocol question more than samba question. > > Thanks, > > /mjt >Samba by default can follow symlinks in a share, see the 'follow symlinks' parameter in 'man smb.conf', but is stopped from following symlinks outside a share by the 'allow insecure wide links' parameter which is set to 'no' by default. Rowland
On 5/4/23 13:57, Michael Tokarev via samba wrote:> Is it possible for windows to actually see and use symlinks on samba > server? > Windows NTFS does have notion of junctions and symbolic links, so when one > open file A (which is a symbolic link), windows actually opens file B. > Can such mechanism be used when A is on samba share?currently not, but with the upcoming SMB3 UNIX Extensions this will be possible. It is currently being worked on by Volker. There's no ETA. -slow -- Ralph Boehme, Samba Team https://samba.org/ SerNet Samba Team Lead https://sernet.de/en/team-samba SAMBA+ Samba packages https://samba.plus/ -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20230504/02aa97e5/OpenPGP_signature.sig>