summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-12 02:16:23 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-12 02:16:23 +0000
commite8abdf4ac450de8512d71b20798a0e8733d7626a (patch)
treeee27f060ff622dad09deda3ff22fde46d64ed949
parent4389fba6c3c77a1f1ff7c3c8c85ab483acba77f9 (diff)
downloadsamba-e8abdf4ac450de8512d71b20798a0e8733d7626a.tar.gz
samba-e8abdf4ac450de8512d71b20798a0e8733d7626a.tar.bz2
samba-e8abdf4ac450de8512d71b20798a0e8733d7626a.zip
add FLAG_HIDE to "config file" option (so it can't be set in swat)
(This used to be commit f9f9fe67c7570f7585099a14c36bb3ff0291cdf4)
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 2768a9da72..c59b872d06 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -440,7 +440,7 @@ static struct parm_struct parm_table[] =
{"netbios aliases", P_STRING, P_GLOBAL, &Globals.szNetbiosAliases, NULL, NULL, 0},
{"smbrun", P_STRING, P_GLOBAL, &Globals.szSmbrun, NULL, NULL, 0},
{"log file", P_STRING, P_GLOBAL, &Globals.szLogFile, NULL, NULL, 0},
- {"config file", P_STRING, P_GLOBAL, &Globals.szConfigFile, NULL, NULL, 0},
+ {"config file", P_STRING, P_GLOBAL, &Globals.szConfigFile, NULL, NULL, FLAG_HIDE},
{"smb passwd file", P_STRING, P_GLOBAL, &Globals.szSMBPasswdFile, NULL, NULL, 0},
{"hosts equiv", P_STRING, P_GLOBAL, &Globals.szHostsEquiv, NULL, NULL, 0},
{"preload", P_STRING, P_GLOBAL, &Globals.szAutoServices, NULL, NULL, 0},