summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-24 17:07:24 +0100
committerVolker Lendecke <vl@samba.org>2010-01-24 20:32:17 +0100
commit21ec6a6cbd358f36aa9bf5974c5c53b8732cdceb (patch)
treecd5ea964d1f0ded20e8e7775003e8266602f1828 /source3/lib/util.c
parenta03a83ad26b2cfa571b18f423915312c29fd33c7 (diff)
downloadsamba-21ec6a6cbd358f36aa9bf5974c5c53b8732cdceb.tar.gz
samba-21ec6a6cbd358f36aa9bf5974c5c53b8732cdceb.tar.bz2
samba-21ec6a6cbd358f36aa9bf5974c5c53b8732cdceb.zip
s3: Add -C (--use-ccache) to popt_common_credentials
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 007226b5c9..932b5dbd40 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -382,6 +382,16 @@ int get_cmdline_auth_info_signing_state(const struct user_auth_info *auth_info)
return auth_info->signing_state;
}
+void set_cmdline_auth_info_use_ccache(struct user_auth_info *auth_info, bool b)
+{
+ auth_info->use_ccache = b;
+}
+
+bool get_cmdline_auth_info_use_ccache(const struct user_auth_info *auth_info)
+{
+ return auth_info->use_ccache;
+}
+
void set_cmdline_auth_info_use_kerberos(struct user_auth_info *auth_info,
bool b)
{