summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_pipe.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-14 13:24:07 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-14 13:24:07 -0700
commit5464ce6df678a6ce3022f4a30fd9553996cefb69 (patch)
tree86982aa8eda44b0de296f46171fdebb9a4be8597 /source3/rpc_server/srv_pipe.c
parent72fcc6344f1ddfece4dd41790fc1add9c6d2c0f7 (diff)
parent3dd404abad878fa7e760ba50ce84fc80b82ea159 (diff)
downloadsamba-5464ce6df678a6ce3022f4a30fd9553996cefb69.tar.gz
samba-5464ce6df678a6ce3022f4a30fd9553996cefb69.tar.bz2
samba-5464ce6df678a6ce3022f4a30fd9553996cefb69.zip
Merge branch 'master' of /home/tridge/samba/git/combined
Diffstat (limited to 'source3/rpc_server/srv_pipe.c')
-rw-r--r--source3/rpc_server/srv_pipe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 7be0a0d2d2..ce7df63972 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -2199,11 +2199,13 @@ bool api_pipe_schannel_process(pipes_struct *p, prs_struct *rpc_in, uint32 *p_ss
return False;
}
- blob = data_blob_const(prs_data_p(rpc_in) + prs_offset(rpc_in), data_len);
+ blob = data_blob_const(prs_data_p(rpc_in) + prs_offset(rpc_in), auth_len);
ndr_err = ndr_pull_struct_blob(&blob, talloc_tos(), NULL, &schannel_chk,
(ndr_pull_flags_fn_t)ndr_pull_NL_AUTH_SIGNATURE);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
+ DEBUG(0,("failed to pull NL_AUTH_SIGNATURE\n"));
+ dump_data(2, blob.data, blob.length);
return false;
}