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:
in fstab have following line:code:mount error(22): invalid argument
if change server reflect smb shared folder on ubuntu work.code://192.168.0.101/web /media/test cifs credentials=/etc/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
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:
and in fstab should have:code:sudo mount -t cifs //server/folder -o 'crednetials=credentialsfile,rw,nounix,noserverinfo,sec=ntlmssp' /path/to/local/folder
while doesn't mount folder when running "sudo mount -a" (it says permission denied), mount during boot process.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
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
Post a Comment