Blog previously known as 'Home Theatre PC'
Comments have been disabled due to spam and lack of time for moderation.
Use the contact link on top to get in touch if you wish.
« 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

No feedback yet

Search

Contents

free blog software
 

©2014 by admin

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