diff options
author | Volker Lendecke <vl@samba.org> | 2010-01-24 17:34:13 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-01-24 20:32:17 +0100 |
commit | ca48d6ab778a49f7676b27a7df054d75f4c819c1 (patch) | |
tree | bcd8d87affae24ee87919b93ff09598d59c1f92c /source3 | |
parent | d016bdb72c3bd5993d0f4acb583512f25ea9521c (diff) | |
download | samba-ca48d6ab778a49f7676b27a7df054d75f4c819c1.tar.gz samba-ca48d6ab778a49f7676b27a7df054d75f4c819c1.tar.bz2 samba-ca48d6ab778a49f7676b27a7df054d75f4c819c1.zip |
s3: Add CLI_FULL_CONNECTION_USE_CCACHE
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/client.h | 1 | ||||
-rw-r--r-- | source3/libsmb/cliconnect.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index c74c74509a..72cea4a82c 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -305,5 +305,6 @@ typedef struct file_info { #define CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS 0x0008 #define CLI_FULL_CONNECTION_OPLOCKS 0x0010 #define CLI_FULL_CONNECTION_LEVEL_II_OPLOCKS 0x0020 +#define CLI_FULL_CONNECTION_USE_CCACHE 0x0040 #endif /* _CLIENT_H */ diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 2905a661a0..31f848cb00 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -2553,6 +2553,9 @@ again: cli->use_kerberos) { cli->fallback_after_kerberos = true; } + if (flags & CLI_FULL_CONNECTION_USE_CCACHE) { + cli->use_ccache = true; + } nt_status = cli_negprot(cli); if (!NT_STATUS_IS_OK(nt_status)) { |