From: Michael Adam Date: Thu, 10 Feb 2011 10:04:11 +0000 (+0100) Subject: Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more" X-Git-Tag: tevent-0.9.11~777 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=7a3bc46e7b50331af411678eae2807f4e2569c66;p=samba.git Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more" This reverts commit 68a9b726be84aaaaa340f19e175da448409430b3. Undo the library version bump. --- diff --git a/nsswitch/libwbclient/wbc_idmap.c b/nsswitch/libwbclient/wbc_idmap.c index c0193ca2dc3..caa79161525 100644 --- a/nsswitch/libwbclient/wbc_idmap.c +++ b/nsswitch/libwbclient/wbc_idmap.c @@ -266,3 +266,9 @@ wbcErr wbcAllocateGid(gid_t *pgid) done: return wbc_status; } + +/* Set the highwater mark for allocated gids - not implemented any more */ +wbcErr wbcSetGidHwm(gid_t gid_hwm) +{ + return WBC_ERR_NOT_IMPLEMENTED; +} diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h index 13f1d99bb70..e1a7f267fd9 100644 --- a/nsswitch/libwbclient/wbclient.h +++ b/nsswitch/libwbclient/wbclient.h @@ -786,6 +786,15 @@ wbcErr wbcAllocateUid(uid_t *puid); **/ wbcErr wbcAllocateGid(gid_t *pgid); +/** + * @brief Set the highwater mark for allocated gids. + * + * @param gid_hwm The new gid highwater mark value + * + * @return #wbcErr + **/ +wbcErr wbcSetGidHwm(gid_t gid_hwm); + /********************************************************** * NSS Lookup User/Group details **********************************************************/