summaryrefslogtreecommitdiff
path: root/source3/param
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/param
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/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 8624b30af8..821216837e 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -111,6 +111,8 @@ typedef struct
char *szSMBPasswdFile;
char *szPrivateDir;
char **szPassdbBackend;
+ char **szPreloadModules;
+ char **szSamBackend;
char *szPasswordServer;
char *szSocketOptions;
char *szRealm;
@@ -813,6 +815,7 @@ static struct parm_struct parm_table[] = {
{"allow hosts", P_LIST, P_LOCAL, &sDefault.szHostsallow, NULL, NULL, FLAG_HIDE},
{"hosts deny", P_LIST, P_LOCAL, &sDefault.szHostsdeny, NULL, NULL, FLAG_GLOBAL | FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT | FLAG_DEVELOPER},
{"deny hosts", P_LIST, P_LOCAL, &sDefault.szHostsdeny, NULL, NULL, FLAG_HIDE},
+ {"preload modules", P_LIST, P_GLOBAL, &Globals.szPreloadModules, NULL, NULL, FLAG_BASIC | FLAG_GLOBAL},
{"Logging Options", P_SEP, P_SEPARATOR},
@@ -1603,6 +1606,7 @@ FN_GLOBAL_STRING(lp_nis_home_map_name, &Globals.szNISHomeMapName)
static FN_GLOBAL_STRING(lp_announce_version, &Globals.szAnnounceVersion)
FN_GLOBAL_LIST(lp_netbios_aliases, &Globals.szNetbiosAliases)
FN_GLOBAL_LIST(lp_passdb_backend, &Globals.szPassdbBackend)
+FN_GLOBAL_LIST(lp_preload_modules, &Globals.szPreloadModules)
FN_GLOBAL_STRING(lp_panic_action, &Globals.szPanicAction)
FN_GLOBAL_STRING(lp_adduser_script, &Globals.szAddUserScript)
FN_GLOBAL_STRING(lp_deluser_script, &Globals.szDelUserScript)