extern bool override_logfile;
-static struct winbindd_child *winbindd_children = NULL;
-
static void forall_domain_children(bool (*fn)(struct winbindd_child *c,
void *private_data),
void *private_data)
*/
close(state->child->sock);
state->child->sock = -1;
- DLIST_REMOVE(winbindd_children, state->child);
}
static struct winbindd_child *choose_domain_child(struct winbindd_domain *domain)
return;
}
- /* This will be re-added in fork_domain_child() */
-
- DLIST_REMOVE(winbindd_children, state.child);
state.child->pid = 0;
if (state.child->sock != -1) {
return false;
}
- child->next = child->prev = NULL;
- DLIST_ADD(winbindd_children, child);
child->sock = fdpair[1];
return True;
}
{
ndr_print_struct(ndr, name, "winbindd_child");
ndr->depth++;
- ndr_print_ptr(ndr, "next", r->next);
- ndr_print_ptr(ndr, "prev", r->prev);
ndr_print_uint32(ndr, "pid", (uint32_t)r->pid);
#if 0
ndr_print_winbindd_domain(ndr, "domain", r->domain);