diff options
author | Michael Adam <obnox@samba.org> | 2011-02-10 11:04:11 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-02-10 13:57:31 +0100 |
commit | 7a3bc46e7b50331af411678eae2807f4e2569c66 (patch) | |
tree | f12198a4684457785bfb33d999c3c624f17d57b5 /nsswitch/libwbclient | |
parent | 9bc1a7ba1639e4f029058743c548e0f1b102a2ce (diff) | |
download | samba-7a3bc46e7b50331af411678eae2807f4e2569c66.tar.gz samba-7a3bc46e7b50331af411678eae2807f4e2569c66.tar.bz2 samba-7a3bc46e7b50331af411678eae2807f4e2569c66.zip |
Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more"
This reverts commit 68a9b726be84aaaaa340f19e175da448409430b3.
Undo the library version bump.
Diffstat (limited to 'nsswitch/libwbclient')
-rw-r--r-- | nsswitch/libwbclient/wbc_idmap.c | 6 | ||||
-rw-r--r-- | nsswitch/libwbclient/wbclient.h | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_idmap.c b/nsswitch/libwbclient/wbc_idmap.c index c0193ca2dc..caa7916152 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 13f1d99bb7..e1a7f267fd 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 **********************************************************/ |