autobuild: samba-ctdb does not need an AD DC
[samba.git] / librpc / tools / ndrdump.1.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
3 <refentry id="ndrdump.1">
4
5 <refmeta>
6         <refentrytitle>ndrdump</refentrytitle>
7         <manvolnum>1</manvolnum>
8         <refmiscinfo class="source">Samba</refmiscinfo>
9         <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10         <refmiscinfo class="version">4.0</refmiscinfo>
11 </refmeta>
12
13
14 <refnamediv>
15         <refname>ndrdump</refname>
16         <refpurpose>DCE/RPC Packet Parser and Dumper</refpurpose>
17 </refnamediv>
18
19 <refsynopsisdiv>
20         <cmdsynopsis>
21                 <command>ndrdump</command>
22                 <arg choice="opt">-c context</arg>
23                 <arg choice="req">pipe</arg>
24                 <arg choice="req">format</arg>
25                 <arg choice="req">in|out|struct</arg>
26                 <arg choice="req">filename</arg>
27         </cmdsynopsis>
28         <cmdsynopsis>
29                 <command>ndrdump</command>
30                 <arg choice="opt">pipe</arg>
31         </cmdsynopsis>
32         <cmdsynopsis>
33                 <command>ndrdump</command>
34         </cmdsynopsis>
35 </refsynopsisdiv>
36
37 <refsect1>
38         <title>DESCRIPTION</title>
39
40         <para>ndrdump tries to parse the specified <replaceable>filename</replaceable>
41                 using Samba's parser for the specified pipe and format. The
42                 third argument should be 
43                 either <emphasis>in</emphasis>, <emphasis>out</emphasis>
44                 or <emphasis>struct</emphasis>depending
45                 on whether the data should be parsed as a request, reply or a
46                 public structure.</para>
47
48         <para>Running ndrdump without arguments will list the pipes for which 
49                 parsers are available.</para>
50
51         <para>Running ndrdump with one argument will list the functions and
52                 public structures that
53                 Samba can parse for the specified pipe.</para>
54
55         <para>The primary function of ndrdump is debugging Samba's internal 
56                 DCE/RPC parsing functions. The file being parsed is usually 
57                 one exported by wiresharks <quote>Export selected packet bytes</quote> 
58                 function.</para>
59
60         <para>The context argument can be used to load context data from the request 
61                 packet when parsing reply packets (such as array lengths).</para>
62
63 </refsect1>
64
65 <refsect1>
66         <title>VERSION</title>
67
68         <para>This man page is correct for version 4.0 of the Samba suite.</para>
69 </refsect1>
70
71 <refsect1>
72         <title>SEE ALSO</title>
73
74         <para>wireshark, pidl</para>
75
76 </refsect1>
77
78 <refsect1>
79         <title>AUTHOR</title>
80
81         <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>
82
83         <para>ndrdump was written by Andrew Tridgell. </para>
84
85         <para>This manpage was written by Jelmer Vernooij. </para>
86         
87 </refsect1>
88
89 </refentry>