From ad0e01e75059bedde6400529f1a5193ef9735e9b Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 25 Oct 2002 15:15:32 +0000 Subject: sync from HEAD (This used to be commit 2eb7f0acd761a11bb0f24010347247074c5ed49a) --- docs/htmldocs/smbclient.1.html | 148 +++++++++++++++++++++++++---------------- 1 file changed, 90 insertions(+), 58 deletions(-) (limited to 'docs/htmldocs/smbclient.1.html') diff --git a/docs/htmldocs/smbclient.1.html b/docs/htmldocs/smbclient.1.html index 4c770f9eb2..1e251c2ca5 100644 --- a/docs/htmldocs/smbclient.1.html +++ b/docs/htmldocs/smbclient.1.html @@ -1,10 +1,11 @@ + smbclient

smbclient

smbclient
smbclient {servicename} [password] [-b <buffer size>] [-d debuglevel] [-D Directory] [-U username] [-W workgroup] [-M <netbios name>] [-m maxprotocol] [-A authfile] [-N] [-l logfile] [-L <netbios name>] [-I destinationIP] [-E <terminal code>] [-c <command string>] [-i scope] [-O <socket options>] [-p port] [-R <name resolve order>] [-s <smb config file>] [-T<c|x>IXFqgbNan]

{servicename} [password] [-b <buffer size>] [-d debuglevel] [-D Directory] [-U username] [-W workgroup] [-M <netbios name>] [-m maxprotocol] [-A authfile] [-N] [-l logfile] [-L <netbios name>] [-I destinationIP] [-E <terminal code>] [-c <command string>] [-i scope] [-O <socket options>] [-p port] [-R <name resolve order>] [-s <smb config file>] [-T<c|x>IXFqgbNan]

-R <name resolve order>
-R <name resolve order>

This option is used by the programs in the Samba @@ -348,8 +349,12 @@ CLASS="FILENAME" > for a description of how to handle incoming WinPopup messages in Samba.

NoteNote: Copy WinPopup into the startup group on your WfWg PCs if you want them to always be able to receive messages.

rfc1002.txt. - NetBIOS scopes are veryvery rarely used, only set this parameter if you are the system administrator in charge of all the NetBIOS systems you communicate with.

debuglevel is set to the letter 'A', then is set to the letter 'A', then all - debug messages will be printed. This setting - is for developers only (and people who reallyreally want to know how the code works internally).

username = <value> 
-password = <value>
-domain = <value>
+>username = <value> 
+password = <value>
+domain = <value>
 		

If the domain parameter is missing the current workgroup name @@ -643,10 +651,18 @@ CLASS="COMMAND" > how to interpret filenames coming from the remote server. Usually Asian language multibyte UNIX implementations use different character sets than - SMB/CIFS servers (EUC instead of SJISEUC instead of SJIS for example). Setting this parameter will let

Tar Long File NamesTar Long File Names

Tar FilenamesTar Filenames

All file names can be given as DOS path names (with '\' as the component separator) or as UNIX path names (with '/' as the component separator).

ExamplesExamples

Restore from tar file

smb:\> smb:\>

The backslash ("\") indicates the current working directory @@ -1008,7 +1036,7 @@ CLASS="PROMPT" >

Parameters shown in square brackets (e.g., "[parameter]") are optional. If not given, the command will use suitable defaults. Parameters - shown in angle brackets (e.g., "<parameter>") are required. + shown in angle brackets (e.g., "<parameter>") are required.

Note that all commands operating on the server are actually @@ -1099,7 +1127,7 @@ CLASS="REPLACEABLE" directory on the server will be reported.

del <mask>
del <mask>

The client will request that the server attempt @@ -1112,7 +1140,7 @@ CLASS="REPLACEABLE" directory on the server.

dir <mask>
dir <mask>

A list of the files matching

get <remote file name> [local file name]
get <remote file name> [local file name]

Copy the file called

ls <mask>
ls <mask>

See the dir command above.

mask <mask>
mask <mask>

This command allows the user to set up a mask @@ -1229,13 +1257,13 @@ CLASS="REPLACEABLE" mask back to "*" after using the mget or mput commands.

md <directory name>
md <directory name>

See the mkdir command.

mget <mask>
mget <mask>

Copy all files matching are binary. See also the lowercase command.

mkdir <directory name>
mkdir <directory name>

Create a new directory on the server (user access privileges permitting) with the specified name.

mput <mask>
mput <mask>

Copy all files matching

print <file name>
print <file name>

Print the specified file from the local machine @@ -1302,7 +1330,7 @@ CLASS="COMMAND" >See also the printmode command.

printmode <graphics or text>
printmode <graphics or text>

Set the print mode to suit either binary data @@ -1322,7 +1350,7 @@ CLASS="COMMAND"

put <local file name> [remote file name]
put <local file name> [remote file name]

Copy the file called See the exit command.

rd <directory name>
rd <directory name>

See the rmdir command.

rm <mask>
rm <mask>

Remove all files matching

rmdir <directory name>
rmdir <directory name>

Remove the specified directory (user access privileges permitting) from the server.

setmode <filename> <perm=[+|\-]rsha>
setmode <filename> <perm=[+|\-]rsha>

A version of the DOS attrib command to set @@ -1423,7 +1451,7 @@ CLASS="COMMAND"

tar <c|x>[IXbgNa]
tar <c|x>[IXbgNa]

Performs a tar operation - see the

blocksize <blocksize>
blocksize <blocksize>

Blocksize. Must be followed by a valid (greater @@ -1452,7 +1480,7 @@ CLASS="REPLACEABLE" >*TBLOCK (usually 512 byte) blocks.

tarmode <full|inc|reset|noreset>
tarmode <full|inc|reset|noreset>

Changes tar's behavior with regard to archive @@ -1540,8 +1568,12 @@ CLASS="FILENAME" > /usr/samba/bin/ directory, this directory readable by all, writeable only by root. The client program itself should - be executable by all. The client should NOTNOT be setuid or setgid!