From ec33a624a395d6108e47a4eef9430626ec83b314 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 22 Jan 2009 13:39:33 +0100 Subject: libwbclient: unimplement wbcSetGidHwm() Michael --- nsswitch/libwbclient/wbc_idmap.c | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/nsswitch/libwbclient/wbc_idmap.c b/nsswitch/libwbclient/wbc_idmap.c index dc9bf36369..232c1ca71a 100644 --- a/nsswitch/libwbclient/wbc_idmap.c +++ b/nsswitch/libwbclient/wbc_idmap.c @@ -425,27 +425,8 @@ wbcErr wbcSetUidHwm(uid_t uid_hwm) return WBC_ERR_NOT_IMPLEMENTED; } -/* Set the highwater mark for allocated gids. */ +/* Set the highwater mark for allocated gids - not implemented any more */ wbcErr wbcSetGidHwm(gid_t gid_hwm) { - struct winbindd_request request; - struct winbindd_response response; - wbcErr wbc_status = WBC_ERR_UNKNOWN_FAILURE; - - /* Initialise request */ - - ZERO_STRUCT(request); - ZERO_STRUCT(response); - - /* Make request */ - - request.data.dual_idmapset.id = gid_hwm; - request.data.dual_idmapset.type = _ID_TYPE_GID; - - wbc_status = wbcRequestResponsePriv(WINBINDD_SET_HWM, - &request, &response); - BAIL_ON_WBC_ERROR(wbc_status); - - done: - return wbc_status; + return WBC_ERR_NOT_IMPLEMENTED; } -- cgit