From 7dca8bcbb9f1d95a8eeae066e944d5ea4a17aabb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 10 Feb 2011 11:04:32 +0100 Subject: Revert "libwbclient: remove wbcSetUidMapping() - not implemented any more" This reverts commit 25a0dc44f7e180d96dcccb8701e9817ecfd54955. Undo the library version bump. --- nsswitch/libwbclient/wbclient.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nsswitch/libwbclient/wbclient.h') diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h index 9ead457310..39670ab6ed 100644 --- a/nsswitch/libwbclient/wbclient.h +++ b/nsswitch/libwbclient/wbclient.h @@ -786,6 +786,16 @@ wbcErr wbcAllocateUid(uid_t *puid); **/ wbcErr wbcAllocateGid(gid_t *pgid); +/** + * @brief Set an user id mapping + * + * @param uid Uid of the desired mapping. + * @param *sid Pointer to the sid of the diresired mapping. + * + * @return #wbcErr + **/ +wbcErr wbcSetUidMapping(uid_t uid, const struct wbcDomainSid *sid); + /** * @brief Set a group id mapping * -- cgit