Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idx
[kai/samba.git] / source3 / utils / net_rpc_rights.c
index 81045c6a7d912744c4981503635aa6585876cca3..2bc5efe3cf6066a53c9d2d7c3a92ce092db4e319 100644 (file)
@@ -691,13 +691,13 @@ struct rpc_sh_cmd *net_rpc_rights_cmds(struct net_context *c, TALLOC_CTX *mem_ct
 {
        static struct rpc_sh_cmd cmds[] = {
 
-       { "list", NULL, PI_LSARPC, rpc_sh_rights_list,
+       { "list", NULL, &ndr_table_lsarpc.syntax_id, rpc_sh_rights_list,
          "View available or assigned privileges" },
 
-       { "grant", NULL, PI_LSARPC, rpc_sh_rights_grant,
+       { "grant", NULL, &ndr_table_lsarpc.syntax_id, rpc_sh_rights_grant,
          "Assign privilege[s]" },
 
-       { "revoke", NULL, PI_LSARPC, rpc_sh_rights_revoke,
+       { "revoke", NULL, &ndr_table_lsarpc.syntax_id, rpc_sh_rights_revoke,
          "Revoke privilege[s]" },
 
        { NULL, NULL, 0, NULL, NULL }