• I have a general question regarding the default samba settings in omv5.

    I see that if you have at least one share enabled for time machine then

    fruit:aapl = yes 

    gets set globally and

    vfs objects = catia fruit streams_xattr

    Gets set only on the time machine share.

    The global behavior is as I would expect, but only the time machine share getting the vfs object parameters is counter what I’ve seen from the samba wiki. It recommends to set this on all shares if set on any of them:

    Be careful when mixing shares with and without vfs_fruit. OS X clients negotiate SMB2 AAPL protocol extensions on the first tcon, so mixing shares with and without fruit will globally disable AAPL if the first tcon is without fruit.

    Running testparm actually warns about it as well:

    WARNING: some services use vfs_fruit, others don't. Mounting them in conjunction on OS X clients results in undefined behaviour.

    Is this being done deliberately, or perhaps an oversight? Any harm in manually setting the vfs objects as suggested in the extra options of the non-time machine shares?

    Thanks for taking a look!

  • Thanks as always for the great work. Issue created:


    As a temp fix until this is addressed (as priority dictates, of course) just to add the below to the extra options of every share that isn't a time-machine share?

    fruit:encoding = private
    fruit:locking = none
    fruit:metadata = netatalk
    fruit:resource = file
    vfs objects = catia fruit streams_xattr

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!