static void wb_gettoken_gotuser(struct tevent_req *subreq);
static void wb_gettoken_gotgroups(struct tevent_req *subreq);
+static void wb_gettoken_trylocalgroups(struct tevent_req *req);
static void wb_gettoken_gotlocalgroups(struct tevent_req *subreq);
static void wb_gettoken_gotbuiltins(struct tevent_req *subreq);
req, struct wb_gettoken_state);
uint32_t i, num_groups;
struct dom_sid *groups;
- struct winbindd_domain *domain;
NTSTATUS status;
struct dom_sid_buf buf;
}
}
+ wb_gettoken_trylocalgroups(req);
+}
+
+static void wb_gettoken_trylocalgroups(struct tevent_req *req)
+{
+ struct wb_gettoken_state *state = tevent_req_data(
+ req, struct wb_gettoken_state);
+ struct winbindd_domain *domain = NULL;
+ struct tevent_req *subreq = NULL;
+
if (!state->expand_local_aliases) {
D_DEBUG("Done. Not asked to expand local aliases.\n");
tevent_req_done(req);