2 Unix SMB/CIFS implementation.
3 Copyright (C) 2001 by Martin Pool <mbp@samba.org>
4 Copyright (C) 2003 by Jim McDonough <jmcd@us.ibm.com>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
25 * @brief Global configurations, initialized to configured defaults.
27 * This file should be the only file that depends on path
28 * configuration (--prefix, etc), so that if ./configure is re-run,
29 * all programs will be appropriately updated. Everything else in
30 * Samba should import extern variables from here, rather than relying
31 * on preprocessor macros.
33 * Eventually some of these may become even more variable, so that
34 * they can for example consistently be set across the whole of Samba
35 * by command-line parameters, config file entries, or environment
38 * @todo Perhaps eventually these should be merged into the parameter
39 * table? There's kind of a chicken-and-egg situation there...
42 char const *dyn_SBINDIR
= SBINDIR
,
44 *dyn_SWATDIR
= SWATDIR
;
46 pstring dyn_CONFIGFILE
= CONFIGFILE
; /**< Location of smb.conf file. **/
48 /** Log file directory. **/
49 pstring dyn_LOGFILEBASE
= LOGFILEBASE
;
51 /** Statically configured LanMan hosts. **/
52 pstring dyn_LMHOSTSFILE
= LMHOSTSFILE
;
55 * @brief Samba library directory.
57 * @sa lib_path() to get the path to a file inside the LIBDIR.
59 pstring dyn_LIBDIR
= LIBDIR
;
60 fstring dyn_SHLIBEXT
= SHLIBEXT
;
63 * @brief Directory holding lock files.
65 * Not writable, but used to set a default in the parameter table.
67 pstring dyn_LOCKDIR
= LOCKDIR
;
68 pstring dyn_PIDDIR
= PIDDIR
;
70 pstring dyn_SMB_PASSWD_FILE
= SMB_PASSWD_FILE
;
71 pstring dyn_PRIVATE_DIR
= PRIVATE_DIR
;