libwbclient: unimplement wbcSetUidHwm()
authorMichael Adam <obnox@samba.org>
Thu, 22 Jan 2009 12:37:11 +0000 (13:37 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 31 May 2010 15:00:05 +0000 (17:00 +0200)
Michael

nsswitch/libwbclient/wbc_idmap.c

index 318e96317314ba670afd76f66c6631b38165dc7f..a478c6a30dfe2bf3db80a0b65742c36bf9313eb7 100644 (file)
@@ -417,29 +417,10 @@ wbcErr wbcRemoveGidMapping(gid_t gid, const struct wbcDomainSid *sid)
        return wbc_status;
 }
 
-/* Set the highwater mark for allocated uids. */
+/* Set the highwater mark for allocated uids - not implemented any more */
 wbcErr wbcSetUidHwm(uid_t uid_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 = uid_hwm;
-       request.data.dual_idmapset.type = _ID_TYPE_UID;
-
-       wbc_status = wbcRequestResponsePriv(WINBINDD_SET_HWM,
-                                           &request, &response);
-       BAIL_ON_WBC_ERROR(wbc_status);
-
- done:
-       return wbc_status;
+       return WBC_ERR_NOT_IMPLEMENTED;
 }
 
 /* Set the highwater mark for allocated gids. */