diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-20 18:40:31 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-21 14:36:28 +0200 |
commit | d86ff599892608cf739c96e8add9b6ff9f9e5e43 (patch) | |
tree | 752aecc813238ae0f3772054104cd003e597d87a /source3/utils/net_rpc_rights.c | |
parent | f23567fcb9d626c29603430a9cedd899e56ded32 (diff) | |
download | samba-d86ff599892608cf739c96e8add9b6ff9f9e5e43.tar.gz samba-d86ff599892608cf739c96e8add9b6ff9f9e5e43.tar.bz2 samba-d86ff599892608cf739c96e8add9b6ff9f9e5e43.zip |
Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idx
(This used to be commit 85c8363d5179e7053adc05e8abce2fb26cf9b968)
Diffstat (limited to 'source3/utils/net_rpc_rights.c')
-rw-r--r-- | source3/utils/net_rpc_rights.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_rpc_rights.c b/source3/utils/net_rpc_rights.c index 81045c6a7d..2bc5efe3cf 100644 --- a/source3/utils/net_rpc_rights.c +++ b/source3/utils/net_rpc_rights.c @@ -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 } |