smb.conf (macports)
/opt/local/etc/samba3/smb.conf
Example (untested)
[global] ... [shared] comment = My shared files path = /data/shared ... veto files = /.AppleDB/.AppleDouble/.AppleDesktop/.AppleDBcnid.lock/:2eDS_Store/Network Trash Folder/Temporary Items/TheVolumeSettingsFolder/.@__thumb/.@__desc/.DS_Store/ delete veto files = true ...
For Details see http://forum.qnapclub.de/viewtopic.php?f=27&t=5001#p27650
Links