diff options
author | Michael Adam <obnox@samba.org> | 2011-02-10 11:04:15 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-02-10 13:57:32 +0100 |
commit | 748cccde42da69cceb4d748887c142919b77cb47 (patch) | |
tree | 60f67521ee4564b1ceaf2832fcbb6d57ae48d9ba /nsswitch/libwbclient | |
parent | 7a3bc46e7b50331af411678eae2807f4e2569c66 (diff) | |
download | samba-748cccde42da69cceb4d748887c142919b77cb47.tar.gz samba-748cccde42da69cceb4d748887c142919b77cb47.tar.bz2 samba-748cccde42da69cceb4d748887c142919b77cb47.zip |
Revert "libwbclient: remove wbcSetUidHwm() - not implemented any more"
This reverts commit 6558323c84cdd929716c59ba66d2ae6b699931d2.
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 caa7916152..d9311c4e07 100644 --- a/nsswitch/libwbclient/wbc_idmap.c +++ b/nsswitch/libwbclient/wbc_idmap.c @@ -267,6 +267,12 @@ wbcErr wbcAllocateGid(gid_t *pgid) return wbc_status; } +/* Set the highwater mark for allocated uids - not implemented any more */ +wbcErr wbcSetUidHwm(uid_t uid_hwm) +{ + return WBC_ERR_NOT_IMPLEMENTED; +} + /* Set the highwater mark for allocated gids - not implemented any more */ wbcErr wbcSetGidHwm(gid_t gid_hwm) { diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h index e1a7f267fd..96d6e687f5 100644 --- a/nsswitch/libwbclient/wbclient.h +++ b/nsswitch/libwbclient/wbclient.h @@ -787,6 +787,15 @@ wbcErr wbcAllocateUid(uid_t *puid); wbcErr wbcAllocateGid(gid_t *pgid); /** + * @brief Set the highwater mark for allocated uids. + * + * @param uid_hwm The new uid highwater mark value + * + * @return #wbcErr + **/ +wbcErr wbcSetUidHwm(uid_t uid_hwm); + +/** * @brief Set the highwater mark for allocated gids. * * @param gid_hwm The new gid highwater mark value |