summaryrefslogtreecommitdiff
path: root/source3/lib/util_cmdline.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-11-14 09:31:51 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-12-02 19:23:05 +0100
commit1e148a91fd20053f823b57e19d757665fa30c53d (patch)
treefc8794f8a7270ccf157bde359a975c3fc8a12efd /source3/lib/util_cmdline.c
parent1e32ada8ec1a2699caa1e813782cfc8a1c50f690 (diff)
downloadsamba-1e148a91fd20053f823b57e19d757665fa30c53d.tar.gz
s3-lib: Do not require a password with --use-ccache.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10279 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source3/lib/util_cmdline.c')
-rw-r--r--source3/lib/util_cmdline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/util_cmdline.c b/source3/lib/util_cmdline.c
index d15f32535bf..80c3ecdb462 100644
--- a/source3/lib/util_cmdline.c
+++ b/source3/lib/util_cmdline.c
@@ -251,7 +251,8 @@ void set_cmdline_auth_info_getpass(struct user_auth_info *auth_info)
TALLOC_CTX *frame;
if (get_cmdline_auth_info_got_pass(auth_info) ||
- get_cmdline_auth_info_use_kerberos(auth_info)) {
+ get_cmdline_auth_info_use_ccache(auth_info) ||
+ get_cmdline_auth_info_use_kerberos(auth_info)) {
/* Already got one... */
return;
}