[Samba] Symbolic links not visible on osx 10.10

Markus Doits markus-samba at stellenticket.de
Mon Jan 5 08:06:46 MST 2015

I just found out this is not only happening on the osx clients by
mounting the share on the server:

All this below happens on an linux arch server mounting the own share:

mount //ip.addr/Programs ./tmp -o vers=3.0
--> non existent symlinks do not show up
--> cannot create symbolic links ("operation not supported")

mount //ip.addr/Programs ./tmp -o vers=2.1
--> non existent symlinks do not show up
--> cannot create symbolic links ("operation not supported")

mount //ip.addr/Programs ./tmp -o vers=1.0
--> non existent symlinks show up
---> links are created as real links

I noticed the mount output shows `nounix` when connecting with 2.1 and 3.0:

//ip.addr/Programs on /mnt/tmp type cifs

This is done automatically, I have no idea how to remove it. (-o unix,
-o nounix=0 give an error)

So not only happening on osx client ... :-(

Is this maybe per protocol? Samba protocol 2.1 and 3.0 not being able to
use *real*  symbolic links?


On 05.01.15 15:28, Markus Doits wrote:
> Hi Ralph,
> On 05.01.15 15:00, Ralph Böhme wrote:
>>> [Programs]
>>>         path = /server/shares/programs
>>>         valid users = some users
>>>         read only = No
>>>         force create mode = 0660
>>>         force directory mode = 0770
>>>         vfs objects = fruit # tried without fruit vfs, no change
>> on first reading I thought this sound like a bug in vfs_fruit, but
>> here you mention that this happens regardless of using
>> vfs_fruit. Right?
> Yeah, just tested it once again to be sure - completely removing the
> `vfs objects` line. No change :-(
> One more observation: When creating a link in the osx client, it creates
> a file with some content in the share (no *real* symbolic link), so when
> I type the following in the osx client console it shows the link:
> ln -s non_existent linkname
> But on the server, `linkname` is actually a file with some weird content ...
> # cat linkname
> XSym
> 0012
> 08bcb178594050dcd60506a138b8c14c
> non_existent
> Looks like a candidate for the vfs_fruit module (translate symbolic
> links?!)? (tested it with vfs_fruit and without).
> Markus

More information about the samba mailing list