summaryrefslogtreecommitdiff
path: root/source3/utils/testparm.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-14 22:23:02 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-14 22:23:02 +0000
commit7fcbdf00f6bba44d44e560176468605311e81d67 (patch)
tree80484ac6b67765a1126c4ea21bc3101992e0cb95 /source3/utils/testparm.c
parent10bf059b62480d502652408e9c138445859789fc (diff)
downloadsamba-7fcbdf00f6bba44d44e560176468605311e81d67.tar.gz
samba-7fcbdf00f6bba44d44e560176468605311e81d67.tar.bz2
samba-7fcbdf00f6bba44d44e560176468605311e81d67.zip
Add some more functions for the modules (backport from HEAD):
- init_modules() - smb_probe_module() (This used to be commit b3328dab2fa069af300b4076695bf6c359501111)
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r--source3/utils/testparm.c6
1 files changed, 6 insertions, 0 deletions
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;
}