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">
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>
15 <refname>ndrdump</refname>
16 <refpurpose>DCE/RPC Packet Parser and Dumper</refpurpose>
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>
29 <command>ndrdump</command>
30 <arg choice="opt">pipe</arg>
33 <command>ndrdump</command>
38 <title>DESCRIPTION</title>
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>
48 <para>Running ndrdump without arguments will list the pipes for which
49 parsers are available.</para>
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>
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>
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>
66 <title>VERSION</title>
68 <para>This man page is correct for version 4.0 of the Samba suite.</para>
72 <title>SEE ALSO</title>
74 <para>wireshark, pidl</para>
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>
83 <para>ndrdump was written by Andrew Tridgell. </para>
85 <para>This manpage was written by Jelmer Vernooij. </para>