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

Undo the library version bump.

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

index f75c0dcca1e258976347900d947582825ea5a631..06320472ae0bc3f9e0906c95df110bf59980179e 100644 (file)
@@ -267,6 +267,12 @@ wbcErr wbcAllocateGid(gid_t *pgid)
        return wbc_status;
 }
 
+/* Set a group id mapping - not implemented any more */
+wbcErr wbcSetGidMapping(gid_t gid, const struct wbcDomainSid *sid)
+{
+       return WBC_ERR_NOT_IMPLEMENTED;
+}
+
 /* Remove a user id mapping - not implemented any more */
 wbcErr wbcRemoveUidMapping(uid_t uid, const struct wbcDomainSid *sid)
 {
index d7956b4305975c0e4977134da0d03648e1be9472..9ead4573108d476b98037faa3ad53ff04ed5676b 100644 (file)
@@ -786,6 +786,16 @@ wbcErr wbcAllocateUid(uid_t *puid);
  **/
 wbcErr wbcAllocateGid(gid_t *pgid);
 
+/**
+ * @brief Set a group id mapping
+ *
+ * @param gid       Gid of the desired mapping.
+ * @param *sid      Pointer to the sid of the diresired mapping.
+ *
+ * @return #wbcErr
+ **/
+wbcErr wbcSetGidMapping(gid_t gid, const struct wbcDomainSid *sid);
+
 /**
  * @brief Remove a user id mapping
  *