summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-24 16:50:46 +0100
committerVolker Lendecke <vl@samba.org>2010-01-24 20:32:17 +0100
commita03a83ad26b2cfa571b18f423915312c29fd33c7 (patch)
treeb92374a9f4d9a61f5a944ad22e23265e66d85d53 /source3/libsmb
parentff0274c519c036c28b70efbb8bf823347c91eb96 (diff)
downloadsamba-a03a83ad26b2cfa571b18f423915312c29fd33c7.tar.gz
samba-a03a83ad26b2cfa571b18f423915312c29fd33c7.tar.bz2
samba-a03a83ad26b2cfa571b18f423915312c29fd33c7.zip
s3: Add ccache use to cli_session_setup_ntlmssp
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;