From 696fedc7ad26222c94d0ecfda4aa3fa5be2377ca Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 20 Sep 2002 16:59:48 +0000 Subject: Add framework for samtest commands (This used to be commit f1021cbc557bfa0078e932a8268c5c9adcae0ae8) --- source3/torture/samtest.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'source3/torture/samtest.c') 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 }; -- cgit