Ignore:
Timestamp:
Mar 1, 2010, 3:05:48 PM (15 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3.x to 3.3.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/docs/manpages/rpcclient.1

    r368 r411  
    1 '\" t
    21.\"     Title: rpcclient
    32.\"    Author: [see the "AUTHOR" section]
    4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 01/14/2010
     3.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
     4.\"      Date: 02/22/2010
    65.\"    Manual: User Commands
    76.\"    Source: Samba 3.3
    87.\"  Language: English
    98.\"
    10 .TH "RPCCLIENT" "1" "01/14/2010" "Samba 3\&.3" "User Commands"
     9.TH "RPCCLIENT" "1" "02/22/2010" "Samba 3\&.3" "User Commands"
     10.\" -----------------------------------------------------------------
     11.\" * (re)Define some macros
     12.\" -----------------------------------------------------------------
     13.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     14.\" toupper - uppercase a string (locale-aware)
     15.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     16.de toupper
     17.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
     18\\$*
     19.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
     20..
     21.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     22.\" SH-xref - format a cross-reference to an SH section
     23.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     24.de SH-xref
     25.ie n \{\
     26.\}
     27.toupper \\$*
     28.el \{\
     29\\$*
     30.\}
     31..
     32.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     33.\" SH - level-one heading that works better for non-TTY output
     34.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     35.de1 SH
     36.\" put an extra blank line of space above the head in non-TTY output
     37.if t \{\
     38.sp 1
     39.\}
     40.sp \\n[PD]u
     41.nr an-level 1
     42.set-an-margin
     43.nr an-prevailing-indent \\n[IN]
     44.fi
     45.in \\n[an-margin]u
     46.ti 0
     47.HTML-TAG ".NH \\n[an-level]"
     48.it 1 an-trap
     49.nr an-no-space-flag 1
     50.nr an-break-flag 1
     51\." make the size of the head bigger
     52.ps +3
     53.ft B
     54.ne (2v + 1u)
     55.ie n \{\
     56.\" if n (TTY output), use uppercase
     57.toupper \\$*
     58.\}
     59.el \{\
     60.nr an-break-flag 0
     61.\" if not n (not TTY), use normal case (not uppercase)
     62\\$1
     63.in \\n[an-margin]u
     64.ti 0
     65.\" if not n (not TTY), put a border/line under subheading
     66.sp -.6
     67\l'\n(.lu'
     68.\}
     69..
     70.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     71.\" SS - level-two heading that works better for non-TTY output
     72.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     73.de1 SS
     74.sp \\n[PD]u
     75.nr an-level 1
     76.set-an-margin
     77.nr an-prevailing-indent \\n[IN]
     78.fi
     79.in \\n[IN]u
     80.ti \\n[SN]u
     81.it 1 an-trap
     82.nr an-no-space-flag 1
     83.nr an-break-flag 1
     84.ps \\n[PS-SS]u
     85\." make the size of the head bigger
     86.ps +2
     87.ft B
     88.ne (2v + 1u)
     89.if \\n[.$] \&\\$*
     90..
     91.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     92.\" BB/BE - put background/screen (filled box) around block of text
     93.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     94.de BB
     95.if t \{\
     96.sp -.5
     97.br
     98.in +2n
     99.ll -2n
     100.gcolor red
     101.di BX
     102.\}
     103..
     104.de EB
     105.if t \{\
     106.if "\\$2"adjust-for-leading-newline" \{\
     107.sp -1
     108.\}
     109.br
     110.di
     111.in
     112.ll
     113.gcolor
     114.nr BW \\n(.lu-\\n(.i
     115.nr BH \\n(dn+.5v
     116.ne \\n(BHu+.5v
     117.ie "\\$2"adjust-for-leading-newline" \{\
     118\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
     119.\}
     120.el \{\
     121\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
     122.\}
     123.in 0
     124.sp -.5v
     125.nf
     126.BX
     127.in
     128.sp .5v
     129.fi
     130.\}
     131..
     132.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     133.\" BM/EM - put colored marker in margin next to block of text
     134.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     135.de BM
     136.if t \{\
     137.br
     138.ll -2n
     139.gcolor red
     140.di BX
     141.\}
     142..
     143.de EM
     144.if t \{\
     145.br
     146.di
     147.ll
     148.gcolor
     149.nr BH \\n(dn
     150.ne \\n(BHu
     151\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
     152.in 0
     153.nf
     154.BX
     155.in
     156.fi
     157.\}
     158..
    11159.\" -----------------------------------------------------------------
    12160.\" * set default formatting
     
    19167.\" * MAIN CONTENT STARTS HERE *
    20168.\" -----------------------------------------------------------------
    21 .SH "NAME"
     169.SH "Name"
    22170rpcclient \- tool for executing client side MS\-RPC functions
    23 .SH "SYNOPSIS"
     171.SH "Synopsis"
     172.fam C
    24173.HP \w'\ 'u
    25 rpcclient [\-A\ authfile] [\-c\ <command\ string>] [\-d\ debuglevel] [\-h] [\-l\ logdir] [\-N] [\-s\ <smb\ config\ file>] [\-U\ username[%password]] [\-W\ workgroup] [\-N] [\-I\ destinationIP] {server}
     174\FCrpcclient\F[] [\-A\ authfile] [\-c\ <command\ string>] [\-d\ debuglevel] [\-h] [\-l\ logdir] [\-N] [\-s\ <smb\ config\ file>] [\-U\ username[%password]] [\-W\ workgroup] [\-N] [\-I\ destinationIP] {server}
     175.fam
    26176.SH "DESCRIPTION"
    27177.PP
     
    30180suite\&.
    31181.PP
    32 rpcclient
     182\FCrpcclient\F[]
    33183is a utility initially developed to test MS\-RPC functionality in Samba itself\&. It has undergone several stages of development and stability\&. Many system administrators have now written scripts around it to manage Windows NT clients from their UNIX workstation\&.
    34184.SH "OPTIONS"
     
    71221\m[blue]\fB\%smb.conf.5.html#\fR\m[]
    72222parameter in the
    73 smb\&.conf
     223\FCsmb\&.conf\F[]
    74224file\&.
    75225.RE
     
    83233.RS 4
    84234The file specified contains the configuration details required by the server\&. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\&. See
    85 smb\&.conf
     235\FCsmb\&.conf\F[]
    86236for more information\&. The default configuration file name is determined at compile time\&.
    87237.RE
     
    108258.RE
    109259.PP
     260\-C|\-\-use\-ccache
     261.RS 4
     262Try to use the credentials cached by winbind\&.
     263.RE
     264.PP
    110265\-A|\-\-authentication\-file=filename
    111266.RS 4
     
    115270.RS 4
    116271.\}
     272.fam C
     273.ps -1
    117274.nf
     275.if t \{\
     276.sp -1
     277.\}
     278.BB lightgray adjust-for-leading-newline
     279.sp -1
     280
    118281username = <value>
    119282password = <value>
    120283domain   = <value>
     284.EB lightgray adjust-for-leading-newline
     285.if t \{\
     286.sp 1
     287.\}
    121288.fi
     289.fam
     290.ps +1
    122291.if n \{\
    123292.RE
     
    144313.sp
    145314Be cautious about including passwords in scripts\&. Also, on many systems the command line of a running process may be seen via the
    146 ps
     315\FCps\F[]
    147316command\&. To be safe always allow
    148 rpcclient
     317\FCrpcclient\F[]
    149318to prompt for a password and type it in directly\&.
    150319.RE
     
    155324\m[blue]\fB\%smb.conf.5.html#\fR\m[]
    156325parameter in the
    157 smb\&.conf
     326\FCsmb\&.conf\F[]
    158327file\&. However, a command line setting will take precedence over settings in
    159 smb\&.conf\&.
     328\FCsmb\&.conf\F[]\&.
    160329.RE
    161330.PP
     
    163332.RS 4
    164333This specifies a NetBIOS scope that
    165 nmblookup
     334\FCnmblookup\F[]
    166335will use to communicate with when generating NetBIOS names\&. For details on the use of NetBIOS scopes, see rfc1001\&.txt and rfc1002\&.txt\&. NetBIOS scopes are
    167336\fIvery\fR
     
    177346.RS 4
    178347TCP socket options to set on the client socket\&. See the socket options parameter in the
    179 smb\&.conf
     348\FCsmb\&.conf\F[]
    180349manual page for the list of valid options\&.
    181350.RE
     
    414583.RS 4
    415584Execute an AddPrinterDriver() RPC to install the printer driver information on the server\&. Note that the driver files should already exist in the directory returned by
    416 getdriverdir\&. Possible values for
     585\FCgetdriverdir\F[]\&. Possible values for
    417586\fIarch\fR
    418587are the same as those for the
    419 getdriverdir
     588\FCgetdriverdir\F[]
    420589command\&. The
    421590\fIconfig\fR
     
    425594.RS 4
    426595.\}
     596.fam C
     597.ps -1
    427598.nf
     599.if t \{\
     600.sp -1
     601.\}
     602.BB lightgray adjust-for-leading-newline
     603.sp -1
     604
    428605Long Printer Name:\e
    429606Driver File Name:\e
     
    434611Default Data Type:\e
    435612Comma Separated list of Files
     613.EB lightgray adjust-for-leading-newline
     614.if t \{\
     615.sp 1
     616.\}
    436617.fi
     618.fam
     619.ps +1
    437620.if n \{\
    438621.RE
     
    451634.RS 4
    452635Add a printer on the remote server\&. This printer will be automatically shared\&. Be aware that the printer driver must already be installed on the server (see
    453 adddriver) and the
     636\FCadddriver\F[]) and the
    454637\fIport\fRmust be a valid port name (see
    455 enumports\&.
     638\FCenumports\F[]\&.
    456639.RE
    457640.PP
     
    504687.RS 4
    505688Retrieve the data for a given printer setting\&. See the
    506 enumdata
     689\FCenumdata\F[]
    507690command for more information\&. This command corresponds to the GetPrinterData() MS Platform SDK function\&.
    508691.RE
     
    545728.sp
    546729See also the
    547 enumprinters
     730\FCenumprinters\F[]
    548731and
    549 enumdrivers
     732\FCenumdrivers\F[]
    550733commands for obtaining a list of of installed printers and drivers\&.
    551734.RE
     
    636819.RS 4
    637820Exit
    638 rpcclient\&.
     821\FCrpcclient \F[]\&.
    639822.RE
    640823.SH "BUGS"
    641824.PP
    642 rpcclient
     825\FCrpcclient\F[]
    643826is designed as a developer testing tool and may not be robust in certain areas (such as command line parsing)\&. It has been known to generate a core dump upon failures when invalid parameters where passed to the interpreter\&.
    644827.PP
Note: See TracChangeset for help on using the changeset viewer.