summaryrefslogtreecommitdiffstats
path: root/librpc/tools/ndrdump.1.xml
blob: 9d66102682ed81b91fc9e7b9bdc1cbe8dde93320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<refentry id="ndrdump.1">

<refmeta>
	<refentrytitle>ndrdump</refentrytitle>
	<manvolnum>1</manvolnum>
</refmeta>


<refnamediv>
	<refname>ndrdump</refname>
	<refpurpose>DCE/RPC Packet Parser and Dumper</refpurpose>
</refnamediv>

<refsynopsisdiv>
	<cmdsynopsis>
		<command>ndrdump</command>
		<arg choice="opt">-c context</arg>
		<arg choice="req">pipe</arg>
		<arg choice="req">function</arg>
		<arg choice="req">in|out</arg>
		<arg choice="req">filename</arg>
	</cmdsynopsis>
	<cmdsynopsis>
		<command>ndrdump</command>
		<arg choice="opt">pipe</arg>
	</cmdsynopsis>
	<cmdsynopsis>
		<command>ndrdump</command>
	</cmdsynopsis>
</refsynopsisdiv>

<refsect1>
	<title>DESCRIPTION</title>

	<para>ndrdump tries to parse the specified <replaceable>filename</replaceable>
		using Samba's parser for the specified pipe and function. The 
		third argument should be 
		either <emphasis>in</emphasis> or <emphasis>out</emphasis>, depending 
		on whether the data should be parsed as a request or a reply.</para>

	<para>Running ndrdump without arguments will list the pipes for which 
		parsers are available.</para>

	<para>Running ndrdump with one argument will list the functions that 
		Samba can parse for the specified pipe.</para>

	<para>The primary function of ndrdump is debugging Samba's internal 
		DCE/RPC parsing functions. The file being parsed is usually 
		one exported by wiresharks <quote>Export selected packet bytes</quote> 
		function.</para>

	<para>The context argument can be used to load context data from the request 
		packet when parsing reply packets (such as array lengths).</para>

</refsect1>

<refsect1>
	<title>VERSION</title>

	<para>This man page is correct for version 4.0 of the Samba suite.</para>
</refsect1>

<refsect1>
	<title>SEE ALSO</title>

	<para>wireshark, pidl</para>

</refsect1>

<refsect1>
	<title>AUTHOR</title>

	<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>

	<para>ndrdump was written by Andrew Tridgell. </para>

	<para>This manpage was written by Jelmer Vernooij. </para>
	
</refsect1>

</refentry>