summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient/wbclient.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-09 20:20:36 +0100
committerVolker Lendecke <vl@samba.org>2010-01-24 20:32:16 +0100
commit7d18d058a1203ab7079f9dbdf37962803064d699 (patch)
tree44b5e54adfe02dccd954570ad5993c3dceed9475 /nsswitch/libwbclient/wbclient.h
parent185815a6472a7a09602b3c51198e20257241dfa7 (diff)
downloadsamba-7d18d058a1203ab7079f9dbdf37962803064d699.tar.gz
samba-7d18d058a1203ab7079f9dbdf37962803064d699.tar.bz2
samba-7d18d058a1203ab7079f9dbdf37962803064d699.zip
s3: Add wbinfo --ccache-save
With this command you can give winbind your password for later use by the automatic ntlm_auth
Diffstat (limited to 'nsswitch/libwbclient/wbclient.h')
-rw-r--r--nsswitch/libwbclient/wbclient.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h
index 33a4ace75c..06f0713c86 100644
--- a/nsswitch/libwbclient/wbclient.h
+++ b/nsswitch/libwbclient/wbclient.h
@@ -1164,6 +1164,16 @@ wbcErr wbcCredentialCache(struct wbcCredentialCacheParams *params,
struct wbcCredentialCacheInfo **info,
struct wbcAuthErrorInfo **error);
+/**
+ * @brief Save a password with winbind for doing wbcCredentialCache() later
+ *
+ * @param *user Username
+ * @param *password Password
+ *
+ * @return #wbcErr
+ **/
+wbcErr wbcCredentialSave(const char *user, const char *password);
+
/**********************************************************
* Resolve functions
**********************************************************/