summaryrefslogtreecommitdiffstats
path: root/source/dynconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* popt: Use SMB_CONF_PATH environment var if no other configfile is set.Kai Blin2008-02-041-0/+5
| | | | | | | | Now --configfile (or -s) will have precedence, if that's not given SMB_CONF_PATH is checked, otherwise the $(CONFIGDIR)/smb.conf default value is used. Thanks to Michael for his comments.
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-20/+231
| | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy.
* These should be char *, but replace them with [1024] for nowJeremy Allison2007-12-061-9/+10
| | | | | to eliminate the pstring data type. Jeremy
* Patch from Debian Samba package maintainers:Gerald (Jerry) Carter2007-11-011-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | Patch 1 of 3: - Patch 1 adds the new variables - Patch 2 makes uses of them for files belonging to the "state" path and the "code pages" path This patch seemed more easily acceptable, which explains why we separated it from patch 3 - Patch 3 reassigns files to the "cache" path. Indeed all "debatable" changes have been moved to that one The point is adding: - a path for non discardable state data: basically all TDB files that may need to be backed up - a path for shared data: mostly codepage stuff - a path for cache data to host files such as browse.dat, printers.tbd, <printer>.tdb All these are currently mixed in "libdir" (${prefix}/lib/samba by default). The patch keeps these new paths to point to ${prefix}/lib/samba by default and does therefore not change the software behaviour. Used alone, it just adds unused variables...so it can safely be used in sources without any behaviour change and no impact on Samba developers work.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r15848: Introduce commandline options to set the remainder of the parameters inJames Peach2007-10-101-5/+5
| | | | | dynconfig.c. This is mainly useful for test harness scripts, hence the lack of short options.
* Fix copyright statements for various pieces of Anthony Liguori's work.Jim McDonough2003-08-011-1/+1
|
* merge from HEAD - enable dynamic RPC modulesJim McDonough2003-02-141-1/+3
|
* Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter2002-11-291-4/+0
| | | | | | | | | should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-0/+1
|
* Removed version number from file header.Tim Potter2002-01-301-1/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Move all other paths into dynconfigMartin Pool2001-11-191-4/+13
|
* dyn_LOCKDIR should be const because it's never modified directly --Martin Pool2001-11-191-1/+1
| | | | | it's just copied in to the parameter table and optionally overridden there.
* oopsum.Martin Pool2001-11-191-1/+1
|
* LIBDIR and LOCKDIR are dynamically configured too.Martin Pool2001-11-191-0/+17
|
* LMHOSTSFILE is now dynamically configured too.Martin Pool2001-11-191-0/+2
|
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-1/+1
| | | | default, rather than in preprocessor macros.
* Source file defining global variables for configuration paths. ThisMartin Pool2001-11-191-0/+45
has two purposes: - If ./configure is re-run to configure Samba for a new set of path or prefix, then when Samba is re-built it really will use the new paths. - This is a step towards making sure all programs can be consistently told to use a different configuration file or prefix directory, which is required for testing. Possibly not true at the moment.