There are obviously many parameters that may be required to support various security setings; however the below satisfies my need for a small home network where I am trying to mount a shared directory on my wife’s machine onto my local Ubuntu box.
bash> mount -t cifs -o username=guest,iocharset=utf8 $SMB_SHARE $MNT_POINT
- The
cifsfilesystem type has replaced thesmbfspredecessor username=guestcan only be used if the shared directory does not require authentication- Specifying
iocharset=utf8enables unicode characters in file names to render properly. This, of course, assumes both the Windows box and Linux box support the UTF8 encoding. - The
SMB_SHAREshell variable would of a format similar to//192.168.1.5/Share - The
MNT_POINTshell variable corresponds to the mount destination