[Samba] vfs_fruit works great on OS X 10.9.5, 10.10.3 notsomuch

Morgan, David S DAVID_MORGAN at hms.harvard.edu
Wed Jun 10 15:31:49 MDT 2015


Hi,

I'm very happy to see the work done on vfs_fruit.  This has been a 
pain-point for our users for a long time now, and it seems like we're 
finally close to a solution.  Thanks, Ralph!

That said, we're still having some issues.  I've installed Samba 4.2.2 
from the SerNet Ubuntu package repo on a test VM running Xubuntu 14.04.2 
LTS.  I've set up Samba with a simple share and have populated a 
directory "lots_of_files" with ~10,000 files.

When I connect from a Mac running 10.9.5 over a VPN from home (VM is on 
a host at work), and browse the directory lots_of_files, the directory 
listing shows up almost instantly (~7 seconds).  When I browse from a 
Mac running 10.10.3 over the same type of VPN connection, it goes for 
over 3 minutes without showing anything.  I've tried both tests over a 
wired and wifi connection, and the results are the same.

Perhaps something has changed with one of the recent OS X 10.10 updates? 
Not sure.  Below is my smb.conf.  Let me know if you need any additional 
information.

Ralph, hilf mir! :-)

-D


# Global parameters
[global]
         server string = %h server (Samba, Ubuntu)
         server role = standalone server
         map to guest = Bad User
         obey pam restrictions = Yes
         pam password change = Yes
         passwd program = /usr/bin/passwd %u
         passwd chat = *Enter\snew\s*\spassword:* %n\n 
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
         unix password sync = Yes
         syslog = 0
         log file = /var/log/samba/log.%m
         max log size = 1000
         dns proxy = No
         usershare allow guests = Yes
         panic action = /usr/share/samba/panic-action %d
         idmap config * : backend = tdb


[printers]
         comment = All Printers
         path = /var/spool/samba
         create mask = 0700
         printable = Yes
         print ok = Yes
         browseable = No


[print$]
         comment = Printer Drivers
         path = /var/lib/samba/printers


[share]
         comment = Testing share for Samba 4.2
         path = /d0/share
         valid users = system
         write list = system
         read only = No
         force create mode = 0660
         force directory mode = 0770
         vfs objects = catia fruit streams_xattr
         fruit:aapl = yes
         fruit:encoding = native
         fruit:locking = none
         fruit:metadata = stream
         fruit:resource = file



More information about the samba mailing list