testprogs: add "samba3" and "architecture=" options to spoolss tester.
[Samba/kamenim.git] / librpc / tools / ndrdump.1.xml
blob9d66102682ed81b91fc9e7b9bdc1cbe8dde93320
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="ndrdump.1">
5 <refmeta>
6         <refentrytitle>ndrdump</refentrytitle>
7         <manvolnum>1</manvolnum>
8 </refmeta>
11 <refnamediv>
12         <refname>ndrdump</refname>
13         <refpurpose>DCE/RPC Packet Parser and Dumper</refpurpose>
14 </refnamediv>
16 <refsynopsisdiv>
17         <cmdsynopsis>
18                 <command>ndrdump</command>
19                 <arg choice="opt">-c context</arg>
20                 <arg choice="req">pipe</arg>
21                 <arg choice="req">function</arg>
22                 <arg choice="req">in|out</arg>
23                 <arg choice="req">filename</arg>
24         </cmdsynopsis>
25         <cmdsynopsis>
26                 <command>ndrdump</command>
27                 <arg choice="opt">pipe</arg>
28         </cmdsynopsis>
29         <cmdsynopsis>
30                 <command>ndrdump</command>
31         </cmdsynopsis>
32 </refsynopsisdiv>
34 <refsect1>
35         <title>DESCRIPTION</title>
37         <para>ndrdump tries to parse the specified <replaceable>filename</replaceable>
38                 using Samba's parser for the specified pipe and function. The 
39                 third argument should be 
40                 either <emphasis>in</emphasis> or <emphasis>out</emphasis>, depending 
41                 on whether the data should be parsed as a request or a reply.</para>
43         <para>Running ndrdump without arguments will list the pipes for which 
44                 parsers are available.</para>
46         <para>Running ndrdump with one argument will list the functions that 
47                 Samba can parse for the specified pipe.</para>
49         <para>The primary function of ndrdump is debugging Samba's internal 
50                 DCE/RPC parsing functions. The file being parsed is usually 
51                 one exported by wiresharks <quote>Export selected packet bytes</quote> 
52                 function.</para>
54         <para>The context argument can be used to load context data from the request 
55                 packet when parsing reply packets (such as array lengths).</para>
57 </refsect1>
59 <refsect1>
60         <title>VERSION</title>
62         <para>This man page is correct for version 4.0 of the Samba suite.</para>
63 </refsect1>
65 <refsect1>
66         <title>SEE ALSO</title>
68         <para>wireshark, pidl</para>
70 </refsect1>
72 <refsect1>
73         <title>AUTHOR</title>
75         <para>This utility is part of the <ulink url="http://www.samba.org/">Samba</ulink> suite, which is developed by the global <ulink url="http://www.samba.org/samba/team/">Samba Team</ulink>.</para>
77         <para>ndrdump was written by Andrew Tridgell. </para>
79         <para>This manpage was written by Jelmer Vernooij. </para>
80         
81 </refsect1>
83 </refentry>