struct wb_uid2sid_state {
struct tevent_context *ev;
- char *dom_name;
struct dom_sid sid;
};
{
struct tevent_req *req, *subreq;
struct wb_uid2sid_state *state;
- struct winbindd_domain *domain;
struct winbindd_child *child;
bool expired;
}
}
- state->dom_name = NULL;
-
- for (domain = domain_list(); domain != NULL; domain = domain->next) {
- if (domain->have_idmap_config
- && (uid >= domain->id_range_low)
- && (uid <= domain->id_range_high)) {
- state->dom_name = domain->name;
- break;
- }
- }
-
child = idmap_child();
subreq = dcerpc_wbint_Uid2Sid_send(