From 7fcbdf00f6bba44d44e560176468605311e81d67 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 14 Apr 2003 22:23:02 +0000 Subject: Add some more functions for the modules (backport from HEAD): - init_modules() - smb_probe_module() (This used to be commit b3328dab2fa069af300b4076695bf6c359501111) --- source3/utils/testparm.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/utils/testparm.c') diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index 5f3a7de1c7..56d13a5fd9 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -177,6 +177,12 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ printf("'algorithmic rid base' must be even.\n"); } +#ifndef HAVE_DLOPEN + if (lp_preload_modules()) { + printf("WARNING: 'preload modules = ' set while loading plugins not supported.\n"); + } +#endif + return ret; } -- cgit