| MOUNT_SMBFS(8) | System Manager's Manual | MOUNT_SMBFS(8) | 
mount_smbfs —
| mount_smbfs | [ -Ecs1:cs2]
      [-Ihost]
      [-Llocale]
      [-Mcrights:srights]
      [-N] [-Ocowner:cgroup/sowner:sgroup]
      [-Rretrycount]
      [-Ttimeout]
      [-Wworkgroup]
      [-ccase]
      [-dmode]
      [-fmode]
      [-ggid]
      [-nopt]
      [-uuid]
      //
      user@
      server/ share
      node | 
mount_smbfs command mounts a share from a remote
  server using SMB/CIFS protocol.
The options are as follows:
-E
    cs1:cs2-I
    host-L
    localemount_smbfs tries to use an environment variable
      LC_* to determine it.-M
    crights:srights-Nmount_smbfs reads the
      ~/.nsmbrc file for additional configuration
      parameters and a password. If no password is found,
      mount_smbfs prompts for it.-O
    cowner:cgroup/sowner:sgroup-R
    retrycount-T
    timeout-W
    workgroup-c
    case-f
    mode, -d
    modeNote that these permissions can differ from the rights granted by SMB server.
-u
    uid, -g
    gidmount_smbfs command will use
      server as the NetBIOS name of remote computer,
      user as the remote user name and
      share as the resource name on a remote server. If
      your connections are refused, try using the -I
      option and use a server name of ‘*SMBSERVER’.mount_smbfs -I samba.mydomain.com //guest@samba/public /smb/public mount_smbfs -I 192.168.20.3 -E koi8-r:cp866 //guest@samba/tmp /smb/tmp
If you keep on getting "Connection reset by peer" errors, try:
mount_smbfs -N -I 10.0.0.4 //'*SMBSERVER'/tmp /smb/tmp
It is possible to use fstab(5) for smbfs mounts:
//guest@samba/public /smb/public
  smbfs rw,noauto 0 0-E option works only if you mount with
  rump_smbfs(8) instead of
  mount_smbfs.
The -c option is not implemented yet. It
    is silently ignored for now.
| November 17, 2014 | NetBSD 9.4 |