Fix write access problem for Mac OS X 10.6.x to Samba share on FreeBSD or Linux
Nothing is more irritating than not being able to copy the files you want to a share.
This problem has been bugging me since the release of Mac OS X 10.6.
The fix seems to be quite simple, I added the following to my global block in smb.conf:
1 2 3 4 5 | [global] dos charset = UTF8 unix charset = UTF8 display charset = UTF8 unix extensions = no |
Now we can work without errors again.
Ps. Don't forget to unmount and re-mount your share before the changes take effect.
Snow Leopard and Samba
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.
Using fstab to automatically mount samba drives
Using fstab to automatically mount samba drives from for example a WD ShareStore drive with CIFS and SMB share support.
My configuration runs on FreeBSD 7.
First put your password information into a special tiny file /etc/nsmb.conf
[SERVER]
addr=192.168.1.5[SERVER:USER1]
password=PASS1[SERVER:USER2]
password=PASS2
Next you want to add these to /etc/fstab to auto mount:
# Mount shares
//server@user1/administration /mnt/server/downloads smbfs rw,auto 0 0
//server@user1/communicatie /mnt/server/documents smbfs rw,auto 0 0
//server@user2/creative /mnt/server/music smbfs rw,auto 0 0
I hope this helps you out with easy mounting it



