1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idx

(This used to be commit 85c8363d51)
This commit is contained in:
Volker Lendecke
2008-07-20 18:40:31 +02:00
parent f23567fcb9
commit d86ff59989
5 changed files with 31 additions and 32 deletions

View 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 }