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