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

Undo the library version bump.

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

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