summaryrefslogtreecommitdiff
path: root/source3/utils/net_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_util.c')
-rw-r--r--source3/utils/net_util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/net_util.c b/source3/utils/net_util.c
index 5f66cfa01f..bfa56a7016 100644
--- a/source3/utils/net_util.c
+++ b/source3/utils/net_util.c
@@ -109,6 +109,10 @@ NTSTATUS connect_to_service(struct net_context *c,
flags |= CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS;
}
+ if (c->opt_ccache) {
+ flags |= CLI_FULL_CONNECTION_USE_CCACHE;
+ }
+
nt_status = cli_full_connection(cli_ctx, NULL, server_name,
server_ss, c->opt_port,
service_name, service_type,