diff options
author | Volker Lendecke <vl@samba.org> | 2010-01-24 16:50:46 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-01-24 20:32:17 +0100 |
commit | a03a83ad26b2cfa571b18f423915312c29fd33c7 (patch) | |
tree | b92374a9f4d9a61f5a944ad22e23265e66d85d53 /source3/libsmb | |
parent | ff0274c519c036c28b70efbb8bf823347c91eb96 (diff) | |
download | samba-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.c | 4 |
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; |