summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index fa79ebcea3..2905a661a0 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1006,6 +1006,10 @@ static struct tevent_req *cli_session_setup_ntlmssp_send(
}
ntlmssp_want_feature(state->ntlmssp_state,
NTLMSSP_FEATURE_SESSION_KEY);
+ if (cli->use_ccache) {
+ ntlmssp_want_feature(state->ntlmssp_state,
+ NTLMSSP_FEATURE_CCACHE);
+ }
status = ntlmssp_set_username(state->ntlmssp_state, user);
if (!NT_STATUS_IS_OK(status)) {
goto fail;