.name = "DUAL_SET_HWMS",
.struct_cmd = WINBINDD_DUAL_SET_HWM,
.struct_fn = winbindd_dual_set_hwm,
- },{
- .name = "ALLOCATE_GID",
- .struct_cmd = WINBINDD_ALLOCATE_GID,
- .struct_fn = winbindd_dual_allocate_gid,
},{
.name = "NDR_WINBIND_GET_IDMAP",
.ndr_opnum = NDR_WINBIND_GET_IDMAP,
request_error(state);
return;
}
-
-enum winbindd_result winbindd_dual_allocate_gid(struct winbindd_domain *domain,
- struct winbindd_cli_state *state)
-{
- struct unixid xid;
-
- if (!NT_STATUS_IS_OK(idmap_allocate_gid(&xid))) {
- return WINBINDD_ERROR;
- }
- state->response.data.gid = xid.id;
- return WINBINDD_OK;
-}