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
cifs
filesystem type has replaced thesmbfs
predecessor username=guest
can only be used if the shared directory does not require authentication- Specifying
iocharset=utf8
enables 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_SHARE
shell variable would of a format similar to//192.168.1.5/Share
- The
MNT_POINT
shell variable corresponds to the mount destination