[Samba] Can a macOS (Posix) client see symlinks on FreeBSD server as symlinks on client?

Jim DeLaHunt list+samba at jdlh.com
Tue Jan 7 06:15:57 UTC 2025


On 2025-01-06 01:49, Kees van Vloten via samba wrote:
>
> Op 06-01-2025 om 10:39 schreef Rowland Penny via samba:
>> On Sun, 5 Jan 2025 22:43:23 -0800
>> Jim DeLaHunt via samba <samba at lists.samba.org> wrote:
>>
>>> Hello, Samba folks:
>>>
>>> Is there a setting I could invoke, either on my server's Samba
>>> configuration or on my macOS smbfs configuration, which would make
>>> the hundreds of legacy symbolic links on the server's Posix file
>>> system appear as symbolic links on the macOS client?
>>> ...[elided]...
>>>
>> ...[elided]...
>
> ...[elided]...
> In the case presented above, there is another unknown, namely how is 
> the implementation in the macOS client regarding symlinks and reparse 
> points?

Kees, thank you for the reply.

How does the macOS client behave?  That is a great question. I have not 
found good documentation on the subject. Apple has posted some Samba 
code publicly at
<https://github.com/apple-oss-distributions/smb/blob/main/kernel/smbfs/smbfs_smb.c>
and the rest of that repository.  I have not tried to read through it to 
figure out exactly how it behaves. And, I don't know for sure that the 
source code there was what was compiled to make the executables on my 
macOS machine.

Best regards,
     —Jim DeLaHunt




More information about the samba mailing list