1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

23 Commits

Author SHA1 Message Date
Steven Danneman
19a05bf2f4 Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.c
If they are not explicitely set in either place both will default to LOCKDIR.

Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-12 12:16:03 +01:00
Volker Lendecke
2f6026248e Add dyn_NCALRPCDIR 2008-10-06 09:54:16 +02:00
Michael Adam
cc83d5b9f1 dynconfig: add support for MODULESDIR.
Michael
(This used to be commit 34309f097f5c7321930bf6c2ea2447de1008130c)
2008-08-15 23:19:57 +02:00
Michael Adam
b39040cfe2 dynconfig: remove commented-out old stuff from dynconfig.c and dynconfig.h
Michael
(This used to be commit 85a781fa0248fcd0cefcc4de25b3dea3e37d5844)
2008-08-15 23:19:56 +02:00
Kai Blin
174100c309 popt: Use SMB_CONF_PATH environment var if no other configfile is set.
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)
2008-02-04 17:41:23 +01:00
Jeremy Allison
7faee02d0d Remove the char[1024] strings from dynconfig. Replace
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
(This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-10 11:30:37 -08:00
Jeremy Allison
77652360ec These should be char *, but replace them with [1024] for now
to eliminate the pstring data type.
Jeremy
(This used to be commit d690ba77107d8c2b722972300272f9d540641ce9)
2007-12-06 19:01:27 -08:00
Gerald (Jerry) Carter
8132a7b98b Patch from Debian Samba package maintainers:
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-11-01 13:00:10 -04:00
Andrew Tridgell
5e54558c6d r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
James Peach
90a6873b05 r15848: Introduce commandline options to set the remainder of the parameters in
dynconfig.c. This is mainly useful for test harness scripts, hence the
lack of short options.
(This used to be commit bf3b71c84595608d71e0f15a6158adacb295518e)
2007-10-10 11:17:11 -05:00
Jim McDonough
f210ee9b99 Fix copyright statements for various pieces of Anthony Liguori's work.
(This used to be commit 15d2bc47854df75f8b2644ccbc887d0357d9cd27)
2003-08-01 14:47:39 +00:00
Jim McDonough
49d3f7bc81 merge from HEAD - enable dynamic RPC modules
(This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)
2003-02-14 00:48:28 +00:00
Tim Potter
f3e3a56ea9 Merge a bunch of trivial changes from HEAD. The difference remaining
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-11-29 02:58:59 +00:00
Andrew Tridgell
e90b652848 updated the 3.0 branch from the head branch - ready for alpha18
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-07-15 10:35:28 +00:00
Tim Potter
cd68afe312 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-30 06:08:46 +00:00
Martin Pool
7883798301 Move all other paths into dynconfig
(This used to be commit d51ef6bfa3d194b58c3ee7706a7d475ef042676d)
2001-11-19 05:49:20 +00:00
Martin Pool
9ba9fcd6dd dyn_LOCKDIR should be const because it's never modified directly --
it's just copied in to the parameter table and optionally overridden
there.
(This used to be commit 988fe772a39e08dec738b045021cd6e06b4e59c8)
2001-11-19 03:52:09 +00:00
Martin Pool
c2a4f75e3e oopsum.
(This used to be commit 9b6667aa19c479fb27f557ca24129592bf94cbb7)
2001-11-19 03:38:57 +00:00
Martin Pool
caef2d2884 LIBDIR and LOCKDIR are dynamically configured too.
(This used to be commit 868999ad3c82ad72f11d5b3208b0e42b1ed95096)
2001-11-19 03:35:27 +00:00
Martin Pool
8654a161c8 LMHOSTSFILE is now dynamically configured too.
(This used to be commit a779710fff5fddcbf65a8ddc8e9169b586b85481)
2001-11-19 03:12:10 +00:00
Martin Pool
f741f65673 Store some path names in global variables initialized to configure
default, rather than in preprocessor macros.
(This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-11-19 02:49:53 +00:00
Martin Pool
f4f65ea9a3 Source file defining global variables for configuration paths. This
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)
2001-11-19 02:24:05 +00:00