s3:winbind: Convert WINBINDD_GETGRGID to the new API
[metze/samba/wip.git] / source3 / winbindd / winbindd.c
index 3dfdb03374cabb94f1df4594e8f09ba45ff42dda..bbcfede030b217a8da934d76be561801495a6e9c 100644 (file)
@@ -436,7 +436,6 @@ static struct winbindd_dispatch_table {
        /* Group functions */
 
        { WINBINDD_GETGRNAM, winbindd_getgrnam, "GETGRNAM" },
-       { WINBINDD_GETGRGID, winbindd_getgrgid, "GETGRGID" },
        { WINBINDD_SETGRENT, winbindd_setgrent, "SETGRENT" },
        { WINBINDD_ENDGRENT, winbindd_endgrent, "ENDGRENT" },
        { WINBINDD_GETGRENT, winbindd_getgrent, "GETGRENT" },
@@ -535,6 +534,8 @@ static struct winbindd_async_dispatch_table async_nonpriv_table[] = {
          winbindd_getgroups_send, winbindd_getgroups_recv },
        { WINBINDD_SHOW_SEQUENCE, "SHOW_SEQUENCE",
          winbindd_show_sequence_send, winbindd_show_sequence_recv },
+       { WINBINDD_GETGRGID, "GETGRGID",
+         winbindd_getgrgid_send, winbindd_getgrgid_recv },
 
        { 0, NULL, NULL, NULL }
 };