Marius van Witzenburg We fight for our survival, we fight!

13Mar/100

How to fix broken Samba shares on Mac OS X Snow Leopard

Posted by mariusvw

I was searching for a way to get rid of my Finder problems...
I stumbled upon this blog post, this solved Finder crashes and hookups for me.

Thanks for this info!
~~~
I did a fresh install of Snow Leopard on my Macbook and soon realized my Samba shares were broken through finder - but still worked from the CLI.

Worse still once I tried to access the shares Finder would basically be dead, you'd need to Force Quit it to make it work again.

Eventually I reached for tcpdump and wireshark and found it's the pesky .DS_Store files again, seems my QNAP is denying access to them, Finder did not cope well with this.

A quick bit of hackery of my smb.conf solved it:

veto files = /.AppleDB/.AppleDouble/.AppleDesktop/.DS_Store/:2eDS_Store/Network Trash Folder/Temporary Items/TheVolumeSettingsFolder/.@__thumb/.@__desc/
delete veto files = yes

Once I got this removed and samba restarted my shares were working again in Snow Leopard. A bit annoying but not too hard in the end.