OS Manuals

/usr/bin/ndrdump

Samba server and client testing tools

From samba-test 4.25.1-r1 (os), captured 2026-11-05 by running ndrdump --help (exit 0). permalink

Usage: ndrdump <pipe|uuid> <format> <in|out|struct> [<filename>]
  -c, --context-file=CTX-FILE         In-filename to parse first
      --validate                      try to validate the data
      --dump-data                     dump the hex data
      --load-dso=STRING               load from shared object file
      --ndr64                         Assume NDR64 data
      --quiet                         Don't actually dump anything
      --base64-input                  Read the input file in as a base64 string
      --hex-input                     Read the input file in as a hex dump
      --input=INPUT                   Provide the input on the command line
                                      (use with --base64-input)
      --print-after-parse-failure     Try to print structures that fail to
                                      parse (used to develop parsers,
                                      segfaults are likely).

Help options:
  -?, --help                          Show this help message
      --usage                         Display brief usage message

Common Samba options:
  -d, --debuglevel=DEBUGLEVEL         Set debug level
      --debug-stdout                  Send debug output to standard output
  -s, --configfile=CONFIGFILE         Use alternative configuration file
      --option=name=value             Set smb.conf option from command line
  -l, --log-basename=LOGFILEBASE      Basename for log/debug files
      --leak-report                   enable talloc leak reporting on exit
      --leak-report-full              enable full talloc leak reporting on exit

Version options:
  -V, --version                       Print version
Options (20)
OptionDescriptionSource
-c, --context-file CTX-FILEIn-filename to parse firsthelp
--validatetry to validate the datahelp
--dump-datadump the hex datahelp
--load-dso STRINGload from shared object filehelp
--ndr64Assume NDR64 datahelp
--quietDon't actually dump anythinghelp
--base64-inputRead the input file in as a base64 stringhelp
--hex-inputRead the input file in as a hex dumphelp
--input INPUTProvide the input on the command line (use with --base64-input)help
--print-after-parse-failureTry to print structures that fail to parse (used to develop parsers, segfaults are likely).help
-?, --helpShow this help messagehelp
--usageDisplay brief usage messagehelp
-d, --debuglevel DEBUGLEVELSet debug levelhelp
--debug-stdoutSend debug output to standard outputhelp
-s, --configfile CONFIGFILEUse alternative configuration filehelp
--option name=valueSet smb.conf option from command linehelp
-l, --log-basename LOGFILEBASEBasename for log/debug fileshelp
--leak-reportenable talloc leak reporting on exithelp
--leak-report-fullenable full talloc leak reporting on exithelp
-V, --versionPrint versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.