summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-24 19:24:10 +0100
committerVolker Lendecke <vl@samba.org>2010-01-24 20:32:17 +0100
commit4eb1523d87e4ed1bcc5b1ec64da0b53ce2264000 (patch)
tree9a055dd6b0d22d1805aca5660332c8fee2161480 /source3/include
parentdc1bcec73cb3c895ebd84614cc5a14ca0eae0505 (diff)
downloadsamba-4eb1523d87e4ed1bcc5b1ec64da0b53ce2264000.tar.gz
samba-4eb1523d87e4ed1bcc5b1ec64da0b53ce2264000.tar.bz2
samba-4eb1523d87e4ed1bcc5b1ec64da0b53ce2264000.zip
s3-libsmbclient: Add smbc_setOptionUseCCache()
Can we enable this by default? This would be a change in behaviour, but this feature is just too cool for everyone to catch up in the apps. The patch would be
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/libsmbclient.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
index 7de5000615..dd6f93e261 100644
--- a/source3/include/libsmbclient.h
+++ b/source3/include/libsmbclient.h
@@ -263,10 +263,13 @@ typedef struct _SMBCCTX SMBCCTX;
* smbc_getOptionFallbackAFterKerberos()
* smbc_setOptionNoAutoAnonymousLogin()
* smbc_getOptionNoAutoAnonymousLogin()
+ * smbc_setOptionUseCCache()
+ * smbc_getOptionUseCCache()
*/
# define SMB_CTX_FLAG_USE_KERBEROS (1 << 0)
# define SMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS (1 << 1)
# define SMBCCTX_FLAG_NO_AUTO_ANONYMOUS_LOGON (1 << 2)
+# define SMB_CTX_FLAG_USE_CCACHE (1 << 3)
@@ -732,6 +735,14 @@ smbc_getOptionNoAutoAnonymousLogin(SMBCCTX *c);
void
smbc_setOptionNoAutoAnonymousLogin(SMBCCTX *c, smbc_bool b);
+/** Get whether to enable use of the winbind ccache */
+smbc_bool
+smbc_getOptionUseCCache(SMBCCTX *c);
+
+/** Set whether to enable use of the winbind ccache */
+void
+smbc_setOptionUseCCache(SMBCCTX *c, smbc_bool b);
+
/*************************************