s3:winbind: Convert the GETDCNAME routines to the new API
[gd/samba/.git] / source3 / winbindd / winbindd.c
index 6485f1734c28a0c7381e5c9154c0c7f1811fe047..a57412ab1480d12114e1517bf12ce300e31e0f44 100644 (file)
@@ -470,7 +470,6 @@ static struct winbindd_dispatch_table {
        { WINBINDD_NETBIOS_NAME, winbindd_netbios_name, "NETBIOS_NAME" },
        { WINBINDD_PRIV_PIPE_DIR, winbindd_priv_pipe_dir,
          "WINBINDD_PRIV_PIPE_DIR" },
-       { WINBINDD_GETDCNAME, winbindd_getdcname, "GETDCNAME" },
 
        /* Credential cache access */
        { WINBINDD_CCACHE_NTLMAUTH, winbindd_ccache_ntlm_auth, "NTLMAUTH" },
@@ -539,6 +538,8 @@ static struct winbindd_async_dispatch_table async_nonpriv_table[] = {
          winbindd_endpwent_send, winbindd_endpwent_recv },
        { WINBINDD_DSGETDCNAME, "DSGETDCNAME",
          winbindd_dsgetdcname_send, winbindd_dsgetdcname_recv },
+       { WINBINDD_GETDCNAME, "GETDCNAME",
+         winbindd_getdcname_send, winbindd_getdcname_recv },
 
        { 0, NULL, NULL, NULL }
 };