winbind: add conditional child dispatch type
[ddiss/samba.git] / source3 / winbindd / winbindd_locator.c
index 59e8614fdbcc9a30807a4389d2bfb07cc131af89..11545703d8cf3bc45aea1bd310f60f8a7dcd8a3f 100644 (file)
@@ -38,11 +38,13 @@ static const struct winbindd_child_dispatch_table locator_dispatch_table[] = {
        {
                .name           = "PING",
                .struct_cmd     = WINBINDD_PING,
-               .struct_fn      = winbindd_dual_ping,
+               .type           = WINBINDD_CHILD_DISPATCH_SYNC,
+               .sync.struct_fn = winbindd_dual_ping,
        },{
                .name           = "NDRCMD",
                .struct_cmd     = WINBINDD_DUAL_NDRCMD,
-               .struct_fn      = winbindd_dual_ndrcmd,
+               .type           = WINBINDD_CHILD_DISPATCH_SYNC,
+               .sync.struct_fn = winbindd_dual_ndrcmd,
        },{
                .name           = NULL,
        }