[Samba] MAC Client - Issue Following Symbolic Links

Jeremy Allison jra at samba.org
Thu Sep 26 12:13:51 MDT 2013

On Thu, Sep 26, 2013 at 12:29:18PM -0500, Jeffrey Johnson wrote:
> I run SAMBA 3.6.15 on a Solaris 10 server that acts as a portal for my MS
> Windows users into a large number of UNIX servers providing amongst other
> things web-servers and ftp-servers.
> The SAMBA server has these varied resources all mounted as NFS mounts.
> In each users home directory there are symbolic links that take the users
> to their specific resource.
> /home/user/web-site -> /web-site
> /home/user/ftp-site ->/ftp-site
> When a users logins into the Samba server their home directory is
> mapped and for my MS-Windows users this works great.
> For my half-a-dozen Mac users the Symbolic links all fail and has never
> really worked.   I have forced them to use Cyber-duck as a work around for
> the past several (dozen) years.   I should also note that if they users
> login on a Windows machine the system works fine, it just fails on Macs.
> I finally got some time to look under the covers at this issue and
> discovered the problem is how the Mac (Mountain Lion) is resolving the
> symbolic links.   For the lack of a better description, the Windows clients
> allow the server to resolve the symbolic link, so /home/user/web-site is
> resolved as SAMBASERVER:/home/user/web-site, using wide links.   The Mac on
> the other hand defines the link to mean literally MACCLIENT:/web-site and
> looks for /web-site on the client machine.
> After several days of searching the web, is there a fix for this issue?
> Something I have probably over looked I am sure.

Just as a guess, turn off unix extensions ("unix extensions = no")
in the [global] section of your smb.conf and then restart smbd.

More information about the samba mailing list