Blog previously known as 'Home Theatre PC'
« Ubuntu 10.04 Lucid Lynx - PXE bootable installation without any bootable media to begin withiTunes fails to connect to iTunes Store »

Samba (smb,cifs) share from Mac OSX Snow Leopard to Linux

  09/08/10 20:15, by Esa, Categories: Software

If you are trying to mount a directory from OSX with 'Windows sharing' enabled and you have problems with characters not showing properly then your linux system has something else than utf8 in nls_default.

To make it work, simply put something like


//10.10.10.10/music /mnt/music cifs rw,credentials=/etc/credentials,iocharset=utf8 0 0

into your /etc/fstab (the important bit being iocharset=utf8). To avoid having to type plaintext passwords in world readable file (/etc/fstab) you can specify credentials file, which can be readable by only root. Credentials file needs to have two lines in it

username=zzzz
password=yyyy

All you need to do now is

umount /mnt/music & mount /mnt/music

Feedback awaiting moderation

This post has 79 feedbacks awaiting moderation...

 

©2014 by admin

Contact | Help | Blog theme by Asevo | multiple blogs | webhosting