- Timestamp:
- Sep 30, 2008, 7:14:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/htmldocs/manpages/smbclient.1.html
r134 r158 1 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>smbclient</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="smbclient.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbclient — ftp-like client to access SMB/CIFS resources 2 on servers</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">smbclient</code> [-b <buffer size>] [-d debuglevel] [-e] [-L <netbios name>] [-U username] [-I destinationIP] [-M <netbios name>] [-m maxprotocol] [-A authfile] [-N] [-i scope] [-O <socket options>] [-p port] [-R <name resolve order>] [-s <smb config file>] [-k] [-P] [-c <command>]</p></div><div class="cmdsynopsis"><p><code class="literal">smbclient</code> {servicename} [password] [-b <buffer size>] [-d debuglevel] [-e] [-D Directory] [-U username] [-W workgroup] [-M <netbios name>] [-m maxprotocol] [-A authfile] [-N] [-l log-basename] [-I destinationIP] [-E] [-c <command string>] [-i scope] [-O <socket options>] [-p port] [-R <name resolve order>] [-s <smb config file>] [-T<c|x>IXFqgbNan] [-k]</p></div></div><div class="refsect1" lang="en"><a name="id2 83022"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p><code class="literal">smbclient</code> is a client that can2 on servers</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">smbclient</code> [-b <buffer size>] [-d debuglevel] [-e] [-L <netbios name>] [-U username] [-I destinationIP] [-M <netbios name>] [-m maxprotocol] [-A authfile] [-N] [-i scope] [-O <socket options>] [-p port] [-R <name resolve order>] [-s <smb config file>] [-k] [-P] [-c <command>]</p></div><div class="cmdsynopsis"><p><code class="literal">smbclient</code> {servicename} [password] [-b <buffer size>] [-d debuglevel] [-e] [-D Directory] [-U username] [-W workgroup] [-M <netbios name>] [-m maxprotocol] [-A authfile] [-N] [-l log-basename] [-I destinationIP] [-E] [-c <command string>] [-i scope] [-O <socket options>] [-p port] [-R <name resolve order>] [-s <smb config file>] [-T<c|x>IXFqgbNan] [-k]</p></div></div><div class="refsect1" lang="en"><a name="id258316"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p><code class="literal">smbclient</code> is a client that can 3 3 'talk' to an SMB/CIFS server. It offers an interface 4 4 similar to that of the ftp program (see <a class="citerefentry" href="ftp.1.html"><span class="citerefentry"><span class="refentrytitle">ftp</span>(1)</span></a>). … … 6 6 to the local machine, putting files from the local machine to 7 7 the server, retrieving directory information from the server 8 and so on. </p></div><div class="refsect1" lang="en"><a name="id2 83058"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">servicename</span></dt><dd><p>servicename is the name of the service8 and so on. </p></div><div class="refsect1" lang="en"><a name="id258352"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">servicename</span></dt><dd><p>servicename is the name of the service 9 9 you want to use on the server. A service name takes the form 10 10 <code class="filename">//server/service</code> where <em class="parameter"><code>server … … 268 268 commands to be executed instead of prompting from stdin. <em class="parameter"><code> 269 269 -N</code></em> is implied by <em class="parameter"><code>-c</code></em>.</p><p>This is particularly useful in scripts and for printing stdin 270 to the server, e.g. <code class="literal">-c 'print -'</code>. </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id3 25619"></a><h2>OPERATIONS</h2><p>Once the client is running, the user is presented with270 to the server, e.g. <code class="literal">-c 'print -'</code>. </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id300920"></a><h2>OPERATIONS</h2><p>Once the client is running, the user is presented with 271 271 a prompt : </p><p><code class="prompt">smb:\> </code></p><p>The backslash ("\\") indicates the current working directory 272 272 on the server, and will change if the current working directory … … 334 334 lowercase command. </p></dd><dt><span class="term">getfacl <filename></span></dt><dd><p>Requires the server support the UNIX extensions. Requests and prints 335 335 the POSIX ACL on a file. 336 </p></dd><dt><span class="term">hardlink <src> <dest<</span></dt><dd><p>Creates a hardlink on the server using Windows CIFS semantics. 337 the POSIX ACL on a file. 336 </p></dd><dt><span class="term">hardlink <src> <dest></span></dt><dd><p>Creates a hardlink on the server using Windows CIFS semantics. 338 337 </p></dd><dt><span class="term">help [command]</span></dt><dd><p>See the ? command above. </p></dd><dt><span class="term">history</span></dt><dd><p>Displays the command history.</p></dd><dt><span class="term">iosize <bytes></span></dt><dd><p>When sending or receiving files, smbclient uses an 339 338 internal memory buffer by default of size 64512 bytes. This command … … 465 464 the given arbitrary number. Without an argument prints out the current 466 465 vuid being used. Used for internal Samba testing purposes. 467 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id3 26556"></a><h2>NOTES</h2><p>Some servers are fussy about the case of supplied usernames,466 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id301857"></a><h2>NOTES</h2><p>Some servers are fussy about the case of supplied usernames, 468 467 passwords, share names (AKA service names) and machine names. 469 468 If you fail to connect try giving all parameters in uppercase. … … 472 471 on a valid NetBIOS name being used, so you need to supply a valid 473 472 name that would be known to the server.</p><p>smbclient supports long file names where the server 474 supports the LANMAN2 protocol or above. </p></div><div class="refsect1" lang="en"><a name="id3 26576"></a><h2>ENVIRONMENT VARIABLES</h2><p>The variable <code class="envar">USER</code> may contain the473 supports the LANMAN2 protocol or above. </p></div><div class="refsect1" lang="en"><a name="id301877"></a><h2>ENVIRONMENT VARIABLES</h2><p>The variable <code class="envar">USER</code> may contain the 475 474 username of the person using the client. This information is 476 475 used only if the protocol level is high enough to support … … 482 481 to instead of connecting to a server. This functionality is primarily 483 482 intended as a development aid, and works best when using a LMHOSTS 484 file</p></div><div class="refsect1" lang="en"><a name="id3 26607"></a><h2>INSTALLATION</h2><p>The location of the client program is a matter for483 file</p></div><div class="refsect1" lang="en"><a name="id301908"></a><h2>INSTALLATION</h2><p>The location of the client program is a matter for 485 484 individual system administrators. The following are thus 486 485 suggestions only. </p><p>It is recommended that the smbclient software be installed … … 493 492 running SMB/CIFS server. It is possible to run <a class="citerefentry" href="smbd.8.html"><span class="citerefentry"><span class="refentrytitle">smbd</span>(8)</span></a> as an ordinary user - running that server as a daemon 494 493 on a user-accessible port (typically any port number over 1024) 495 would provide a suitable test server. </p></div><div class="refsect1" lang="en"><a name="id3 26654"></a><h2>DIAGNOSTICS</h2><p>Most diagnostics issued by the client are logged in a494 would provide a suitable test server. </p></div><div class="refsect1" lang="en"><a name="id301955"></a><h2>DIAGNOSTICS</h2><p>Most diagnostics issued by the client are logged in a 496 495 specified log file. The log file name is specified at compile time, 497 496 but may be overridden on the command line. </p><p>The number and nature of diagnostics available depends 498 497 on the debug level used by the client. If you have problems, 499 set the debug level to 3 and peruse the log files. </p></div><div class="refsect1" lang="en"><a name="id3 26670"></a><h2>VERSION</h2><p>This man page is correct for version 3.2 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id326681"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities498 set the debug level to 3 and peruse the log files. </p></div><div class="refsect1" lang="en"><a name="id301971"></a><h2>VERSION</h2><p>This man page is correct for version 3.2 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id301982"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities 500 499 were created by Andrew Tridgell. Samba is now developed 501 500 by the Samba Team as an Open Source project similar
Note:
See TracChangeset
for help on using the changeset viewer.