1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/torture/ndr
Günther Deschner 2c1075d63b werror: replace WERR_BADFILE with WERR_FILE_NOT_FOUND in source4/torture/ndr/winreg.c
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:17 +02:00
..
atsvc.c
backupkey.c s4-torture: cleanup torture_suite_add_ndr_pull_validate_test API. 2016-09-07 09:28:13 +02:00
clusapi.c s4-torture: cleanup torture_suite_add_ndr_pull_validate_test API. 2016-09-07 09:28:13 +02:00
dfs.c
dfsblob.c torture-ndr: fixed NDR tests for DFS blobs 2011-09-08 03:35:27 +02:00
drsblobs.c s4-torture: cleanup torture_suite_add_ndr_pull_validate_test API. 2016-09-07 09:28:13 +02:00
drsuapi.c s4-torture: fix gcc6 build warning. 2016-02-06 21:48:18 +01:00
epmap.c s4:torture/ndr: #if 0 unused code 2015-03-20 20:43:12 +01:00
krb5pac.c s4-torture: cleanup torture_suite_add_ndr_pull_validate_test API. 2016-09-07 09:28:13 +02:00
lsa.c s4:torture/ndr: #if 0 unused code 2015-03-20 20:43:12 +01:00
nbt.c s4-torture: cleanup torture_suite_add_ndr_pull_validate_test API. 2016-09-07 09:28:13 +02:00
ndr.c s4-torture: add IRemoteWinspool ndr testsuite. 2016-09-22 12:29:28 +02:00
ndr.h s4-torture: cleanup torture_suite_add_ndr_pull_validate_test API. 2016-09-07 09:28:13 +02:00
negoex.c s4-torture: cleanup torture_suite_add_ndr_pull_validate_test API. 2016-09-07 09:28:13 +02:00
netlogon.c s4:torture/ndr: #if 0 unused code 2015-03-20 20:43:12 +01:00
ntlmssp.c s4-torture: cleanup torture_suite_add_ndr_pull_validate_test API. 2016-09-07 09:28:13 +02:00
ntprinting.c s4-torture: rename torture_suite_add_ndr_pullpush_test to torture_suite_add_ndr_pull_validate_test. 2016-07-20 21:27:17 +02:00
README torture: Update ndr README. 2013-03-15 13:51:51 +01:00
samr.c s4-torture: fix gcc6 build warning. 2016-02-06 21:48:18 +01:00
spoolss.c s4-torture: parse spoolss ndr packets using iremotewinspool calls 2016-09-22 16:16:30 +02:00
string.c s4-torture: fixed a ndr string error 2011-09-05 11:19:25 +02:00
winreg.c werror: replace WERR_BADFILE with WERR_FILE_NOT_FOUND in source4/torture/ndr/winreg.c 2016-09-28 00:04:17 +02:00
winspool.c s4-torture: add IRemoteWinspool ndr testsuite. 2016-09-22 12:29:28 +02:00
witness.c s4-torture: add test to verify WITNESS_NOTIFY_CLIENT_MOVE message marshalling. 2015-09-24 19:32:22 +02:00

use
	hexdump -v -e '12/1 "0x%02x, " "\n"' infile|outfile

to import ndr dumps


Or use gdb:

(gdb) b dump_printer
Breakpoint 1 at 0x49c92f: file ../source3/utils/net_printing.c, line 158.
(gdb) cond 1 strcmp(key_name, "s0bc") == 0
(gdb) run
Breakpoint 1, dump_printer (mem_ctx=0x700a20, key_name=0x11fb8f9 "s0bc", data=0x18f93d0 "H\032", length=1284, do_string_conversion=true) at ../source3/utils/net_printing.c:158
158             printf("found printer: %s\n", key_name);

-> Now use x/<length in byte>bx

(gdb) x/1284bx data

This prints data as hex values. 1284 is the length in byte (see the length
argument of the function). The b indicates byte.