From 25a0dc44f7e180d96dcccb8701e9817ecfd54955 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 27 Jan 2011 21:54:25 +0100 Subject: libwbclient: remove wbcSetUidMapping() - not implemented any more --- nsswitch/libwbclient/wbc_idmap.c | 6 ------ nsswitch/libwbclient/wbclient.h | 10 ---------- 2 files changed, 16 deletions(-) (limited to 'nsswitch') diff --git a/nsswitch/libwbclient/wbc_idmap.c b/nsswitch/libwbclient/wbc_idmap.c index 3c806d1a93..06320472ae 100644 --- a/nsswitch/libwbclient/wbc_idmap.c +++ b/nsswitch/libwbclient/wbc_idmap.c @@ -267,12 +267,6 @@ wbcErr wbcAllocateGid(gid_t *pgid) return wbc_status; } -/* Set an user id mapping - not implemented any more */ -wbcErr wbcSetUidMapping(uid_t uid, const struct wbcDomainSid *sid) -{ - return WBC_ERR_NOT_IMPLEMENTED; -} - /* Set a group id mapping - not implemented any more */ wbcErr wbcSetGidMapping(gid_t gid, const struct wbcDomainSid *sid) { diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h index 39670ab6ed..9ead457310 100644 --- a/nsswitch/libwbclient/wbclient.h +++ b/nsswitch/libwbclient/wbclient.h @@ -786,16 +786,6 @@ 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