From 2a85f0cf33f303e091ce6f6bea7b7a072cd81c14 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 15 Jan 2003 22:29:27 +0000 Subject: syncing docs with HEAD (This used to be commit d8fe70c3b4be548244e9d7b7ea533e64232df001) --- docs/htmldocs/smbclient.1.html | 116 +++++++++++++++++++++++++---------------- 1 file changed, 70 insertions(+), 46 deletions(-) (limited to 'docs/htmldocs/smbclient.1.html') diff --git a/docs/htmldocs/smbclient.1.html b/docs/htmldocs/smbclient.1.html index 35867420eb..ca8cafd312 100644 --- a/docs/htmldocs/smbclient.1.html +++ b/docs/htmldocs/smbclient.1.html @@ -1,12 +1,11 @@ - + smbclient

smbclient

smbclient

Synopsis

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] [-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] [-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 @@ -346,9 +349,12 @@ CLASS="FILENAME" > for a description of how to handle incoming WinPopup messages in Samba.

Note: 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 very 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 really 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 @@ -645,12 +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 instead of SJIS for example). Setting this parameter will let

Tar Long File Names

Tar 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).

Examples

Restore from tar file

smb:\> smb:\>

The backslash ("\") indicates the current working directory @@ -1015,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 @@ -1106,7 +1127,7 @@ CLASS="REPLACEABLE" directory on the server will be reported.

del <mask>
del <mask>

The client will request that the server attempt @@ -1119,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 @@ -1236,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 @@ -1309,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 @@ -1329,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 @@ -1430,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 @@ -1459,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 @@ -1547,9 +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 NOT be setuid or setgid!