diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-01-05 21:24:27 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-01-05 21:24:27 +0000 |
commit | ba33f1e0d5fe2aed3e378c9c23511c0b4d6f7d14 (patch) | |
tree | 565d27b9641de56e3e6008014f9b302fe68521ce /source/libsmb/ntlmssp.c | |
parent | ffaf9982dcf9e8d8aec1b3edb79ba7c93bfbb9ef (diff) | |
download | samba-ba33f1e0d5fe2aed3e378c9c23511c0b4d6f7d14.tar.gz samba-ba33f1e0d5fe2aed3e378c9c23511c0b4d6f7d14.tar.xz samba-ba33f1e0d5fe2aed3e378c9c23511c0b4d6f7d14.zip |
Fix more cases to ensure that as a server, we don't complain to the client
about our server-side lack of session key.
Andrew Bartlett
Diffstat (limited to 'source/libsmb/ntlmssp.c')
-rw-r--r-- | source/libsmb/ntlmssp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/libsmb/ntlmssp.c b/source/libsmb/ntlmssp.c index 95fd4c03e55..40d7f411096 100644 --- a/source/libsmb/ntlmssp.c +++ b/source/libsmb/ntlmssp.c @@ -680,7 +680,6 @@ static NTSTATUS ntlmssp_server_auth(struct ntlmssp_state *ntlmssp_state, dump_data_pw("NTLM2 session key:\n", session_key.data, session_key.length); } else { - data_blob_free(&encrypted_session_key); DEBUG(10,("ntlmssp_server_auth: Failed to create NTLM2 session key.\n")); session_key = data_blob(NULL, 0); } @@ -699,7 +698,6 @@ static NTSTATUS ntlmssp_server_auth(struct ntlmssp_state *ntlmssp_state, session_key = lm_session_key; } } else { - data_blob_free(&encrypted_session_key); DEBUG(10,("ntlmssp_server_auth: Failed to create NTLM session key.\n")); session_key = data_blob(NULL, 0); } @@ -737,7 +735,7 @@ static NTSTATUS ntlmssp_server_auth(struct ntlmssp_state *ntlmssp_state, encrypted_session_key.data, encrypted_session_key.length); dump_data_pw("KEY_EXCH session key:\n", encrypted_session_key.data, - encrypted_session_key.length); + encrypted_session_key.length); } } else { ntlmssp_state->session_key = session_key; |