1mailto(samba@samba.org) 2 3manpage(smbmount htmlcommand((1)))(1)(25 September 1999)(Samba)(SAMBA) 4 5label(NAME) 6manpagename(smbmount)(mount an SMB filesystem) 7 8label(SYNOPSIS) 9manpagesynopsis() 10bf(smbmount) service mountpoint [ -o options ] 11 12label(DESCRIPTION) 13manpagedescription() 14 15smbmount mounts a SMB filesystem. It is usually invoked as mount.smbfs 16from the mount(8) command when using the "-t smbfs" option. The kernel 17must support the smbfs filesystem. 18 19Options to smbmount are specified as a comma separated list of 20key=value pairs. 21 22NOTE: smbmount calls smbmnt to do the actual mount. You must make sure 23that smbmnt is in the path so that it can be found. 24 25startdit() 26dit(bf(username=<arg>)) specifies the username to connect as. If this is 27not given then the environment variable USER is used. This option can 28also take the form user%password or user/workgroup or 29user/workgroup%password to allow the password and workgroup to be 30specified as part of the username. 31 32dit(bf(password=<arg>)) specifies the SMB password. If not given then 33smbmount will prompt for a passeword, unless the guest option is 34given. 35 36dit(bf(netbiosname=<arg>)) sets the source NetBIOS name. It defaults to 37the local hostname. 38 39dit(bf(uid=<arg>)) sets the uid that files will be mounted as. It may be 40specified as either a username or a numeric uid. 41 42dit(bf(gid=<arg>)) sets the gid that files will be mounted as. It may be 43specified as either a groupname or a numeric gid. 44 45dit(bf(port=<arg>)) sets the remote SMB port number. The default is 139. 46 47dit(bf(fmask=<arg>)) sets the file mask. This deterines the permissions 48that remote files have in the local filesystem. The default is based 49on the current umask. 50 51dit(bf(dmask=<arg>)) sets the directory mask. This deterines the 52permissions that remote directories have in the local filesystem. The 53default is based on the current umask. 54 55dit(bf(debug=<arg>)) sets the debug level. This is useful for tracking 56down SMB connection problems. 57 58dit(bf(ip=<arg>)) sets the destination host or IP address. 59 60dit(bf(workgroup=<arg>)) sets the workgroup on the destination 61 62dit(bf(sockopt=<arg>)) sets the TCP socket options. See the smb.conf 63"socket options" option. 64 65dit(bf(scope=<arg>)) sets the NetBIOS scope 66 67dit(bf(guest)) don't prompt for a password 68 69dit(bf(ro)) mount read-only 70 71dit(bf(rw)) mount read-write 72 73enddit() 74 75manpageauthor() 76The maintainer of smbfs, smbmnt and smbmount is Andrew Tridgell 77email(tridge@samba.org) 78