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

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:

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.