From ecbb2239896ac604bca38c8898c24daf05c151bb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 10 Feb 2011 11:04:23 +0100 Subject: Revert "libwbclient: remove wbcRemoveUidMapping() - not implemented any more" This reverts commit 1ed5961df2da73b61666a4565d0633e34f72d04d. Undo the library version bump. --- nsswitch/libwbclient/wbc_idmap.c | 6 ++++++ nsswitch/libwbclient/wbclient.h | 10 ++++++++++ 2 files changed, 16 insertions(+) (limited to 'nsswitch') diff --git a/nsswitch/libwbclient/wbc_idmap.c b/nsswitch/libwbclient/wbc_idmap.c index 0c5210ae54..f75c0dcca1 100644 --- a/nsswitch/libwbclient/wbc_idmap.c +++ b/nsswitch/libwbclient/wbc_idmap.c @@ -267,6 +267,12 @@ wbcErr wbcAllocateGid(gid_t *pgid) return wbc_status; } +/* Remove a user id mapping - not implemented any more */ +wbcErr wbcRemoveUidMapping(uid_t uid, const struct wbcDomainSid *sid) +{ + return WBC_ERR_NOT_IMPLEMENTED; +} + /* Remove a group id mapping - not implemented any more */ wbcErr wbcRemoveGidMapping(gid_t gid, const struct wbcDomainSid *sid) { diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h index aca9cebe99..d7956b4305 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 Remove a user id mapping + * + * @param uid Uid of the mapping to remove. + * @param *sid Pointer to the sid of the mapping to remove. + * + * @return #wbcErr + **/ +wbcErr wbcRemoveUidMapping(uid_t uid, const struct wbcDomainSid *sid); + /** * @brief Remove a group id mapping * -- cgit