From cde1950aea3d77104e969ee2f3917e1fc902d2e9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 Sep 2004 02:36:38 +0000 Subject: r2304: fixed a bug in old style NTLM signing (This used to be commit 09651b831d085345dd385bc9777f97e1c0d57c6f) --- source4/librpc/rpc/dcerpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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, -- cgit