Changeset 429 for trunk/server/docs/manpages/rpcclient.1
- Timestamp:
- Apr 9, 2010, 3:51:41 PM (15 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
-
Property svn:mergeinfo
set to
/vendor/3.5.2 merged eligible /vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
trunk/server/docs/manpages/rpcclient.1
r414 r429 1 '\" t2 1 .\" Title: rpcclient 3 2 .\" Author: [see the "AUTHOR" section] 4 .\" Generator: DocBook XSL Stylesheets v1.7 5.2<http://docbook.sf.net/>5 .\" Date: 0 2/19/20103 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/> 4 .\" Date: 03/30/2010 6 5 .\" Manual: User Commands 7 6 .\" Source: Samba 3.5 8 7 .\" Language: English 9 8 .\" 10 .TH "RPCCLIENT" "1" "02/19/2010" "Samba 3\&.5" "User Commands" 9 .TH "RPCCLIENT" "1" "03/30/2010" "Samba 3\&.5" "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 .. 11 159 .\" ----------------------------------------------------------------- 12 160 .\" * set default formatting … … 19 167 .\" * MAIN CONTENT STARTS HERE * 20 168 .\" ----------------------------------------------------------------- 21 .SH "N AME"169 .SH "Name" 22 170 rpcclient \- tool for executing client side MS\-RPC functions 23 .SH "SYNOPSIS" 171 .SH "Synopsis" 172 .fam C 24 173 .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] [\-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] [\-I\ destinationIP] {server} 175 .fam 26 176 .SH "DESCRIPTION" 27 177 .PP … … 30 180 suite\&. 31 181 .PP 32 rpcclient 182 \FCrpcclient\F[] 33 183 is 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\&. 34 184 .SH "OPTIONS" … … 76 226 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 77 227 parameter in the 78 smb\&.conf 228 \FCsmb\&.conf\F[] 79 229 file\&. 80 230 .RE … … 88 238 .RS 4 89 239 The 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 90 smb\&.conf 240 \FCsmb\&.conf\F[] 91 241 for more information\&. The default configuration file name is determined at compile time\&. 92 242 .RE … … 125 275 .RS 4 126 276 .\} 277 .fam C 278 .ps -1 127 279 .nf 280 .if t \{\ 281 .sp -1 282 .\} 283 .BB lightgray adjust-for-leading-newline 284 .sp -1 285 128 286 username = <value> 129 287 password = <value> 130 288 domain = <value> 289 .EB lightgray adjust-for-leading-newline 290 .if t \{\ 291 .sp 1 292 .\} 131 293 .fi 294 .fam 295 .ps +1 132 296 .if n \{\ 133 297 .RE … … 154 318 .sp 155 319 Be cautious about including passwords in scripts\&. Also, on many systems the command line of a running process may be seen via the 156 ps 320 \FCps\F[] 157 321 command\&. To be safe always allow 158 rpcclient 322 \FCrpcclient\F[] 159 323 to prompt for a password and type it in directly\&. 160 324 .RE … … 165 329 \m[blue]\fB\%smb.conf.5.html#\fR\m[] 166 330 parameter in the 167 smb\&.conf 331 \FCsmb\&.conf\F[] 168 332 file\&. However, a command line setting will take precedence over settings in 169 smb\&.conf\&.333 \FCsmb\&.conf\F[]\&. 170 334 .RE 171 335 .PP … … 173 337 .RS 4 174 338 This specifies a NetBIOS scope that 175 nmblookup 339 \FCnmblookup\F[] 176 340 will 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 177 341 \fIvery\fR … … 187 351 .RS 4 188 352 TCP socket options to set on the client socket\&. See the socket options parameter in the 189 smb\&.conf 353 \FCsmb\&.conf\F[] 190 354 manual page for the list of valid options\&. 191 355 .RE … … 424 588 .RS 4 425 589 Execute 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 426 getdriverdir\&. Possible values for590 \FCgetdriverdir\F[]\&. Possible values for 427 591 \fIarch\fR 428 592 are the same as those for the 429 getdriverdir 593 \FCgetdriverdir\F[] 430 594 command\&. The 431 595 \fIconfig\fR … … 435 599 .RS 4 436 600 .\} 601 .fam C 602 .ps -1 437 603 .nf 604 .if t \{\ 605 .sp -1 606 .\} 607 .BB lightgray adjust-for-leading-newline 608 .sp -1 609 438 610 Long Printer Name:\e 439 611 Driver File Name:\e … … 444 616 Default Data Type:\e 445 617 Comma Separated list of Files 618 .EB lightgray adjust-for-leading-newline 619 .if t \{\ 620 .sp 1 621 .\} 446 622 .fi 623 .fam 624 .ps +1 447 625 .if n \{\ 448 626 .RE … … 461 639 .RS 4 462 640 Add 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 463 adddriver) and the641 \FCadddriver\F[]) and the 464 642 \fIport\fRmust be a valid port name (see 465 enumports\&.643 \FCenumports\F[]\&. 466 644 .RE 467 645 .PP … … 514 692 .RS 4 515 693 Retrieve the data for a given printer setting\&. See the 516 enumdata 694 \FCenumdata\F[] 517 695 command for more information\&. This command corresponds to the GetPrinterData() MS Platform SDK function\&. 518 696 .RE … … 555 733 .sp 556 734 See also the 557 enumprinters 735 \FCenumprinters\F[] 558 736 and 559 enumdrivers 737 \FCenumdrivers\F[] 560 738 commands for obtaining a list of of installed printers and drivers\&. 561 739 .RE … … 646 824 .RS 4 647 825 Exit 648 rpcclient\&.826 \FCrpcclient \F[]\&. 649 827 .RE 650 828 .SH "BUGS" 651 829 .PP 652 rpcclient 830 \FCrpcclient\F[] 653 831 is 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\&. 654 832 .PP
Note:
See TracChangeset
for help on using the changeset viewer.