s3:winbind: Convert WINBINDD_LIST_GROUPS to the new API
[sfrench/samba-autobuild/.git] / source3 / winbindd / winbindd_domain.c
index 5ff2e16abb75923953fe3bbde932698947a5b2b6..107c83ac80866082f5f0a2ab9672878f3e9cbba7 100644 (file)
@@ -30,7 +30,7 @@ static const struct winbindd_child_dispatch_table domain_dispatch_table[];
 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;
@@ -49,18 +49,6 @@ static const struct winbindd_child_dispatch_table domain_dispatch_table[] = {
                .name           = "LOOKUPNAME",
                .struct_cmd     = WINBINDD_LOOKUPNAME,
                .struct_fn      = winbindd_dual_lookupname,
-       },{
-               .name           = "LOOKUPRIDS",
-               .struct_cmd     = WINBINDD_LOOKUPRIDS,
-               .struct_fn      = winbindd_dual_lookuprids,
-       },{
-               .name           = "LIST_USERS",
-               .struct_cmd     = WINBINDD_LIST_USERS,
-               .struct_fn      = winbindd_dual_list_users,
-       },{
-               .name           = "LIST_GROUPS",
-               .struct_cmd     = WINBINDD_LIST_GROUPS,
-               .struct_fn      = winbindd_dual_list_groups,
        },{
                .name           = "LIST_TRUSTDOM",
                .struct_cmd     = WINBINDD_LIST_TRUSTDOM,