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">
6 <refentrytitle>ndrdump</refentrytitle>
7 <manvolnum>1</manvolnum>
12 <refname>ndrdump</refname>
13 <refpurpose>DCE/RPC Packet Parser and Dumper</refpurpose>
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>
26 <command>ndrdump</command>
27 <arg choice="opt">pipe</arg>
30 <command>ndrdump</command>
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>
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>
60 <title>VERSION</title>
62 <para>This man page is correct for version 4.0 of the Samba suite.</para>
66 <title>SEE ALSO</title>
68 <para>wireshark, pidl</para>
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>