summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-06-18 04:23:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:20 -0500
commit3b1f21b812be54d4ed334e23161e6d9a54f9977f (patch)
treed69c1ca55ec84508b4a15d0a83314e91b7a09a00 /source3/rpc_server
parent3b0b5f628893c9e03ee483e30af849839b557f41 (diff)
downloadsamba-3b1f21b812be54d4ed334e23161e6d9a54f9977f.tar.gz
samba-3b1f21b812be54d4ed334e23161e6d9a54f9977f.tar.bz2
samba-3b1f21b812be54d4ed334e23161e6d9a54f9977f.zip
r7708: Hint from Luke Howard (thanks Luke). Ensure the schannel authenticator is 8
byte aligned, just like the NTLMSSP ones. Trying to fix 64-bit Windows domain logon. Jeremy. (This used to be commit 475d5a277db7709c1b0f851ce8ec4dd8de5e25fc)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 9cf61d6357..30aacdc4c5 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -162,7 +162,7 @@ BOOL create_next_pdu(pipes_struct *p)
if(p->out_data.data_sent_length + data_len >= prs_offset(&p->out_data.rdata)) {
p->hdr.flags |= RPC_FLG_LAST;
- if ((auth_seal || auth_verify) && (data_len_left % 8)) {
+ if ((auth_seal || auth_verify || p->netsec_auth_validated) && (data_len_left % 8)) {
ss_padding_len = 8 - (data_len_left % 8);
DEBUG(10,("create_next_pdu: adding sign/seal padding of %u\n",
ss_padding_len ));