CVE-2016-2110: libcli/auth: pass server_timestamp to SMBNTLMv2encrypt_hash()
[samba.git] / auth / credentials / credentials_ntlm.c
index a69add02f5387dc033b9390f30560c5d745e51ff..0abbb5c020da878901167985f78133b1c3052b22 100644 (file)
@@ -104,7 +104,7 @@ _PUBLIC_ NTSTATUS cli_credentials_get_ntlm_response(struct cli_credentials *cred
                                           user, 
                                           domain, 
                                           nt_hash->hash, &challenge, 
-                                          &target_info, 
+                                          server_timestamp, &target_info,
                                           &lm_response, &nt_response, 
                                           NULL, &session_key)) {
                        return NT_STATUS_NO_MEMORY;