libwbclient: unimplement wbcSetGidHwm()
authorMichael Adam <obnox@samba.org>
Thu, 22 Jan 2009 12:39:33 +0000 (13:39 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 14 Aug 2010 00:10:31 +0000 (02:10 +0200)
Michael

nsswitch/libwbclient/wbc_idmap.c

index dc9bf3636941fe1ad9b5dc918b8e8e527d1df33f..232c1ca71ad8cbe507b5147a76d465500b661c10 100644 (file)
@@ -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;
 }