git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba297a6
)
librpc/tools: support ndr64 in the validate path of ndrdump
author
Günther Deschner
<gd@samba.org>
Tue, 23 Aug 2016 13:54:26 +0000
(15:54 +0200)
committer
Jeremy Allison
<jra@samba.org>
Wed, 24 Aug 2016 23:38:28 +0000
(
01:38
+0200)
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
librpc/tools/ndrdump.c
patch
|
blob
|
history
diff --git
a/librpc/tools/ndrdump.c
b/librpc/tools/ndrdump.c
index 2827e8d7fd0dbdffa391cbb74d9dc2fc7c174586..d534e3c1dbaa8ff203826760984071776f68cd04 100644
(file)
--- a/
librpc/tools/ndrdump.c
+++ b/
librpc/tools/ndrdump.c
@@
-493,7
+493,11
@@
static void ndr_print_dummy(struct ndr_print *ndr, const char *format, ...)
bool differ;
ndr_v_push = ndr_push_init_ctx(mem_ctx);
-
+
+ if (assume_ndr64) {
+ ndr_v_push->flags |= LIBNDR_FLAG_NDR64;
+ }
+
ndr_err = f->ndr_push(ndr_v_push, flags, st);
status = ndr_map_error2ntstatus(ndr_err);
printf("push returned %s\n", nt_errstr(status));