summaryrefslogtreecommitdiff
path: root/dynconfig
AgeCommit message (Collapse)AuthorFilesLines
2025-11-04Remove previous himmelblau integration attemptDavid Mulder3-9/+0
This was a project attempting to integrate Himmelblau into Samba, but it has been abandoned. Signed-off-by: David Mulder <dmulder@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): David Mulder <dmulder@samba.org> Autobuild-Date(master): Tue Nov 4 09:09:40 UTC 2025 on atb-devel-224
2025-05-16dynconfig/wscript: Adjust default cleanup for waf 2.1.5Andreas Schneider1-2/+1
Using waf 2.1.5 parser.defaults no longer exists (that's part of the optparse module and waf 2.1.5 uses argparse) This patch adjusts the default cleanup for argparse. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-10-23Isolate hsm auth value from the cacheDavid Mulder3-0/+9
Signed-off-by: David Mulder <dmulder@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
2024-08-16docs-xml: Fix script location in syncmachinepasswordscript.xmlAnoop C S1-0/+5
Update the change in installation path for winbind_ctdb_updatekeytab.sh from SAMBA_DATADIR to newly defined CTDB_DATADIR. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Signed-off-by: Anoop C S <anoopcs@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org> Autobuild-User(master): Anoop C S <anoopcs@samba.org> Autobuild-Date(master): Fri Aug 16 09:49:30 UTC 2024 on atb-devel-224
2024-03-01build: Allow --with-ldbmodulesdir to override location of LDB modulesAndrew Bartlett1-0/+7
This will allow some packagers to set this to a directory that does not mention Samba, or to put a version string in to avoid loading old modules. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2023-04-11dynconfig: Fix code spellingAndreas Schneider1-1/+1
Best reviewed with: `git show --word-diff`. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2021-04-01dynconfig: Introduce and expose SAMBA_LIBEXECDIRVolker Lendecke3-0/+9
Right now the smbspool_krb5_wrapper lives there, but we'll have more in the future. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2019-11-13build: Remove workaround for missing os.path.relpath in Python < 2.6Andrew Bartlett1-2/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Mulder <dmulder@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org>
2019-10-31dynconfig/wscript: typo fixesBjörn Jacke1-5/+5
Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
2019-10-09build: add SAMBA_DATADIR as "samba" subdirectory of DATADIRRalph Boehme3-0/+7
DATADIR should have been set to this path from the beginning, too late to change that now as ut's used as parent for two other directory varialbles: SETUPDIR and CODEPAGEDIR. From <https://www.gnu.org/prep/standards/html_node/Directory-Variables.html>: datadir The directory for installing idiosyncratic read-only architecture-independent data files for this program. This is usually the same place as ‘datarootdir’, but we use the two separate variables so that you can move these program-specific files without altering the location for Info files, man pages, etc. This should normally be /usr/local/share, but write it as $(datarootdir). (If you are using Autoconf, write it as ‘@datadir@’.) The definition of ‘datadir’ is the same for all packages, so you should install your data in a subdirectory thereof. Most packages install their data under $(datadir)/package-name/. Currently Samba doesn't install any application specific data files, but I'm going to do just that in a subsequent commit. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Noel Power <noel.power@suse.com>
2018-12-14dynconfig/wscript: python3 fix string.find instanceNoel Power1-1/+1
string.find doesn't exist in python3. Instead use the 'find' method of the string instance itself Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-09-05dynconfig/wscript: update to handle waf 2.0.4Alexander Bokovoy1-5/+9
Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2017-09-16dynconfig: Fix location of the default 'binddns dir'Andreas Schneider1-6/+6
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2017-09-05param: Add 'binddns dir' parameterAndreas Schneider3-0/+9
This allows to us to have restricted access to the directory by the group 'named' which bind is a member of. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
2017-09-05dynconfig: Change permission of the private dir to 0700Andreas Schneider1-1/+1
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
2017-08-24dynconfig: Use INSTALL_DIR to create directoriesAndreas Schneider1-3/+6
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 24 09:29:05 CEST 2017 on sn-devel-144
2017-01-22param: Remove winbindd privileged socket directory optionAndrew Bartlett3-7/+0
This option is unused and has not been used since before Samba 4.3 when the source4/ winbindd code went away. The associated dynconfig parameters used for the default are also removed. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10066 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2017-01-11wscript: remove executable bits for all wscript* filesStefan Metzmacher1-0/+0
These files should not be executable. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Jan 11 20:21:01 CET 2017 on sn-devel-144
2016-05-03Add build option for default smbpasswd locationIvo De Decker1-0/+2
Signed-off-by: Ivo De Decker <ivo.dedecker@ugent.be> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue May 3 04:42:24 CEST 2016 on sn-devel-144
2015-11-16build:wafsamba: Replace Options.is_install by bld.is_installThomas Nagy1-2/+2
Options.is_install is a deprecated module variable that is more verbose than bld.is_install and complicates the Waf 1.8 upgrade. Signed-off-by: Thomas Nagy <tnagy@waf.io> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2015-11-06build:wafsamba: Remove the unnecessary intltool module dependencyThomas Nagy1-1/+1
The 'intltool' module is completely unnecessary for the build process, and it does not exist in waf 1.8 Signed-off-by: Thomas Nagy <tnagy@waf.io> Reviewed-by: Uri Simchoni uri@samba.org Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-10-21dynconfig: Use replace.h and memory.h directly, not via includes.hAndrew Bartlett1-5/+2
includes.h brings in talloc.h, but this was recently removed as a dependency. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Oct 21 11:26:38 CEST 2015 on sn-devel-104
2015-10-12dynconfig: Fix deps, no talloc requiredVolker Lendecke1-1/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Mon Oct 12 17:06:04 CEST 2015 on sn-devel-104
2014-09-19dynconfig: Remove include of nsswitch/winbind_struct_protocol.hMartin Schwenke1-1/+0
Nothing declared in this file is used in dynconfig.c. It appears that WINBINDD_SOCKET_DIR used to come from there. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Volker Lendecke <vl@samba.org>
2014-09-05dynconfig: implement PERL_ARCH_INSTALL_DIRMichael Adam1-0/+5
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-09-05dynconfig: implement PERL_LIB_INSTALL_DIR.Michael Adam1-0/+5
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2014-09-05dynconfig/wscript: add dynconfig_varnames()Stefan Metzmacher1-0/+10
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2014-01-31docs: define and include entities for the docsGarming Sam1-8/+27
This allows for dynamic default settings to be generated. Change-Id: If8b93d233fb941bc7e3073ccf4b5ec0b0a231bd9 Pair-programmed-with: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-07-24dynconfig: Remove last s3 markers now we have just one build systemAndrew Bartlett2-5/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jul 24 16:29:15 CEST 2013 on sn-devel-104
2013-05-28build: Remove feature tests for variables now always providedAndrew Bartlett1-11/+0
These #ifdef statements were added in replacement for #if (_SAMBA_BUILD_ >= 4) in fbe7ed79b0f056a9a8f44a9b42e887441d2f00d5 Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28build: Remove autoconf build systemAndrew Bartlett1-299/+0
We are now confident that that waf build system meets enough of our needs that we will work to improve it, rather than maintain two build systems. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-18swat: Remove swat.Kai Blin4-9/+0
Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sat May 18 16:32:38 CEST 2013 on sn-devel-104
2012-11-12ntp_signd: move socket directory to var/lib not var/run for permissions changeAndrew Bartlett1-2/+2
With the next patch, this becomes a socket directory on which we must maintain administrator-specified permissions we will need to move it away from directories that wipe at boot. This means the ntp.conf will need to change from (eg) ntpsigndsocket /usr/local/samba/var/run/ntp_signd/ to ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/ Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2012-09-21dynconfig/config.m4: disallow --prefix=/usr and --prefix=/usr/local without ↵Stefan Metzmacher1-0/+4
--enable-fhs This matches the waf configure behavior and catches the case where old build scripts try '--with-fhs' instead of '--enable-fhs'. metze
2012-08-03build: fix typoAndrew Bartlett1-1/+1
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 3 03:56:38 CEST 2012 on sn-devel-104
2012-01-19dynconfig/wscript: correctly cleanup PRIVATELIBDIR and MODULESDIR defaultsStefan Metzmacher1-0/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 19 00:47:50 CET 2012 on sn-devel-104
2012-01-17dynconfig: overwrite --with-privatelibdir as a Samba optionStefan Metzmacher1-1/+8
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 17 17:17:56 CET 2012 on sn-devel-104
2012-01-17dynconfig: --with-modulesdir should be a Samba optionStefan Metzmacher2-11/+29
This also restores the defaults from Samba 3.6.x: "${libdir}" or "${libdir}/samba" in FHS mode. metze
2012-01-17dynconfig/config.m4: expand prefix, exec_prefix, sysconfdir, localstatedir ↵Stefan Metzmacher1-18/+18
and datarootdir in Makefile Otherwise $prefix is "NONE" without explicit --prefix metze
2011-12-15dynconfig: added SBINDIR and BINDIR as updated dynconfig variablesAndrew Tridgell1-0/+2
this allows these to work correctly in a build environment, pointing at bin/
2011-11-09s3: Use autotools to set the winbind socket directory.Andreas Schneider1-0/+31
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Nov 9 13:31:27 CET 2011 on sn-devel-104
2011-10-22dynconfig: replace #if (_SAMBA_BUILD_ >= 4) by feature testsStefan Metzmacher1-2/+10
metze
2011-10-07build: Reduce build systems to just top level waf and autoconfAndrew Bartlett1-2/+0
The s3-waf build system is a key component of the top level build, but with this commit is is no longer available directly. This reduces the number of build system combinations in master as we prepare for the Samba 4.0 release. Andrew Bartlett
2011-07-13dynconfig/wscript: use $libdir/security for PAMMODULESDIR as in config.m4Stefan Metzmacher1-3/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 17:44:01 CEST 2011 on sn-devel-104
2011-07-13s3:configure: use the same dynconfig options and default values as the ↵Stefan Metzmacher1-0/+256
toplevel build metze
2011-07-13dynconfig: rework the logic to support --enable-fhsStefan Metzmacher1-119/+275
This reorders the data structure which represents the options to build a more useful hierachy. This makes it more obvious which defaults values are used in the 'STD' and 'FHS' flavors. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 09:33:21 CEST 2011 on sn-devel-104
2011-07-13dynconfig: add SambaIndentedHelpFormatter in order to support \n in option ↵Stefan Metzmacher1-1/+54
help text metze
2011-07-13dynconfig: remember which options still have their default valueStefan Metzmacher1-2/+10
If the values are explicit specified on the command line, we need to keep them. metze
2011-07-13dynconfig: use an option group for the samba specific optionsStefan Metzmacher1-2/+4
metze
2011-07-13Revert "s4-build Change default paths and --with flags for a 4.0 release"Stefan Metzmacher1-20/+58
This reverts commit edd3e8b03aa0bca85d4a9a62b35471e76a1f9390.