diff options
author | Volker Lendecke <vl@samba.org> | 2010-01-09 20:20:36 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-01-24 20:32:16 +0100 |
commit | 7d18d058a1203ab7079f9dbdf37962803064d699 (patch) | |
tree | 44b5e54adfe02dccd954570ad5993c3dceed9475 /nsswitch/libwbclient/wbclient.h | |
parent | 185815a6472a7a09602b3c51198e20257241dfa7 (diff) | |
download | samba-7d18d058a1203ab7079f9dbdf37962803064d699.tar.gz samba-7d18d058a1203ab7079f9dbdf37962803064d699.tar.xz 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.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h index 33a4ace75c9..06f0713c860 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 **********************************************************/ |