summaryrefslogtreecommitdiff
path: root/source3/utils/testparm.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-02-27 01:54:41 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-02-27 01:54:41 +0000
commitd21b15ff57aa39337e76a06da74a55e48f4b0696 (patch)
tree0014fddd1c908fd1366bba57d4a3616b934fe148 /source3/utils/testparm.c
parentd62f60f53ac18b3de9c7922105c6796361b91a11 (diff)
downloadsamba-d21b15ff57aa39337e76a06da74a55e48f4b0696.tar.gz
samba-d21b15ff57aa39337e76a06da74a55e48f4b0696.tar.bz2
samba-d21b15ff57aa39337e76a06da74a55e48f4b0696.zip
- Rename 'modules = ' to 'preload modules = '
- Add smb_probe_module() - Add init_modules() - Call these functions (This used to be commit f8f21653225792c0001d183c6efe8b7d89a0785d)
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 0fafd1b83d..b68deaaa5d 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;
}