summaryrefslogtreecommitdiffstats
path: root/nsswitch
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-02-10 11:04:23 +0100
committerMichael Adam <obnox@samba.org>2011-02-10 13:57:32 +0100
commitecbb2239896ac604bca38c8898c24daf05c151bb (patch)
tree6442209fabdbd5bdaa800e58fd67ec920f68a2e5 /nsswitch
parent75b2a2f999ccf3983d815a4da8e161aa67c9f8a0 (diff)
downloadsamba-ecbb2239896ac604bca38c8898c24daf05c151bb.tar.gz
samba-ecbb2239896ac604bca38c8898c24daf05c151bb.tar.xz
samba-ecbb2239896ac604bca38c8898c24daf05c151bb.zip
Revert "libwbclient: remove wbcRemoveUidMapping() - not implemented any more"
This reverts commit 1ed5961df2da73b61666a4565d0633e34f72d04d. Undo the library version bump.
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/libwbclient/wbc_idmap.c6
-rw-r--r--nsswitch/libwbclient/wbclient.h10
2 files changed, 16 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_idmap.c b/nsswitch/libwbclient/wbc_idmap.c
index 0c5210ae54e..f75c0dcca1e 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 aca9cebe992..d7956b43059 100644
--- a/nsswitch/libwbclient/wbclient.h
+++ b/nsswitch/libwbclient/wbclient.h
@@ -787,6 +787,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
*
* @param gid Gid of the mapping to remove.