Changeset 134 for branches/samba-3.0/docs/manpages/smbmount.8
- Timestamp:
- May 23, 2008, 6:56:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/manpages/smbmount.8
r44 r134 1 .\"Generated by db2man.xsl. Don't modify this, modify the source. 2 .de Sh \" Subsection 3 .br 4 .if t .Sp 5 .ne 5 6 .PP 7 \fB\\$1\fR 8 .PP 9 .. 10 .de Sp \" Vertical space (when we can't use .PP) 11 .if t .sp .5v 12 .if n .sp 13 .. 14 .de Ip \" List item 15 .br 16 .ie \\n(.$>=3 .ne \\$3 17 .el .ne 3 18 .IP "\\$1" \\$2 19 .. 20 .TH "SMBMOUNT" 8 "" "" "" 1 .\" Title: smbmount 2 .\" Author: 3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> 4 .\" Date: 05/21/2008 5 .\" Manual: 6 .\" Source: 7 .\" 8 .TH "SMBMOUNT" "8" "05/21/2008" "" "" 9 .\" disable hyphenation 10 .nh 11 .\" disable justification (adjust text to left margin only) 12 .ad l 21 13 .SH "NAME" 22 14 smbmount - mount an smbfs filesystem 23 15 .SH "SYNOPSIS" 24 16 .HP 1 25 smbmount {service} {mount -point} [-ooptions]17 smbmount {service} {mount\-point} [\-o\ options] 26 18 .SH "DESCRIPTION" 27 19 .PP 28 20 smbmount 29 mounts a Linux SMB filesystem . It is usually invoked as30 mount .smbfs21 mounts a Linux SMB filesystem\. It is usually invoked as 22 mount\.smbfs 31 23 by the 32 24 \fBmount\fR(8) 33 command when using the " -t smbfs" option. This command only works in Linux, and the kernel must support the smbfs filesystem.25 command when using the "\-t smbfs" option\. This command only works in Linux, and the kernel must support the smbfs filesystem\. 34 26 .PP 35 27 WARNING: 36 28 smbmount 37 is deprecated and not maintained any longer .38 mount .cifs39 (mount -t cifs) should be used instead of40 smbmount .29 is deprecated and not maintained any longer\. 30 mount\.cifs 31 (mount \-t cifs) should be used instead of 32 smbmount\. 41 33 .PP 42 34 Options to 43 35 smbmount 44 are specified as a comma -separated list of key=value pairs. It is possible to send options other than those listed here, assuming that smbfs supports them. If you get mount failures, check your kernel log for errors on unknown options.45 .PP 46 smbmount 47 is a daemon . After mounting it keeps running until the mounted smbfs is umounted. It will log things that happen when in daemon mode using the "machine name" smbmount, so typically this output will end up in48 \fIlog .smbmount\fR. The49 smbmount 50 process may also be called mount .smbfs.36 are specified as a comma\-separated list of key=value pairs\. It is possible to send options other than those listed here, assuming that smbfs supports them\. If you get mount failures, check your kernel log for errors on unknown options\. 37 .PP 38 smbmount 39 is a daemon\. After mounting it keeps running until the mounted smbfs is umounted\. It will log things that happen when in daemon mode using the "machine name" smbmount, so typically this output will end up in 40 \fIlog\.smbmount\fR\. The 41 smbmount 42 process may also be called mount\.smbfs\. 51 43 .sp 52 44 .it 1 an-trap … … 54 46 .nr an-break-flag 1 55 47 .br 56 \fBNote\fR 48 Note 57 49 .PP 58 50 … … 60 52 calls 61 53 \fBsmbmnt\fR(8) 62 to do the actual mount . You must make sure that54 to do the actual mount\. You must make sure that 63 55 smbmnt 64 is in the path so that it can be found .56 is in the path so that it can be found\. 65 57 .SH "OPTIONS" 66 58 .PP 67 59 username=<arg> 68 .RS 3n69 specifies the username to connect as . If this is not given, then the environment variable60 .RS 4 61 specifies the username to connect as\. If this is not given, then the environment variable 70 62 \fB USER\fR 71 is used . This option can also take the form "user%password" or "user/workgroup" or "user/workgroup%password" to allow the password and workgroup to be specified as part of the username.63 is used\. This option can also take the form "user%password" or "user/workgroup" or "user/workgroup%password" to allow the password and workgroup to be specified as part of the username\. 72 64 .RE 73 65 .PP 74 66 password=<arg> 75 .RS 3n76 specifies the SMB password . If this option is not given then the environment variable67 .RS 4 68 specifies the SMB password\. If this option is not given then the environment variable 77 69 PASSWD 78 is used . If it can find no password79 smbmount 80 will prompt for a password, unless the guest option is given .81 .sp 82 Note that passwords which contain the argument delimiter character (i .e. a comma ',') will failed to be parsed correctly on the command line. However, the same password defined in the PASSWD environment variable or a credentials file (see below) will be read correctly.70 is used\. If it can find no password 71 smbmount 72 will prompt for a password, unless the guest option is given\. 73 .sp 74 Note that passwords which contain the argument delimiter character (i\.e\. a comma \',\') will failed to be parsed correctly on the command line\. However, the same password defined in the PASSWD environment variable or a credentials file (see below) will be read correctly\. 83 75 .RE 84 76 .PP 85 77 credentials=<filename> 86 .RS 3n 87 specifies a file that contains a username and/or password. The format of the file is: 88 89 .sp 90 78 .RS 4 79 specifies a file that contains a username and/or password\. The format of the file is: 80 .sp 81 .RS 4 91 82 .nf 92 93 username = <value> 94 password = <value> 95 83 username=value 84 password=value 96 85 .fi 97 86 .RE 98 87 .sp 99 88 This is preferred over having passwords in plaintext in a shared file, such as 100 \fI/etc/fstab\fR . Be sure to protect any credentials file properly.89 \fI/etc/fstab\fR\. Be sure to protect any credentials file properly\. 101 90 .RE 102 91 .PP 103 92 krb 104 .RS 3n105 Use kerberos (Active Directory) .93 .RS 4 94 Use kerberos (Active Directory)\. 106 95 .RE 107 96 .PP 108 97 netbiosname=<arg> 109 .RS 3n110 sets the source NetBIOS name . It defaults to the local hostname.98 .RS 4 99 sets the source NetBIOS name\. It defaults to the local hostname\. 111 100 .RE 112 101 .PP 113 102 uid=<arg> 114 .RS 3n115 sets the uid that will own all files on the mounted filesystem . It may be specified as either a username or a numeric uid.103 .RS 4 104 sets the uid that will own all files on the mounted filesystem\. It may be specified as either a username or a numeric uid\. 116 105 .RE 117 106 .PP 118 107 gid=<arg> 119 .RS 3n120 sets the gid that will own all files on the mounted filesystem . It may be specified as either a groupname or a numeric gid.108 .RS 4 109 sets the gid that will own all files on the mounted filesystem\. It may be specified as either a groupname or a numeric gid\. 121 110 .RE 122 111 .PP 123 112 port=<arg> 124 .RS 3n125 sets the remote SMB port number . The default is 445, fallback is 139.113 .RS 4 114 sets the remote SMB port number\. The default is 445, fallback is 139\. 126 115 .RE 127 116 .PP 128 117 fmask=<arg> 129 .RS 3n130 sets the file mask . This determines the permissions that remote files have in the local filesystem. This is not a umask, but the actual permissions for the files. The default is based on the current umask.118 .RS 4 119 sets the file mask\. This determines the permissions that remote files have in the local filesystem\. This is not a umask, but the actual permissions for the files\. The default is based on the current umask\. 131 120 .RE 132 121 .PP 133 122 dmask=<arg> 134 .RS 3n135 Sets the directory mask . This determines the permissions that remote directories have in the local filesystem. This is not a umask, but the actual permissions for the directories. The default is based on the current umask.123 .RS 4 124 Sets the directory mask\. This determines the permissions that remote directories have in the local filesystem\. This is not a umask, but the actual permissions for the directories\. The default is based on the current umask\. 136 125 .RE 137 126 .PP 138 127 debug=<arg> 139 .RS 3n140 Sets the debug level . This is useful for tracking down SMB connection problems. A suggested value to start with is 4. If set too high there will be a lot of output, possibly hiding the useful output.128 .RS 4 129 Sets the debug level\. This is useful for tracking down SMB connection problems\. A suggested value to start with is 4\. If set too high there will be a lot of output, possibly hiding the useful output\. 141 130 .RE 142 131 .PP 143 132 ip=<arg> 144 .RS 3n145 Sets the destination host or IP address .133 .RS 4 134 Sets the destination host or IP address\. 146 135 .RE 147 136 .PP 148 137 workgroup=<arg> 149 .RS 3n138 .RS 4 150 139 Sets the workgroup on the destination 151 140 .RE 152 141 .PP 153 142 sockopt=<arg> 154 .RS 3n155 Sets the TCP socket options . See the143 .RS 4 144 Sets the TCP socket options\. See the 156 145 \fBsmb.conf\fR(5) 157 146 \fIsocket options\fR 158 option .147 option\. 159 148 .RE 160 149 .PP 161 150 scope=<arg> 162 .RS 3n151 .RS 4 163 152 Sets the NetBIOS scope 164 153 .RE 165 154 .PP 166 155 guest 167 .RS 3n168 Don 't prompt for a password156 .RS 4 157 Don\'t prompt for a password 169 158 .RE 170 159 .PP 171 160 ro 172 .RS 3n173 mount read -only161 .RS 4 162 mount read\-only 174 163 .RE 175 164 .PP 176 165 rw 177 .RS 3n178 mount read -write166 .RS 4 167 mount read\-write 179 168 .RE 180 169 .PP 181 170 iocharset=<arg> 182 .RS 3n183 sets the charset used by the Linux side for codepage to charset translations (NLS) . Argument should be the name of a charset, like iso8859-1. (Note: only kernel 2.4.0 or later)171 .RS 4 172 sets the charset used by the Linux side for codepage to charset translations (NLS)\. Argument should be the name of a charset, like iso8859\-1\. (Note: only kernel 2\.4\.0 or later) 184 173 .RE 185 174 .PP 186 175 codepage=<arg> 187 .RS 3n188 sets the codepage the server uses . See the iocharset option. Example value cp850. (Note: only kernel 2.4.0 or later)176 .RS 4 177 sets the codepage the server uses\. See the iocharset option\. Example value cp850\. (Note: only kernel 2\.4\.0 or later) 189 178 .RE 190 179 .PP 191 180 ttl=<arg> 192 .RS 3n193 sets how long a directory listing is cached in milliseconds (also affects visibility of file size and date changes) . A higher value means that changes on the server take longer to be noticed but it can give better performance on large directories, especially over long distances. Default is 1000ms but something like 10000ms (10 seconds) is probably more reasonable in many cases. (Note: only kernel 2.4.2 or later)181 .RS 4 182 sets how long a directory listing is cached in milliseconds (also affects visibility of file size and date changes)\. A higher value means that changes on the server take longer to be noticed but it can give better performance on large directories, especially over long distances\. Default is 1000ms but something like 10000ms (10 seconds) is probably more reasonable in many cases\. (Note: only kernel 2\.4\.2 or later) 194 183 .RE 195 184 .SH "ENVIRONMENT VARIABLES" … … 197 186 The variable 198 187 \fBUSER\fR 199 may contain the username of the person using the client . This information is used only if the protocol level is high enough to support session-level passwords. The variable can be used to set both username and password by using the format username%password.188 may contain the username of the person using the client\. This information is used only if the protocol level is high enough to support session\-level passwords\. The variable can be used to set both username and password by using the format username%password\. 200 189 .PP 201 190 The variable 202 191 \fBPASSWD\fR 203 may contain the password of the person using the client . This information is used only if the protocol level is high enough to support session-level passwords.192 may contain the password of the person using the client\. This information is used only if the protocol level is high enough to support session\-level passwords\. 204 193 .PP 205 194 The variable 206 195 \fBPASSWD_FILE\fR 207 may contain the pathname of a file to read the password from . A single line of input is read and used as the password.196 may contain the pathname of a file to read the password from\. A single line of input is read and used as the password\. 208 197 .SH "OTHER COMMANDS" 209 198 .PP … … 214 203 or the UNIX system 215 204 umount 216 command .205 command\. 217 206 .SH "BUGS" 218 207 .PP 219 Passwords and other options containing , can not be handled . For passwords an alternative way of passing them is in a credentials file or in the PASSWD environment.220 .PP 221 The credentials file does not handle usernames or passwords with leading space .208 Passwords and other options containing , can not be handled\. For passwords an alternative way of passing them is in a credentials file or in the PASSWD environment\. 209 .PP 210 The credentials file does not handle usernames or passwords with leading space\. 222 211 .PP 223 212 One smbfs bug is important enough to mention here, even if it is a bit misplaced: 224 .TP 3n 225 \(bu 226 Mounts sometimes stop working. This is usually caused by smbmount terminating. Since smbfs needs smbmount to reconnect when the server disconnects, the mount will eventually go dead. An umount/mount normally fixes this. At least 2 ways to trigger this bug are known. 227 .PP 228 Note that the typical response to a bug report is suggestion to try the latest version first. So please try doing that first, and always include which versions you use of relevant software when reporting bugs (minimum: samba, kernel, distribution) 213 .sp 214 .RS 4 215 .ie n \{\ 216 \h'-04'\(bu\h'+03'\c 217 .\} 218 .el \{\ 219 .sp -1 220 .IP \(bu 2.3 221 .\} 222 Mounts sometimes stop working\. This is usually caused by smbmount terminating\. Since smbfs needs smbmount to reconnect when the server disconnects, the mount will eventually go dead\. An umount/mount normally fixes this\. At least 2 ways to trigger this bug are known\. 223 .sp 224 .RE 225 .PP 226 Note that the typical response to a bug report is suggestion to try the latest version first\. So please try doing that first, and always include which versions you use of relevant software when reporting bugs (minimum: samba, kernel, distribution) 229 227 .SH "SEE ALSO" 230 228 .PP 231 Documentation/filesystems/smbfs .txt in the linux kernel source tree may contain additional options and information.229 Documentation/filesystems/smbfs\.txt in the linux kernel source tree may contain additional options and information\. 232 230 .PP 233 231 FreeBSD also has a smbfs, but it is not related to smbmount 234 232 .PP 235 For Solaris, HP -UX and others you may want to look at233 For Solaris, HP\-UX and others you may want to look at 236 234 \fBsmbsh\fR(1) 237 or at other solutions, such as Sharity or perhaps replacing the SMB server with a NFS server .235 or at other solutions, such as Sharity or perhaps replacing the SMB server with a NFS server\. 238 236 .SH "AUTHOR" 239 237 .PP 240 Volker Lendecke, Andrew Tridgell, Michael H . Warfield and others.238 Volker Lendecke, Andrew Tridgell, Michael H\. Warfield and others\. 241 239 .PP 242 240 The current maintainer of smbfs and the userspace tools … … 245 243 smbmnt 246 244 is 247 Urban Widmark . The245 Urban Widmark\. The 248 246 SAMBA Mailing list 249 is the preferred place to ask questions regarding these programs. 250 .PP 251 The conversion of this manpage for Samba 2.2 was performed by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy. 252 247 is the preferred place to ask questions regarding these programs\. 248 .PP 249 The conversion of this manpage for Samba 2\.2 was performed by Gerald Carter\. The conversion to DocBook XML 4\.2 for Samba 3\.0 was done by Alexander Bokovoy\.
Note:
See TracChangeset
for help on using the changeset viewer.