diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-05-21 05:18:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-05-21 05:18:23 +0000 |
commit | f60d90ff621920ca7dcf121881536e8f34b47493 (patch) | |
tree | deda8899dbd92f7c2e0deffa8723d4b991b0b12b /source3/smbd | |
parent | 1e8f725f7c8a5cd4835e3666770789c3ffe86cbb (diff) | |
download | samba-f60d90ff621920ca7dcf121881536e8f34b47493.tar.gz samba-f60d90ff621920ca7dcf121881536e8f34b47493.tar.bz2 samba-f60d90ff621920ca7dcf121881536e8f34b47493.zip |
we weren't filling in the keylength in LANMAN1 and LANMAN2.1 negprot
reply. Seems to have been broken for a long time!
(This used to be commit a16415a6c9a0dc011acb7e6419c55dd535c5e400)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/negprot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index db0694a840..66cd835240 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -100,6 +100,7 @@ static int reply_lanman1(char *inbuf, char *outbuf) SSVAL(outbuf,smb_vwv1,secword); /* Create a token value and add it to the outgoing packet. */ if (global_encrypted_passwords_negotiated) { + SSVAL(outbuf,smb_vwv11, 8); get_challenge(smb_buf(outbuf)); } @@ -143,6 +144,7 @@ static int reply_lanman2(char *inbuf, char *outbuf) /* Create a token value and add it to the outgoing packet. */ if (global_encrypted_passwords_negotiated) { + SSVAL(outbuf,smb_vwv11, 8); get_challenge(smb_buf(outbuf)); } |