}
state->cfg->num_doms = 0;
+ state->cfg->initialized = false;
TALLOC_FREE(state->cfg->doms);
state->cfg = NULL;
}
.dom_idx = 0,
};
+ if (state->cfg->initialized) {
+ tevent_req_done(req);
+ return tevent_req_post(req, ev);
+ }
+
if (state->cfg->queue == NULL) {
state->cfg->queue = tevent_queue_create(NULL,
"wb_parent_idmap_config_queue");
* We're done, so start the idmap child
*/
setup_child(NULL, &static_idmap_child, "log.winbindd", "idmap");
+ static_parent_idmap_config.initialized = true;
tevent_req_done(req);
return;
}