This is the final solution. See failed attempts below and error outputs.
# as line in /etc/fstab //horse.lan/Movies /data/Movies cifs username=guest,password=none,sec=ntlmssp,nounix 0 0 # using mount sudo mount -t cifs //horse.lan/Movies -o username=guest,password=none,sec=ntlmssp,nounix /data/Movies
Attempt 1. Fail. Why. mount.cifs not installed by default.
sudo mount -t cifs //horse.lan/Movies -o guest /data/Movies mount: wrong fs type, bad option, bad superblock on //horse.lan/Movies, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so
Attempt 2 – installed cifs-utils. Fail. Why. Need to use sec option.
sudo apt-get install cifs-utils sudo mount -t cifs //horse.lan/Movies -o guest, /data/Movies mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) # dmesg output [208134.060470] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE [208134.060484] CIFS VFS: Send error in SessSetup = -13 [208134.060648] CIFS VFS: cifs_mount failed w/return code = -13
Attempt 3 – added sec option. Fail. Why. Guest option doesn’t work with OS X. Need to use username=guest,password=none.
sudo mount -t cifs //horse.lan/Movies -o guest,sec=ntlmssp /data/Movies mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) # dmesg output [208134.060470] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE [208134.060484] CIFS VFS: Send error in SessSetup = -13 [208134.060648] CIFS VFS: cifs_mount failed w/return code = -13
Attempt 4 – added manual setting of username/password. Fail. Why. Needs nounix option
sudo mount -t cifs //horse.lan/Movies -o username=guest,password=none,sec=ntlmssp /data/Movies mount error(95): Operation not supported Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) # dmesg output [208260.854805] CIFS VFS: Send error in QFSUnixInfo = -95 [208260.856792] CIFS VFS: cifs_read_super: get root inode failed
Attempt 5 – added nounix option. Win ! Success
sudo mount -t cifs //horse.lan/Movies -o username=guest,password=none,sec=ntlmssp,nounix /data/Movies