diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-09-20 16:59:48 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-09-20 16:59:48 +0000 |
commit | 696fedc7ad26222c94d0ecfda4aa3fa5be2377ca (patch) | |
tree | 057c541afd30003e762c0242448ce1ac68312456 /source3/torture/samtest.c | |
parent | 3c1c9ac22825c2ca1ce3f7fca10047df3ebda8e5 (diff) | |
download | samba-696fedc7ad26222c94d0ecfda4aa3fa5be2377ca.tar.gz samba-696fedc7ad26222c94d0ecfda4aa3fa5be2377ca.tar.bz2 samba-696fedc7ad26222c94d0ecfda4aa3fa5be2377ca.zip |
Add framework for samtest commands
(This used to be commit f1021cbc557bfa0078e932a8268c5c9adcae0ae8)
Diffstat (limited to 'source3/torture/samtest.c')
-rw-r--r-- | source3/torture/samtest.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/source3/torture/samtest.c b/source3/torture/samtest.c index 3ac65ef0df..0275e0f002 100644 --- a/source3/torture/samtest.c +++ b/source3/torture/samtest.c @@ -100,7 +100,7 @@ static NTSTATUS cmd_help(struct sam_context *sam, TALLOC_CTX *mem_ctx, while(tmp_set->name) { - printf("%15s\t\t%s\n", tmp_set->name, + printf("%20s\t%s\n", tmp_set->name, tmp_set->description ? tmp_set->description: ""); @@ -157,10 +157,16 @@ static struct cmd_set separator_command[] = { /*extern struct cmd_set sam_commands[];*/ -extern struct cmd_set sam_commands[]; +extern struct cmd_set sam_general_commands[]; +extern struct cmd_set sam_domain_commands[]; +extern struct cmd_set sam_account_commands[]; +extern struct cmd_set sam_group_commands[]; static struct cmd_set *samtest_command_list[] = { samtest_commands, - sam_commands, + sam_general_commands, + sam_domain_commands, + sam_account_commands, + sam_group_commands, NULL }; |