Skip to main content

Thread: Mounting a Mac folder on Ubuntu using SMB and fstab


hi,

i'm trying mount shared mac folder (using smb) on ubuntu via fstab , following error:
code:
mount error(22): invalid argument
in fstab have following line:
code:
//192.168.0.101/web  /media/test cifs credentials=/etc/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777  0  0
if change server reflect smb shared folder on ubuntu work.

if open dolphin , enter smb://192.168.0.101/web prompted enter username , password , can access share, want mounted on automatically on startup.

have idea how can mount network-shared mac folder on ubuntu? possible?

thanks.

apparently problem macos lion uses smbx instead of samba. anyway, managed find solution, including here future refernece.

if want mount folder using command line need run:
code:
sudo mount -t cifs //server/folder -o 'crednetials=credentialsfile,rw,nounix,noserverinfo,sec=ntlmssp' /path/to/local/folder
and in fstab should have:
code:
//server/folder   /path/to/local/folder cifs credentials=credentialfile,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,nounix,noserverinfo,sec=ntlmssp 0 0
while doesn't mount folder when running "sudo mount -a" (it says permission denied), mount during boot process.

hope helps someone, somewhere.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Apple Hardware Users [SOLVED] Mounting a Mac folder on Ubuntu using SMB and fstab


Ubuntu

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support