void setup_domain_child(struct winbindd_domain *domain,
struct winbindd_child *child)
{
- setup_child(child, domain_dispatch_table,
+ setup_child(domain, child, domain_dispatch_table,
"log.wb", domain->name);
child->domain = domain;
static const struct winbindd_child_dispatch_table domain_dispatch_table[] = {
{
+ .name = "PING",
+ .struct_cmd = WINBINDD_PING,
+ .struct_fn = winbindd_dual_ping,
+ },{
.name = "LOOKUPSID",
.struct_cmd = WINBINDD_LOOKUPSID,
.struct_fn = winbindd_dual_lookupsid,
.name = "LOOKUPNAME",
.struct_cmd = WINBINDD_LOOKUPNAME,
.struct_fn = winbindd_dual_lookupname,
- },{
- .name = "LOOKUPRIDS",
- .struct_cmd = WINBINDD_LOOKUPRIDS,
- .struct_fn = winbindd_dual_lookuprids,
- },{
- .name = "LIST_GROUPS",
- .struct_cmd = WINBINDD_LIST_GROUPS,
- .struct_fn = winbindd_dual_list_groups,
},{
.name = "LIST_TRUSTDOM",
.struct_cmd = WINBINDD_LIST_TRUSTDOM,
.name = "GETSIDALIASES",
.struct_cmd = WINBINDD_DUAL_GETSIDALIASES,
.struct_fn = winbindd_dual_getsidaliases,
+ },{
+ .name = "GETSIDALIASES",
+ .struct_cmd = WINBINDD_GETSIDALIASES,
+ .struct_fn = winbindd_dual_getsidaliases,
},{
.name = "CCACHE_NTLM_AUTH",
.struct_cmd = WINBINDD_CCACHE_NTLMAUTH,
.struct_fn = winbindd_dual_ccache_ntlm_auth,
+ },{
+ .name = "NDRCMD",
+ .struct_cmd = WINBINDD_DUAL_NDRCMD,
+ .struct_fn = winbindd_dual_ndrcmd,
},{
.name = NULL,
}