1 .TH "smbmount " "1" "25 September 1999" "Samba" "SAMBA"
4 smbmount \- mount an SMB filesystem
7 \fBsmbmount\fP service mountpoint [ -o options ]
11 smbmount mounts a SMB filesystem\&. It is usually invoked as mount\&.smb
12 from the mount(8) command when using the "-t smb" option\&. The kernel
13 must support the smbfs filesystem\&.
15 Options to smbmount are specified as a comma separated list of
18 NOTE: smbmount calls smbmnt to do the actual mount\&. You must make sure
19 that smbmnt is in the path so that it can be found\&.
21 .IP "\fBusername=<arg>\fP"
22 specifies the username to connect as\&. If this is
23 not given then the environment variable USER is used\&. This option can
24 also take the form user%password or user/workgroup or
25 user/workgroup%password to allow the password and workgroup to be
26 specified as part of the username\&.
28 .IP "\fBpassword=<arg>\fP"
29 specifies the SMB password\&. If not given then
30 smbmount will prompt for a passeword, unless the guest option is
33 .IP "\fBnetbiosname=<arg>\fP"
34 sets the source NetBIOS name\&. It defaults to
38 sets the uid that files will be mounted as\&. It may be
39 specified as either a username or a numeric uid\&.
42 sets the gid that files will be mounted as\&. It may be
43 specified as either a groupname or a numeric gid\&.
45 .IP "\fBport=<arg>\fP"
46 sets the remote SMB port number\&. The default is 139\&.
48 .IP "\fBfmask=<arg>\fP"
49 sets the file mask\&. This deterines the permissions
50 that remote files have in the local filesystem\&. The default is based
51 on the current umask\&.
53 .IP "\fBdmask=<arg>\fP"
54 sets the directory mask\&. This deterines the
55 permissions that remote directories have in the local filesystem\&. The
56 default is based on the current umask\&.
58 .IP "\fBdebug=<arg>\fP"
59 sets the debug level\&. This is useful for tracking
60 down SMB connection problems\&.
63 sets the destination host or IP address\&.
65 .IP "\fBworkgroup=<arg>\fP"
66 sets the workgroup on the destination
68 .IP "\fBsockopt=<arg>\fP"
69 sets the TCP socket options\&. See the smb\&.conf
70 "socket options" option\&.
72 .IP "\fBscope=<arg>\fP"
73 sets the NetBIOS scope
76 don\'t prompt for a password
86 The maintainer of smbfs, smbmnt and smbmount is Andrew Tridgell
87 \fItridge@samba\&.org\fP