summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient/wbclient.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-02-10 11:04:27 +0100
committerMichael Adam <obnox@samba.org>2011-02-10 13:57:32 +0100
commit1f4a06e64f489f8df7b43775530b98f4bd222eb9 (patch)
tree963a29c46eda21466695080e0413a1f8e25e5208 /nsswitch/libwbclient/wbclient.h
parentecbb2239896ac604bca38c8898c24daf05c151bb (diff)
downloadsamba-1f4a06e64f489f8df7b43775530b98f4bd222eb9.tar.gz
samba-1f4a06e64f489f8df7b43775530b98f4bd222eb9.tar.bz2
samba-1f4a06e64f489f8df7b43775530b98f4bd222eb9.zip
Revert "libwbclient: remove wbcSetGidMapping() - not implemented any more"
This reverts commit 52e1be2139d370bf0ce99371bc9ab73db41c6236. Undo the library version bump.
Diffstat (limited to 'nsswitch/libwbclient/wbclient.h')
-rw-r--r--nsswitch/libwbclient/wbclient.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h
index d7956b4305..9ead457310 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 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
*
* @param uid Uid of the mapping to remove.