diff options
author | Gerald Carter <jerry@samba.org> | 2002-10-25 15:15:32 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-10-25 15:15:32 +0000 |
commit | ad0e01e75059bedde6400529f1a5193ef9735e9b (patch) | |
tree | 9d5dd6433ca7b564a7f29a44f4bed3168da35da3 /docs/htmldocs/rpcclient.1.html | |
parent | 48216962c4bd2ca71d1900d11d6f4d5e7de83b80 (diff) | |
download | samba-ad0e01e75059bedde6400529f1a5193ef9735e9b.tar.gz samba-ad0e01e75059bedde6400529f1a5193ef9735e9b.tar.bz2 samba-ad0e01e75059bedde6400529f1a5193ef9735e9b.zip |
sync from HEAD
(This used to be commit 2eb7f0acd761a11bb0f24010347247074c5ed49a)
Diffstat (limited to 'docs/htmldocs/rpcclient.1.html')
-rw-r--r-- | docs/htmldocs/rpcclient.1.html | 129 |
1 files changed, 67 insertions, 62 deletions
diff --git a/docs/htmldocs/rpcclient.1.html b/docs/htmldocs/rpcclient.1.html index 9ffca61437..3669e19b03 100644 --- a/docs/htmldocs/rpcclient.1.html +++ b/docs/htmldocs/rpcclient.1.html @@ -1,10 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >rpcclient</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -15,8 +16,8 @@ ALINK="#0000FF" ><H1 ><A NAME="RPCCLIENT" ->rpcclient</A -></H1 +></A +>rpcclient</H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -37,7 +38,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >rpcclient</B -> [-A authfile] [-c <command string>] [-d debuglevel] [-h] [-l logfile] [-N] [-s <smb config file>] [-U username[%password]] [-W workgroup] [-N] [-I destinationIP] {server}</P +> [-A authfile] [-c <command string>] [-d debuglevel] [-h] [-l logfile] [-N] [-s <smb config file>] [-U username[%password]] [-W workgroup] [-N] [-I destinationIP] {server}</P ></DIV ><DIV CLASS="REFSECT1" @@ -104,21 +105,12 @@ CLASS="FILENAME" password used in the connection. The format of the file is </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" -> username = <value> - password = <value> - domain = <value> +> username = <value> + password = <value> + domain = <value> </PRE -></TD -></TR -></TABLE ></P ><P >Make certain that the permissions on the file restrict @@ -187,8 +179,8 @@ CLASS="PARAMETER" <TT CLASS="CONSTANT" >'.client'</TT -> will be appended. The log file is never removed - by the client. +> will be appended. The log file is + never removed by the client. </P ></DD ><DT @@ -202,19 +194,20 @@ CLASS="COMMAND" for a password. By default, <B CLASS="COMMAND" >rpcclient</B -> will prompt - for a password. See also the <TT +> will + prompt for a password. See also the <TT CLASS="PARAMETER" ><I >-U</I ></TT -> option.</P +> + option.</P ></DD ><DT >-s|--conf=smb.conf</DT ><DD ><P ->Specifies the location of the all important +>Specifies the location of the all-important <TT CLASS="FILENAME" >smb.conf</TT @@ -243,8 +236,8 @@ CLASS="CONSTANT" ><P >A third option is to use a credentials file which contains the plaintext of the username and password. This - option is mainly provided for scripts where the admin doesn't - desire to pass the credentials on the command line or via environment + option is mainly provided for scripts where the admin does not + wish to pass the credentials on the command line or via environment variables. If this method is used, make certain that the permissions on the file restrict access from unwanted users. See the <TT @@ -287,8 +280,12 @@ NAME="AEN101" ><H2 >COMMANDS</H2 ><P -><EM ->LSARPC</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>LSARPC</I +></SPAN ></P ><P ></P @@ -314,7 +311,7 @@ CLASS="COMMAND" ><B CLASS="COMMAND" >lookupnames</B -> - Resolve s list +> - Resolve a list of usernames to SIDs. </P ></LI @@ -329,8 +326,12 @@ CLASS="COMMAND" ><P > </P ><P -><EM ->SAMR</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>SAMR</I +></SPAN ></P ><P ></P @@ -395,8 +396,12 @@ CLASS="COMMAND" ><P > </P ><P -><EM ->SPOOLSS</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>SPOOLSS</I +></SPAN ></P ><P ></P @@ -405,7 +410,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->adddriver <arch> <config></B +>adddriver <arch> <config></B > - Execute an AddPrinterDriver() RPC to install the printer driver information on the server. Note that the driver files should @@ -432,12 +437,6 @@ CLASS="PARAMETER" > parameter is defined as follows: </P ><P -><TABLE -BORDER="0" -BGCOLOR="#E0E0E0" -WIDTH="90%" -><TR -><TD ><PRE CLASS="PROGRAMLISTING" > Long Printer Name:\ @@ -449,9 +448,6 @@ CLASS="PROGRAMLISTING" Default Data Type:\ Comma Separated list of Files </PRE -></TD -></TR -></TABLE ></P ><P >Any empty fields should be enter as the string "NULL". </P @@ -467,8 +463,8 @@ CLASS="PROGRAMLISTING" ><P ><B CLASS="COMMAND" ->addprinter <printername> - <sharename> <drivername> <port></B +>addprinter <printername> + <sharename> <drivername> <port></B > - Add a printer on the remote server. This printer will be automatically shared. Be aware that the printer driver @@ -514,9 +510,9 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->enumjobs <printer></B +>enumjobs <printer></B > - - List the jobs and status of a given printer. + - List the jobs and status of a given printer. This command corresponds to the MS Platform SDK EnumJobs() function (* This command is currently unimplemented).</P ></LI @@ -556,7 +552,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->getdata <printername></B +>getdata <printername></B > - Retrieve the data for a given printer setting. See the <B @@ -570,7 +566,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->getdriver <printername></B +>getdriver <printername></B > - Retrieve the printer driver information (such as driver file, config file, dependent files, etc...) for @@ -582,10 +578,10 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->getdriverdir <arch></B +>getdriverdir <arch></B > - Execute a GetPrinterDriverDirectory() - RPC to retreive the SMB share name and subdirectory for + RPC to retrieve the SMB share name and subdirectory for storing printer driver files for a given architecture. Possible values for <TT CLASS="PARAMETER" @@ -600,7 +596,7 @@ CLASS="PARAMETER" ><P ><B CLASS="COMMAND" ->getprinter <printername></B +>getprinter <printername></B > - Retrieve the current printer information. This command corresponds to the GetPrinter() MS Platform SDK function. @@ -610,7 +606,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->openprinter <printername></B +>openprinter <printername></B > - Execute an OpenPrinterEx() and ClosePrinter() RPC against a given printer. </P @@ -619,11 +615,12 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->setdriver <printername> <drivername></B -> - - Execute a SetPrinter() command to update the printer driver associated - with an installed printer. The printer driver must already be correctly - installed on the print server. </P +>setdriver <printername> + <drivername></B +> + - Execute a SetPrinter() command to update the printer driver + associated with an installed printer. The printer driver must + already be correctly installed on the print server. </P ><P >See also the <B CLASS="COMMAND" @@ -637,8 +634,12 @@ CLASS="COMMAND" ></LI ></UL ><P -><EM ->GENERAL OPTIONS</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>GENERAL OPTIONS</I +></SPAN ></P ><P ></P @@ -648,8 +649,8 @@ CLASS="COMMAND" ><B CLASS="COMMAND" >debuglevel</B -> - Set the current debug level - used to log information.</P +> - Set the current + debug level used to log information.</P ></LI ><LI ><P @@ -691,8 +692,12 @@ CLASS="COMMAND" ><P >From Luke Leighton's original rpcclient man page:</P ><P -><EM ->"WARNING!</EM +><SPAN +CLASS="emphasis" +><I +CLASS="EMPHASIS" +>"WARNING!</I +></SPAN > The MSRPC over SMB code has been developed from examining Network traces. No documentation is available from the original creators (Microsoft) on how MSRPC over |