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_sh_acct.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_sh_acct.c')
-rw-r--r-- | source3/utils/net_rpc_sh_acct.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/utils/net_rpc_sh_acct.c b/source3/utils/net_rpc_sh_acct.c index ba2a8e28a0..977e1e2a0a 100644 --- a/source3/utils/net_rpc_sh_acct.c +++ b/source3/utils/net_rpc_sh_acct.c @@ -429,22 +429,22 @@ struct rpc_sh_cmd *net_rpc_acct_cmds(struct net_context *c, TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx) { static struct rpc_sh_cmd cmds[9] = { - { "show", NULL, PI_SAMR, rpc_sh_acct_pol_show, + { "show", NULL, &ndr_table_samr.syntax_id, rpc_sh_acct_pol_show, "Show current account policy settings" }, - { "badpw", NULL, PI_SAMR, rpc_sh_acct_set_badpw, + { "badpw", NULL, &ndr_table_samr.syntax_id, rpc_sh_acct_set_badpw, "Set bad password count before lockout" }, - { "lockduration", NULL, PI_SAMR, rpc_sh_acct_set_lockduration, + { "lockduration", NULL, &ndr_table_samr.syntax_id, rpc_sh_acct_set_lockduration, "Set account lockout duration" }, - { "resetduration", NULL, PI_SAMR, + { "resetduration", NULL, &ndr_table_samr.syntax_id, rpc_sh_acct_set_resetduration, "Set bad password count reset duration" }, - { "minpwage", NULL, PI_SAMR, rpc_sh_acct_set_minpwage, + { "minpwage", NULL, &ndr_table_samr.syntax_id, rpc_sh_acct_set_minpwage, "Set minimum password age" }, - { "maxpwage", NULL, PI_SAMR, rpc_sh_acct_set_maxpwage, + { "maxpwage", NULL, &ndr_table_samr.syntax_id, rpc_sh_acct_set_maxpwage, "Set maximum password age" }, - { "minpwlen", NULL, PI_SAMR, rpc_sh_acct_set_minpwlen, + { "minpwlen", NULL, &ndr_table_samr.syntax_id, rpc_sh_acct_set_minpwlen, "Set minimum password length" }, - { "pwhistlen", NULL, PI_SAMR, rpc_sh_acct_set_pwhistlen, + { "pwhistlen", NULL, &ndr_table_samr.syntax_id, rpc_sh_acct_set_pwhistlen, "Set the password history length" }, { NULL, NULL, 0, NULL, NULL } }; |