source: vendor/3.5.7/docs/manpages/rpcclient.1

Last change on this file was 478, checked in by Silvan Scherrer, 15 years ago

Samba 3.5: vendor update to 3.5.4

File size: 21.3 KB
Line 
1.\" Title: rpcclient
2.\" Author: [see the "AUTHOR" section]
3.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
4.\" Date: 06/18/2010
5.\" Manual: User Commands
6.\" Source: Samba 3.5
7.\" Language: English
8.\"
9.TH "RPCCLIENT" "1" "06/18/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..
159.\" -----------------------------------------------------------------
160.\" * set default formatting
161.\" -----------------------------------------------------------------
162.\" disable hyphenation
163.nh
164.\" disable justification (adjust text to left margin only)
165.ad l
166.\" -----------------------------------------------------------------
167.\" * MAIN CONTENT STARTS HERE *
168.\" -----------------------------------------------------------------
169.SH "Name"
170rpcclient \- tool for executing client side MS\-RPC functions
171.SH "Synopsis"
172.fam C
173.HP \w'\ 'u
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
176.SH "DESCRIPTION"
177.PP
178This tool is part of the
179\fBsamba\fR(7)
180suite\&.
181.PP
182\FCrpcclient\F[]
183is 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\&.
184.SH "OPTIONS"
185.PP
186server
187.RS 4
188NetBIOS name of Server to which to connect\&. The server can be any SMB/CIFS server\&. The name is resolved using the
189\m[blue]\fBname resolve order\fR\m[]
190line from
191\fBsmb.conf\fR(5)\&.
192.RE
193.PP
194\-c|\-\-command=\'command string\'
195.RS 4
196execute semicolon separated commands (listed below))
197.RE
198.PP
199\-I|\-\-dest\-ip IP\-address
200.RS 4
201\fIIP address\fR
202is the address of the server to connect to\&. It should be specified in standard "a\&.b\&.c\&.d" notation\&.
203.sp
204Normally 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
205\fIname resolve order\fR
206parameter 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\&.
207.sp
208There is no default for this parameter\&. If not supplied, it will be determined automatically by the client as described above\&.
209.RE
210.PP
211\-p|\-\-port port
212.RS 4
213This number is the TCP port number that will be used when making connections to the server\&. The standard (well\-known) TCP port number for an SMB/CIFS server is 139, which is the default\&.
214.RE
215.PP
216\-d|\-\-debuglevel=level
217.RS 4
218\fIlevel\fR
219is an integer from 0 to 10\&. The default value if this parameter is not specified is 0\&.
220.sp
221The 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\&.
222.sp
223Levels 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\&.
224.sp
225Note that specifying this parameter here will override the
226\m[blue]\fB\%smb.conf.5.html#\fR\m[]
227parameter in the
228\FCsmb\&.conf\F[]
229file\&.
230.RE
231.PP
232\-V|\-\-version
233.RS 4
234Prints the program version number\&.
235.RE
236.PP
237\-s|\-\-configfile <configuration file>
238.RS 4
239The 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
240\FCsmb\&.conf\F[]
241for more information\&. The default configuration file name is determined at compile time\&.
242.RE
243.PP
244\-l|\-\-log\-basename=logdirectory
245.RS 4
246Base directory name for log/debug files\&. The extension
247\fB"\&.progname"\fR
248will be appended (e\&.g\&. log\&.smbclient, log\&.smbd, etc\&.\&.\&.)\&. The log file is never removed by the client\&.
249.RE
250.PP
251\-N|\-\-no\-pass
252.RS 4
253If specified, this parameter suppresses the normal password prompt from the client to the user\&. This is useful when accessing a service that does not require a password\&.
254.sp
255Unless a password is specified on the command line or this parameter is specified, the client will request a password\&.
256.sp
257If a password is specified on the command line and this option is also defined the password on the command line will be silently ingnored and no password will be used\&.
258.RE
259.PP
260\-k|\-\-kerberos
261.RS 4
262Try to authenticate with kerberos\&. Only useful in an Active Directory environment\&.
263.RE
264.PP
265\-C|\-\-use\-ccache
266.RS 4
267Try to use the credentials cached by winbind\&.
268.RE
269.PP
270\-A|\-\-authentication\-file=filename
271.RS 4
272This option allows you to specify a file from which to read the username and password used in the connection\&. The format of the file is
273.sp
274.if n \{\
275.RS 4
276.\}
277.fam C
278.ps -1
279.nf
280.if t \{\
281.sp -1
282.\}
283.BB lightgray adjust-for-leading-newline
284.sp -1
285
286username = <value>
287password = <value>
288domain = <value>
289.EB lightgray adjust-for-leading-newline
290.if t \{\
291.sp 1
292.\}
293.fi
294.fam
295.ps +1
296.if n \{\
297.RE
298.\}
299.sp
300Make certain that the permissions on the file restrict access from unwanted users\&.
301.RE
302.PP
303\-U|\-\-user=username[%password]
304.RS 4
305Sets the SMB username or username and password\&.
306.sp
307If %password is not specified, the user will be prompted\&. The client will first check the
308\fBUSER\fR
309environment variable, then the
310\fBLOGNAME\fR
311variable and if either exists, the string is uppercased\&. If these environmental variables are not found, the username
312\fBGUEST\fR
313is used\&.
314.sp
315A 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 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
316\fI\-A\fR
317for more details\&.
318.sp
319Be cautious about including passwords in scripts\&. Also, on many systems the command line of a running process may be seen via the
320\FCps\F[]
321command\&. To be safe always allow
322\FCrpcclient\F[]
323to prompt for a password and type it in directly\&.
324.RE
325.PP
326\-n|\-\-netbiosname <primary NetBIOS name>
327.RS 4
328This option allows you to override the NetBIOS name that Samba uses for itself\&. This is identical to setting the
329\m[blue]\fB\%smb.conf.5.html#\fR\m[]
330parameter in the
331\FCsmb\&.conf\F[]
332file\&. However, a command line setting will take precedence over settings in
333\FCsmb\&.conf\F[]\&.
334.RE
335.PP
336\-i|\-\-scope <scope>
337.RS 4
338This specifies a NetBIOS scope that
339\FCnmblookup\F[]
340will 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
341\fIvery\fR
342rarely used, only set this parameter if you are the system administrator in charge of all the NetBIOS systems you communicate with\&.
343.RE
344.PP
345\-W|\-\-workgroup=domain
346.RS 4
347Set the SMB domain of the username\&. This overrides the default domain which is the domain defined in smb\&.conf\&. If the domain specified is the same as the servers NetBIOS name, it causes the client to log on using the servers local SAM (as opposed to the Domain SAM)\&.
348.RE
349.PP
350\-O|\-\-socket\-options socket options
351.RS 4
352TCP socket options to set on the client socket\&. See the socket options parameter in the
353\FCsmb\&.conf\F[]
354manual page for the list of valid options\&.
355.RE
356.PP
357\-h|\-\-help
358.RS 4
359Print a summary of command line options\&.
360.RE
361.SH "COMMANDS"
362.SS "LSARPC"
363.PP
364lsaquery
365.RS 4
366Query info policy
367.RE
368.PP
369lookupsids
370.RS 4
371Resolve a list of SIDs to usernames\&.
372.RE
373.PP
374lookupnames
375.RS 4
376Resolve a list of usernames to SIDs\&.
377.RE
378.PP
379enumtrusts
380.RS 4
381Enumerate trusted domains
382.RE
383.PP
384enumprivs
385.RS 4
386Enumerate privileges
387.RE
388.PP
389getdispname
390.RS 4
391Get the privilege name
392.RE
393.PP
394lsaenumsid
395.RS 4
396Enumerate the LSA SIDS
397.RE
398.PP
399lsaenumprivsaccount
400.RS 4
401Enumerate the privileges of an SID
402.RE
403.PP
404lsaenumacctrights
405.RS 4
406Enumerate the rights of an SID
407.RE
408.PP
409lsaenumacctwithright
410.RS 4
411Enumerate accounts with a right
412.RE
413.PP
414lsaaddacctrights
415.RS 4
416Add rights to an account
417.RE
418.PP
419lsaremoveacctrights
420.RS 4
421Remove rights from an account
422.RE
423.PP
424lsalookupprivvalue
425.RS 4
426Get a privilege value given its name
427.RE
428.PP
429lsaquerysecobj
430.RS 4
431Query LSA security object
432.RE
433.SS "LSARPC\-DS"
434.PP
435dsroledominfo
436.RS 4
437Get Primary Domain Information
438.RE
439.PP
440.PP
441\fIDFS\fR
442.PP
443dfsexist
444.RS 4
445Query DFS support
446.RE
447.PP
448dfsadd
449.RS 4
450Add a DFS share
451.RE
452.PP
453dfsremove
454.RS 4
455Remove a DFS share
456.RE
457.PP
458dfsgetinfo
459.RS 4
460Query DFS share info
461.RE
462.PP
463dfsenum
464.RS 4
465Enumerate dfs shares
466.RE
467.SS "REG"
468.PP
469shutdown
470.RS 4
471Remote Shutdown
472.RE
473.PP
474abortshutdown
475.RS 4
476Abort Shutdown
477.RE
478.SS "SRVSVC"
479.PP
480srvinfo
481.RS 4
482Server query info
483.RE
484.PP
485netshareenum
486.RS 4
487Enumerate shares
488.RE
489.PP
490netfileenum
491.RS 4
492Enumerate open files
493.RE
494.PP
495netremotetod
496.RS 4
497Fetch remote time of day
498.RE
499.SS "SAMR"
500.PP
501queryuser
502.RS 4
503Query user info
504.RE
505.PP
506querygroup
507.RS 4
508Query group info
509.RE
510.PP
511queryusergroups
512.RS 4
513Query user groups
514.RE
515.PP
516querygroupmem
517.RS 4
518Query group membership
519.RE
520.PP
521queryaliasmem
522.RS 4
523Query alias membership
524.RE
525.PP
526querydispinfo
527.RS 4
528Query display info
529.RE
530.PP
531querydominfo
532.RS 4
533Query domain info
534.RE
535.PP
536enumdomusers
537.RS 4
538Enumerate domain users
539.RE
540.PP
541enumdomgroups
542.RS 4
543Enumerate domain groups
544.RE
545.PP
546enumalsgroups
547.RS 4
548Enumerate alias groups
549.RE
550.PP
551createdomuser
552.RS 4
553Create domain user
554.RE
555.PP
556samlookupnames
557.RS 4
558Look up names
559.RE
560.PP
561samlookuprids
562.RS 4
563Look up names
564.RE
565.PP
566deletedomuser
567.RS 4
568Delete domain user
569.RE
570.PP
571samquerysecobj
572.RS 4
573Query SAMR security object
574.RE
575.PP
576getdompwinfo
577.RS 4
578Retrieve domain password info
579.RE
580.PP
581lookupdomain
582.RS 4
583Look up domain
584.RE
585.SS "SPOOLSS"
586.PP
587adddriver <arch> <config> [<version>]
588.RS 4
589Execute 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
590\FCgetdriverdir\F[]\&. Possible values for
591\fIarch\fR
592are the same as those for the
593\FCgetdriverdir\F[]
594command\&. The
595\fIconfig\fR
596parameter is defined as follows:
597.sp
598.if n \{\
599.RS 4
600.\}
601.fam C
602.ps -1
603.nf
604.if t \{\
605.sp -1
606.\}
607.BB lightgray adjust-for-leading-newline
608.sp -1
609
610Long Printer Name:\e
611Driver File Name:\e
612Data File Name:\e
613Config File Name:\e
614Help File Name:\e
615Language Monitor Name:\e
616Default Data Type:\e
617Comma Separated list of Files
618.EB lightgray adjust-for-leading-newline
619.if t \{\
620.sp 1
621.\}
622.fi
623.fam
624.ps +1
625.if n \{\
626.RE
627.\}
628.sp
629Any empty fields should be enter as the string "NULL"\&.
630.sp
631Samba does not need to support the concept of Print Monitors since these only apply to local printers whose driver can make use of a bi\-directional link for communication\&. This field should be "NULL"\&. On a remote NT print server, the Print Monitor for a driver must already be installed prior to adding the driver or else the RPC will fail\&.
632.sp
633The
634\fIversion\fR
635parameter lets you specify the printer driver version number\&. If omitted, the default driver version for the specified architecture will be used\&. This option can be used to upload Windows 2000 (version 3) printer drivers\&.
636.RE
637.PP
638addprinter <printername> <sharename> <drivername> <port>
639.RS 4
640Add 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
641\FCadddriver\F[]) and the
642\fIport\fRmust be a valid port name (see
643\FCenumports\F[]\&.
644.RE
645.PP
646deldriver
647.RS 4
648Delete the specified printer driver for all architectures\&. This does not delete the actual driver files from the server, only the entry from the server\'s list of drivers\&.
649.RE
650.PP
651deldriverex <driver> [architecture] [version]
652.RS 4
653Delete the specified printer driver including driver files\&. You can limit this action to a specific architecture and a specific version\&. If no architecure is given, all driver files of that driver will be deleted\&.
654.RE
655.PP
656enumdata
657.RS 4
658Enumerate all printer setting data stored on the server\&. On Windows NT clients, these values are stored in the registry, while Samba servers store them in the printers TDB\&. This command corresponds to the MS Platform SDK GetPrinterData() function (* This command is currently unimplemented)\&.
659.RE
660.PP
661enumdataex
662.RS 4
663Enumerate printer data for a key
664.RE
665.PP
666enumjobs <printer>
667.RS 4
668List the jobs and status of a given printer\&. This command corresponds to the MS Platform SDK EnumJobs() function
669.RE
670.PP
671enumkey
672.RS 4
673Enumerate printer keys
674.RE
675.PP
676enumports [level]
677.RS 4
678Executes an EnumPorts() call using the specified info level\&. Currently only info levels 1 and 2 are supported\&.
679.RE
680.PP
681enumdrivers [level]
682.RS 4
683Execute an EnumPrinterDrivers() call\&. This lists the various installed printer drivers for all architectures\&. Refer to the MS Platform SDK documentation for more details of the various flags and calling options\&. Currently supported info levels are 1, 2, and 3\&.
684.RE
685.PP
686enumprinters [level]
687.RS 4
688Execute an EnumPrinters() call\&. This lists the various installed and share printers\&. Refer to the MS Platform SDK documentation for more details of the various flags and calling options\&. Currently supported info levels are 1, 2 and 5\&.
689.RE
690.PP
691getdata <printername> <valuename;>
692.RS 4
693Retrieve the data for a given printer setting\&. See the
694\FCenumdata\F[]
695command for more information\&. This command corresponds to the GetPrinterData() MS Platform SDK function\&.
696.RE
697.PP
698getdataex
699.RS 4
700Get printer driver data with keyname
701.RE
702.PP
703getdriver <printername>
704.RS 4
705Retrieve the printer driver information (such as driver file, config file, dependent files, etc\&.\&.\&.) for the given printer\&. This command corresponds to the GetPrinterDriver() MS Platform SDK function\&. Currently info level 1, 2, and 3 are supported\&.
706.RE
707.PP
708getdriverdir <arch>
709.RS 4
710Execute a GetPrinterDriverDirectory() RPC to retrieve the SMB share name and subdirectory for storing printer driver files for a given architecture\&. Possible values for
711\fIarch\fR
712are "Windows 4\&.0" (for Windows 95/98), "Windows NT x86", "Windows NT PowerPC", "Windows Alpha_AXP", and "Windows NT R4000"\&.
713.RE
714.PP
715getprinter <printername>
716.RS 4
717Retrieve the current printer information\&. This command corresponds to the GetPrinter() MS Platform SDK function\&.
718.RE
719.PP
720getprintprocdir
721.RS 4
722Get print processor directory
723.RE
724.PP
725openprinter <printername>
726.RS 4
727Execute an OpenPrinterEx() and ClosePrinter() RPC against a given printer\&.
728.RE
729.PP
730setdriver <printername> <drivername>
731.RS 4
732Execute 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\&.
733.sp
734See also the
735\FCenumprinters\F[]
736and
737\FCenumdrivers\F[]
738commands for obtaining a list of of installed printers and drivers\&.
739.RE
740.PP
741addform
742.RS 4
743Add form
744.RE
745.PP
746setform
747.RS 4
748Set form
749.RE
750.PP
751getform
752.RS 4
753Get form
754.RE
755.PP
756deleteform
757.RS 4
758Delete form
759.RE
760.PP
761enumforms
762.RS 4
763Enumerate form
764.RE
765.PP
766setprinter
767.RS 4
768Set printer comment
769.RE
770.PP
771setprinterdata
772.RS 4
773Set REG_SZ printer data
774.RE
775.PP
776setprintername <printername> <newprintername>
777.RS 4
778Set printer name
779.RE
780.PP
781rffpcnex
782.RS 4
783Rffpcnex test
784.RE
785.SS "NETLOGON"
786.PP
787logonctrl2
788.RS 4
789Logon Control 2
790.RE
791.PP
792logonctrl
793.RS 4
794Logon Control
795.RE
796.PP
797samsync
798.RS 4
799Sam Synchronisation
800.RE
801.PP
802samdeltas
803.RS 4
804Query Sam Deltas
805.RE
806.PP
807samlogon
808.RS 4
809Sam Logon
810.RE
811.SS "GENERAL COMMANDS"
812.PP
813debuglevel
814.RS 4
815Set the current debug level used to log information\&.
816.RE
817.PP
818help (?)
819.RS 4
820Print a listing of all known commands or extended help on a particular command\&.
821.RE
822.PP
823quit (exit)
824.RS 4
825Exit
826\FCrpcclient \F[]\&.
827.RE
828.SH "BUGS"
829.PP
830\FCrpcclient\F[]
831is 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\&.
832.PP
833From Luke Leighton\'s original rpcclient man page:
834.PP
835\fIWARNING!\fR
836The MSRPC over SMB code has been developed from examining Network traces\&. No documentation is available from the original creators (Microsoft) on how MSRPC over SMB works, or how the individual MSRPC services work\&. Microsoft\'s implementation of these services has been demonstrated (and reported) to be\&.\&.\&. a bit flaky in places\&.
837.PP
838The development of Samba\'s implementation is also a bit rough, and as more of the services are understood, it can even result in versions of
839\fBsmbd\fR(8)
840and
841\fBrpcclient\fR(1)
842that are incompatible for some commands or services\&. Additionally, the developers are sending reports to Microsoft, and problems found or reported to Microsoft are fixed in Service Packs, which may result in incompatibilities\&.
843.SH "VERSION"
844.PP
845This man page is correct for version 3 of the Samba suite\&.
846.SH "AUTHOR"
847.PP
848The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
849.PP
850The original rpcclient man page was written by Matthew Geddes, Luke Kenneth Casson Leighton, and rewritten by Gerald Carter\&. The conversion to DocBook for Samba 2\&.2 was done by Gerald Carter\&. The conversion to DocBook XML 4\&.2 for Samba 3\&.0 was done by Alexander Bokovoy\&.
Note: See TracBrowser for help on using the repository browser.