summaryrefslogtreecommitdiff
path: root/source3/dynconfig.c
AgeCommit message (Collapse)AuthorFilesLines
2009-01-12Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman1-23/+2
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
2008-10-06Add dyn_NCALRPCDIRVolker Lendecke1-0/+1
2008-08-15dynconfig: add support for MODULESDIR.Michael Adam1-0/+1
Michael (This used to be commit 34309f097f5c7321930bf6c2ea2447de1008130c)
2008-08-15dynconfig: remove commented-out old stuff from dynconfig.c and dynconfig.hMichael Adam1-216/+0
Michael (This used to be commit 85a781fa0248fcd0cefcc4de25b3dea3e37d5844)
2008-02-04popt: Use SMB_CONF_PATH environment var if no other configfile is set.Kai Blin1-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. (This used to be commit 92a9c6c56fa90aead3b7f4a07bf4f3973ba23555)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-20/+231
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-06These should be char *, but replace them with [1024] for nowJeremy Allison1-9/+10
to eliminate the pstring data type. Jeremy (This used to be commit d690ba77107d8c2b722972300272f9d540641ce9)
2007-11-01Patch from Debian Samba package maintainers:Gerald (Jerry) Carter1-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. (This used to be commit b7d2fadbef044a89920da613b1aafc74a3d94e24)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r15848: Introduce commandline options to set the remainder of the parameters inJames Peach1-5/+5
dynconfig.c. This is mainly useful for test harness scripts, hence the lack of short options. (This used to be commit bf3b71c84595608d71e0f15a6158adacb295518e)
2003-08-01Fix copyright statements for various pieces of Anthony Liguori's work.Jim McDonough1-1/+1
(This used to be commit 15d2bc47854df75f8b2644ccbc887d0357d9cd27)
2003-02-14merge from HEAD - enable dynamic RPC modulesJim McDonough1-1/+3
(This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)
2002-11-29Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter1-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 (This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-0/+1
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-01-30Removed version number from file header.Tim Potter1-1/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-11-19Move all other paths into dynconfigMartin Pool1-4/+13
(This used to be commit d51ef6bfa3d194b58c3ee7706a7d475ef042676d)
2001-11-19dyn_LOCKDIR should be const because it's never modified directly --Martin Pool1-1/+1
it's just copied in to the parameter table and optionally overridden there. (This used to be commit 988fe772a39e08dec738b045021cd6e06b4e59c8)
2001-11-19oopsum.Martin Pool1-1/+1
(This used to be commit 9b6667aa19c479fb27f557ca24129592bf94cbb7)
2001-11-19LIBDIR and LOCKDIR are dynamically configured too.Martin Pool1-0/+17
(This used to be commit 868999ad3c82ad72f11d5b3208b0e42b1ed95096)
2001-11-19LMHOSTSFILE is now dynamically configured too.Martin Pool1-0/+2
(This used to be commit a779710fff5fddcbf65a8ddc8e9169b586b85481)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-1/+1
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-11-19Source file defining global variables for configuration paths. ThisMartin Pool1-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. (This used to be commit f54c64babd31abf9f5bbf960316d4b9502b9477d)