summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-13 02:36:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:41 -0500
commitcde1950aea3d77104e969ee2f3917e1fc902d2e9 (patch)
treedb5f9dbbb2d731174704d4dc5e3368cb2d816785 /source4/librpc/rpc
parent922e17105fbf12db2da535fed29395c9bf7f60c4 (diff)
downloadsamba-cde1950aea3d77104e969ee2f3917e1fc902d2e9.tar.gz
samba-cde1950aea3d77104e969ee2f3917e1fc902d2e9.tar.bz2
samba-cde1950aea3d77104e969ee2f3917e1fc902d2e9.zip
r2304: fixed a bug in old style NTLM signing
(This used to be commit 09651b831d085345dd385bc9777f97e1c0d57c6f)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 629edd16d4..5c771002af 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -343,7 +343,7 @@ static NTSTATUS dcerpc_push_request_sign(struct dcerpc_pipe *p,
status = gensec_sign_packet(p->security_state.generic_state,
mem_ctx,
blob->data + DCERPC_REQUEST_LENGTH,
- pkt->u.request.stub_and_verifier.length,
+ pkt->u.request.stub_and_verifier.length+p->security_state.auth_info->auth_pad_length,
blob->data,
blob->length -
p->security_state.auth_info->credentials.length,