source: branches/samba-3.3.x/docs/manpages/rpcclient.1@ 411

Last change on this file since 411 was 411, checked in by Herwig Bauernfeind, 15 years ago

Update Samba 3.3.x to 3.3.11

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