git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca48d6a
)
s3: Enable -C in rpcclient
author
Volker Lendecke
<vl@samba.org>
Sun, 24 Jan 2010 16:35:04 +0000
(17:35 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 24 Jan 2010 19:32:17 +0000
(20:32 +0100)
source3/rpcclient/rpcclient.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/rpcclient.c
b/source3/rpcclient/rpcclient.c
index f6d56adecec4bbc63f7abc0173ec986eacebb437..e24538b8044a2909984eeece7227601be5b1e402 100644
(file)
--- 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);