Tuesday, September 9, 2008

Samba / CIFS mounting in Xubuntu Linux with OS X Shares

Add this to /etc/fstab
//saturn/sharename /home/username/mounted.smbfsdir smbfs iocharset=utf8,credentials=/home/username/.smbcredentials,uid=1000 0 0

cat ~username/.smbcredentials
username=user
password=pass

perms on .smbcredentials
-rw------- 1 root group 37 2008-09-09 09:12 .smbcredentials

-- On the Samba Server so you can follow symlinks properly in the share dir
follow symlinks = yes
wide symlinks = yes
unix extensions = no

No comments:

Post a Comment