How to mount Mac OS X Lion fileshare?
Solution 1:
With reference to this post in Apple discussion community, you can try to mount with additional two options: nounix,sec=ntlmssp
I've tried that, it works properly:
mount.cifs //192.168.0.x/public /mnt/public -o user=myusername,password=mypassword,nounix,sec=ntlmssp,noperm,rw
Solution 2:
This solution is more generalized and will let you access files on OS X from Ubuntu 11.10, though now via SMB/CIFS. On OS X Lion, enable Remote Login in Sharing, add your user so that you can access it, and then on Ubuntu 11.10 it should show up in Browse Network accessible as SFTP.
Solution 3:
You can use /etc/fstab
as well:
//192.168.0.x/public /mnt/public cifs credentials=/root/.credentialsfile,iocharset=utf8,nounix,sec=ntlmssp,noperm,rw
the /root/.credentialsfile
would look like:
username=myusername
password=mypassword