Revert "libwbclient: remove wbcRemoveGidMapping() - not implemented any more"
authorMichael Adam <obnox@samba.org>
Thu, 10 Feb 2011 10:04:19 +0000 (11:04 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 10 Feb 2011 12:57:32 +0000 (13:57 +0100)
This reverts commit 393c866c517636e94b48ca6030a57b712892d568.

Undo the library version bump.

nsswitch/libwbclient/wbc_idmap.c
nsswitch/libwbclient/wbclient.h

index d9311c4e07aa0e15b6b75a40be8dfe5e15c6639a..0c5210ae54eab26eadba8875e2b3c00a6a73311c 100644 (file)
@@ -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)
 {
index 96d6e687f5da3d5d9bdd484576ac0d36706a1f97..aca9cebe992d2449155ea0234a39af5cd7e0e512 100644 (file)
@@ -786,6 +786,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.
  *