summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-24 17:35:04 +0100
committerVolker Lendecke <vl@samba.org>2010-01-24 20:32:17 +0100
commitb8996baba613edd1e50bffa87647c41e03b08db3 (patch)
tree7938d0a0fe8e0f37e097f8f26d8b53d00ec45bbc /source3
parentca48d6ab778a49f7676b27a7df054d75f4c819c1 (diff)
downloadsamba-b8996baba613edd1e50bffa87647c41e03b08db3.tar.gz
samba-b8996baba613edd1e50bffa87647c41e03b08db3.tar.bz2
samba-b8996baba613edd1e50bffa87647c41e03b08db3.zip
s3: Enable -C in rpcclient
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/rpcclient.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index f6d56adece..e24538b804 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -988,6 +988,9 @@ out_free:
flags |= CLI_FULL_CONNECTION_USE_KERBEROS |
CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS;
}
+ if (get_cmdline_auth_info_use_ccache(rpcclient_auth_info)) {
+ flags |= CLI_FULL_CONNECTION_USE_CCACHE;
+ }
user = talloc_strdup(frame, get_cmdline_auth_info_username(rpcclient_auth_info));
SMB_ASSERT(user != NULL);