summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-22 09:32:35 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-22 09:32:35 +0000
commit4666ec9301ebb753c846f4a79a008bc088cf0c02 (patch)
tree0e7fc482919167ef30e7a394b441f2f7e6d167f8 /source4/librpc/rpc/dcerpc.c
parent175e9475796ca7f2ba1e8efad3e6975ad0c71882 (diff)
downloadsamba-4666ec9301ebb753c846f4a79a008bc088cf0c02.tar.gz
samba-4666ec9301ebb753c846f4a79a008bc088cf0c02.tar.bz2
samba-4666ec9301ebb753c846f4a79a008bc088cf0c02.zip
* fixed NDR flag inheritance across push subcontexts
* don't consider not doing lsa_QueryInfoPolicy level 11 a failure (w2k3 doesn't have this level, w2k does) * on a NDR validation failure dump the failed data at level 3 (This used to be commit 9d5078962f0f8aef3360dea4c4774cf8de1fdc26)
Diffstat (limited to 'source4/librpc/rpc/dcerpc.c')
-rw-r--r--source4/librpc/rpc/dcerpc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index cb03ff8970..871d0fec24 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -780,6 +780,10 @@ static NTSTATUS dcerpc_ndr_validate_in(TALLOC_CTX *mem_ctx,
blob2 = ndr_push_blob(push);
if (!data_blob_equal(&blob, &blob2)) {
+ DEBUG(3,("original:\n"));
+ dump_data(3, blob.data, blob.length);
+ DEBUG(3,("secondary:\n"));
+ dump_data(3, blob2.data, blob2.length);
return ndr_push_error(push, NDR_ERR_VALIDATE,
"Error in input validation data - %s",
nt_errstr(status));
@@ -855,6 +859,10 @@ static NTSTATUS dcerpc_ndr_validate_out(TALLOC_CTX *mem_ctx,
blob2 = ndr_push_blob(push);
if (!data_blob_equal(&blob, &blob2)) {
+ DEBUG(3,("original:\n"));
+ dump_data(3, blob.data, blob.length);
+ DEBUG(3,("secondary:\n"));
+ dump_data(3, blob2.data, blob2.length);
return ndr_push_error(push, NDR_ERR_VALIDATE,
"Error in output validation data - %s",
nt_errstr(status));