From b7b27a9f173d0e4a642ac282c0d840b42436b1b5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 5 Nov 2002 18:30:47 +0000 Subject: Tell popt this command requires 1 'normal' argument and has two optional 'normal' parameters (This used to be commit b4f00ceaadc77158870ea2bd9d8a0e0845c89b7a) --- source3/utils/testparm.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/utils') diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index c92692fda2..451a15992b 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -168,6 +168,12 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ printf("'winbind separator = +' might cause problems with group membership.\n"); } +#ifndef HAVE_DLOPEN + if (lp_modules() != NULL) { + printf("'modules = ' specified in configuration file, but this samba build does not support plugins!\n"); + } +#endif + if (lp_algorithmic_rid_base() < BASE_RID) { /* Try to prevent admin foot-shooting, we can't put algorithmic rids below 1000, that's the 'well known RIDs' on NT */ @@ -208,6 +214,7 @@ int main(int argc, const char *argv[]) pc = poptGetContext(NULL, argc, argv, long_options, POPT_CONTEXT_KEEP_FIRST); + poptSetOtherOptionHelp(pc, "[OPTION...] [host-name] [host-ip]"); while((opt = poptGetNextOpt(pc)) != -1); -- cgit