Revert "libwbclient: remove wbcSetUidMapping() - not implemented any more"
authorMichael Adam <obnox@samba.org>
Thu, 10 Feb 2011 10:04:32 +0000 (11:04 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 10 Feb 2011 13:50:40 +0000 (14:50 +0100)
This reverts commit 25a0dc44f7e180d96dcccb8701e9817ecfd54955.

Undo the library version bump.

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

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