diff options
author | Günther Deschner <gd@samba.org> | 2008-08-15 13:53:23 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-10 15:36:43 +0200 |
commit | f33f888de708767b9682202701063fb86250a36e (patch) | |
tree | 1281685a7a009efae6b5668d7518df68f99df670 /source3/nsswitch/libwbclient/wbclient.h | |
parent | be6e21f9ead06da64f6f96c125612dd4854c0fc4 (diff) | |
download | samba-f33f888de708767b9682202701063fb86250a36e.tar.gz samba-f33f888de708767b9682202701063fb86250a36e.tar.bz2 samba-f33f888de708767b9682202701063fb86250a36e.zip |
libwbclient: add wbcLogoffUserEx().
Guenther
Diffstat (limited to 'source3/nsswitch/libwbclient/wbclient.h')
-rw-r--r-- | source3/nsswitch/libwbclient/wbclient.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/nsswitch/libwbclient/wbclient.h b/source3/nsswitch/libwbclient/wbclient.h index 5c184ebe46..c8e62daf72 100644 --- a/source3/nsswitch/libwbclient/wbclient.h +++ b/source3/nsswitch/libwbclient/wbclient.h @@ -404,6 +404,16 @@ enum wbcPasswordChangeRejectReason { WBC_PWD_CHANGE_REJECT_COMPLEXITY=5 }; +/** + * @brief Logoff User Parameters + **/ + +struct wbcLogoffUserParams { + const char *username; + size_t num_blobs; + struct wbcNamedBlob *blobs; +}; + /* * DomainControllerInfo struct */ @@ -607,6 +617,9 @@ wbcErr wbcLogoffUser(const char *username, uid_t uid, const char *ccfilename); +wbcErr wbcLogoffUserEx(const struct wbcLogoffUserParams *params, + struct wbcAuthErrorInfo **error); + wbcErr wbcChangeUserPassword(const char *username, const char *old_password, const char *new_password); |