subreq, struct tevent_req);
struct wb_gettoken_state *state = tevent_req_data(
req, struct wb_gettoken_state);
- int i, num_groups;
+ uint32_t i, num_groups;
struct dom_sid *groups;
struct winbindd_domain *domain;
NTSTATUS status;
}
NTSTATUS wb_gettoken_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
- int *num_sids, struct dom_sid **sids)
+ uint32_t *num_sids, struct dom_sid **sids)
{
struct wb_gettoken_state *state = tevent_req_data(
req, struct wb_gettoken_state);
NTSTATUS status;
- int i;
+ uint32_t i;
if (tevent_req_is_nterror(req, &status)) {
return status;
fstring username;
struct dom_sid sid;
enum lsa_SidType type;
- int num_sids;
+ uint32_t num_sids;
struct dom_sid *sids;
int num_gids;
gid_t *gids;
req, struct winbindd_getgroups_state);
NTSTATUS status;
struct unixid *xids;
- int i;
+ uint32_t i;
xids = talloc_array(state, struct unixid, state->num_sids);
if (tevent_req_nomem(xids, req)) {
const struct dom_sid *sid,
bool expand_local_aliases);
NTSTATUS wb_gettoken_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
- int *num_sids, struct dom_sid **sids);
+ uint32_t *num_sids, struct dom_sid **sids);
struct tevent_req *winbindd_getgroups_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct winbindd_cli_state *cli,