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"> 4 5<refmeta> 6 <refentrytitle>ndrdump</refentrytitle> 7 <manvolnum>1</manvolnum> 8</refmeta> 9 10 11<refnamediv> 12 <refname>ndrdump</refname> 13 <refpurpose>DCE/RPC Packet Parser and Dumper</refpurpose> 14</refnamediv> 15 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> 33 34<refsect1> 35 <title>DESCRIPTION</title> 36 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> 42 43 <para>Running ndrdump without arguments will list the pipes for which 44 parsers are available.</para> 45 46 <para>Running ndrdump with one argument will list the functions that 47 Samba can parse for the specified pipe.</para> 48 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> 53 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> 56 57</refsect1> 58 59<refsect1> 60 <title>VERSION</title> 61 62 <para>This man page is correct for version 4.0 of the Samba suite.</para> 63</refsect1> 64 65<refsect1> 66 <title>SEE ALSO</title> 67 68 <para>wireshark, pidl</para> 69 70</refsect1> 71 72<refsect1> 73 <title>AUTHOR</title> 74 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> 76 77 <para>ndrdump was written by Andrew Tridgell. </para> 78 79 <para>This manpage was written by Jelmer Vernooij. </para> 80 81</refsect1> 82 83</refentry> 84