summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-02-10 11:04:19 +0100
committerMichael Adam <obnox@samba.org>2011-02-10 13:57:32 +0100
commit75b2a2f999ccf3983d815a4da8e161aa67c9f8a0 (patch)
tree4efec89235add931a06fb5d57c4c19e8b0af738f /nsswitch/libwbclient
parent748cccde42da69cceb4d748887c142919b77cb47 (diff)
downloadsamba-75b2a2f999ccf3983d815a4da8e161aa67c9f8a0.tar.gz
samba-75b2a2f999ccf3983d815a4da8e161aa67c9f8a0.tar.bz2
samba-75b2a2f999ccf3983d815a4da8e161aa67c9f8a0.zip
Revert "libwbclient: remove wbcRemoveGidMapping() - not implemented any more"
This reverts commit 393c866c517636e94b48ca6030a57b712892d568. Undo the library version bump.
Diffstat (limited to 'nsswitch/libwbclient')
-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 d9311c4e07..0c5210ae54 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 group id mapping - not implemented any more */
+wbcErr wbcRemoveGidMapping(gid_t gid, const struct wbcDomainSid *sid)
+{
+ return WBC_ERR_NOT_IMPLEMENTED;
+}
+
/* Set the highwater mark for allocated uids - not implemented any more */
wbcErr wbcSetUidHwm(uid_t uid_hwm)
{
diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h
index 96d6e687f5..aca9cebe99 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 group id mapping
+ *
+ * @param gid Gid of the mapping to remove.
+ * @param *sid Pointer to the sid of the mapping to remove.
+ *
+ * @return #wbcErr
+ **/
+wbcErr wbcRemoveGidMapping(gid_t gid, const struct wbcDomainSid *sid);
+
+/**
* @brief Set the highwater mark for allocated uids.
*
* @param uid_hwm The new uid highwater mark value