diff options
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)) { |