From caef2d2884fb202bd6184f9a676ecff94c7ab600 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 19 Nov 2001 03:35:27 +0000 Subject: LIBDIR and LOCKDIR are dynamically configured too. (This used to be commit 868999ad3c82ad72f11d5b3208b0e42b1ed95096) --- source3/dynconfig.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'source3/dynconfig.c') diff --git a/source3/dynconfig.c b/source3/dynconfig.c index fd77e88309..34603fee86 100644 --- a/source3/dynconfig.c +++ b/source3/dynconfig.c @@ -34,6 +34,9 @@ * they can for example consistently be set across the whole of Samba * by command-line parameters, config file entries, or environment * variables. + * + * @todo Perhaps eventually these should be merged into the parameter + * table? There's kind of a chicken-and-egg situation there... **/ char const *dyn_SBINDIR = SBINDIR, @@ -45,3 +48,17 @@ pstring dyn_CONFIGFILE = CONFIGFILE; /**< Location of smb.conf file. **/ pstring dyn_LOGFILEBASE; /**< Log file directory. **/ pstring dyn_LMHOSTSFILE; /**< Statically configured LanMan hosts. **/ + +/** + * @brief Samba library directory. + * + * @sa lib_path() to get the path to a file inside the LIBDIR. + **/ +pstring dyn_LIBDIR; + +/** + * @brief Directory holding lock files. + * + * Not writable, but used to set a default in the parameter table. + **/ +const pstring dyn_LOCKDIR; -- cgit