auth/credentials: cli_credentials_set_ntlm_response() pass session_keys
authorStefan Metzmacher <metze@samba.org>
Sat, 18 Dec 2021 09:40:36 +0000 (10:40 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 4 Jan 2022 20:07:28 +0000 (20:07 +0000)
commit0ef1254f4428ab83ab6c8ca5e3415a1a9e069c92
treed5c8c551c001c6d25e537dd637d8639c12e37ad2
parenta03aa131554ef17801248a21722f2c8fb398ee44
auth/credentials: cli_credentials_set_ntlm_response() pass session_keys

Otherwise cli_credentials_get_ntlm_response() will return session keys
with a 0 length, which leads to errors in the NTLMSSP code.

This wasn't noticed as cli_credentials_set_ntlm_response() has no
callers yet, but that will change in the next commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14932

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
auth/credentials/credentials.h
auth/credentials/credentials_internal.h
auth/credentials/credentials_ntlm.c