source: branches/samba-3.0/docs/manpages/rpcclient.1@ 134

Last change on this file since 134 was 134, checked in by Paul Smedley, 18 years ago

Update source to 3.0.29

File size: 16.6 KB
Line 
1.\" Title: rpcclient
2.\" Author:
3.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4.\" Date: 05/21/2008
5.\" Manual: User Commands
6.\" Source: Samba 3.0
7.\"
8.TH "RPCCLIENT" "1" "05/21/2008" "Samba 3\.0" "User Commands"
9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
13.SH "NAME"
14rpcclient - tool for executing client side MS-RPC functions
15.SH "SYNOPSIS"
16.HP 1
17rpcclient [\-A\ authfile] [\-c\ <command\ string>] [\-d\ debuglevel] [\-h] [\-l\ logdir] [\-N] [\-s\ <smb\ config\ file>] [\-U\ username[%password]] [\-W\ workgroup] [\-N] [\-I\ destinationIP] {server}
18.SH "DESCRIPTION"
19.PP
20This tool is part of the
21\fBsamba\fR(7)
22suite\.
23.PP
24rpcclient
25is 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\.
26.SH "OPTIONS"
27.PP
28server
29.RS 4
30NetBIOS name of Server to which to connect\. The server can be any SMB/CIFS server\. The name is resolved using the
31\fIname resolve order\fR
32line from
33\fBsmb.conf\fR(5)\.
34.RE
35.PP
36\-c|\-\-command=\'command string\'
37.RS 4
38execute semicolon separated commands (listed below))
39.RE
40.PP
41\-I IP\-address
42.RS 4
43\fIIP address\fR
44is the address of the server to connect to\. It should be specified in standard "a\.b\.c\.d" notation\.
45.sp
46Normally the client would attempt to locate a named SMB/CIFS server by looking it up via the NetBIOS name resolution mechanism described above in the
47\fIname resolve order\fR
48parameter above\. Using this parameter will force the client to assume that the server is on the machine with the specified IP address and the NetBIOS name component of the resource being connected to will be ignored\.
49.sp
50There is no default for this parameter\. If not supplied, it will be determined automatically by the client as described above\.
51.RE
52.PP
53\-d|\-\-debuglevel=level
54.RS 4
55\fIlevel\fR
56is an integer from 0 to 10\. The default value if this parameter is not specified is 0\.
57.sp
58The higher this value, the more detail will be logged to the log files about the activities of the server\. At level 0, only critical errors and serious warnings will be logged\. Level 1 is a reasonable level for day\-to\-day running \- it generates a small amount of information about operations carried out\.
59.sp
60Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem\. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic\.
61.sp
62Note that specifying this parameter here will override the
63\fIlog level\fR
64parameter in the
65\fIsmb\.conf\fR
66file\.