summaryrefslogtreecommitdiff
path: root/packaging
Commit message (Collapse)AuthorAgeFilesLines
* winbind.service: drop quotes from $WINBINDOPTIONS variableMarcos Mello2020-05-121-1/+1
| | | | | | | | | | | | systemd parser splits arguments at whitespaces respecting quotes when necessary. Signed-off-by: Marcos Mello <marcosfrm@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue May 12 12:27:11 UTC 2020 on sn-devel-184
* Drop NotifyAccess=all from systemd unitsMarcos Mello2020-05-124-4/+0
| | | | | | | | The implicit NotifyAccess=main is enough since Samba daemons do not fork()/exit() anymore under systemd. Signed-off-by: Marcos Mello <marcosfrm@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* packaging: Update READMEs to reflect current status.Karolin Seeger2019-06-252-16/+0
| | | | | | | | Signed-off-by: Karolin Seeger <kseeger@samba.org> Reviewed-by: Björn Baumbach <bb@sernet.de> Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Tue Jun 25 12:09:39 UTC 2019 on sn-devel-184
* packaging/wscript: update to handle waf 2.0.4Alexander Bokovoy2018-09-051-2/+2
| | | | | Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* systemd: Only start smb when network interfaces are upOleksandr Natalenko2018-08-031-1/+2
| | | | | | | | | | | | | | | | | | For smb, if the smb.conf contains explicit bindings to the network interfaces, the service must wait till network interfaces are up, otherwise the service won't be operational. The 0e571054a61e commit and the BZ 13184 have fixed this for nmb and samba, so do exactly the same here, for smb. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13559 Signed-off-by: Oleksandr Natalenko <oleksandr@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Aug 3 17:28:52 CEST 2018 on sn-devel-144
* packaging: fix default systemd-dir path.Günther Deschner2018-01-161-2/+2
| | | | | | | | | | | | | | | https://bugzilla.samba.org/show_bug.cgi?id=13227 By default we should not end up with a /usr/usr/lib/systemd/system path. Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Tue Jan 16 21:02:28 CET 2018 on sn-devel-144
* systemd: Fix kill pathMathieu Parent2018-01-144-4/+4
| | | | | | | | | | Bug-Debian: https://bugs.debian.org/828730 BUG: https://bugzilla.samba.org/show_bug.cgi?id=12402 Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* systemd: Add documentation to Unit filesMathieu Parent2018-01-144-0/+4
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=12402 Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* systemd: syslog.target is obsoleteMathieu Parent2018-01-144-4/+4
| | | | | | | | | | | | | After=syslog.target is unnecessary by now because syslog is socket-activated and will therefore be started when needed. Ref: https://lintian.debian.org/tags/systemd-service-file-refers-to-obsolete-target.html BUG: https://bugzilla.samba.org/show_bug.cgi?id=12402 Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* packaging: add configure option to preprocess and install systemd filesAurelien Aptel2018-01-086-12/+82
| | | | | | | | | | Turn the systemd service files under packaging into template (.in) files with @VAR@ substitutions and add configure options to install and tweak them. Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* systemd: Only start samba and nmbd when network interfaces are upAndreas Schneider2017-12-202-2/+4
| | | | | | | | | | | | | For samba and nmbd we need to wait till a network interface is up or they wont be operational. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13184 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Dec 20 04:21:51 CET 2017 on sn-devel-144
* systemd: Start processes in forground and without a process groupAndreas Schneider2017-11-284-4/+4
| | | | | | | | | | | | | | | | We should not double fork in notify mode or systemd think something during startup will be wrong and send SIGTERM to the process. So sometimes the daemon will not start up correctly. systemd will also handle the process group. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13129 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): Tue Nov 28 15:31:27 CET 2017 on sn-devel-144
* packaging: Remove Solaris directory and contentsRowland Penny2017-09-1210-643/+0
| | | | | | | | Signed-off-by: Rowland Penny <rpenny@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 12 06:46:35 CEST 2017 on sn-devel-144
* packaging: Remove RHEL directory and contentsRowland Penny2017-09-1212-1236/+0
| | | | | Signed-off-by: Rowland Penny <rpenny@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* packaging: Remove RHEL-CTDB directory and contentsRowland Penny2017-09-1214-1405/+0
| | | | | Signed-off-by: Rowland Penny <rpenny@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* packaging: Remove MandrakeDavid Disseldorp2017-05-101-3/+0
| | | | | | | | | | Mandriva was discontinued in 2011, and the link in the readme is dead. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed May 10 07:35:20 CEST 2017 on sn-devel-144
* packaging: Remove SWAT references from SolarisAndreas Schneider2017-05-107-102/+4
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* packaging: Remove SWAT references from RHELAndreas Schneider2017-05-102-57/+3
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* packaging: Remove SWAT references from RHEL-CTDBAndreas Schneider2017-05-103-52/+3
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* packaging: Remove LSB packagingAndreas Schneider2017-05-105-486/+0
| | | | | | | This hasn't been touched since 2001. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* packaging: Remove setup script for SWATAndreas Schneider2017-05-101-27/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* packaging: Set default limit for core file size in service filesAnoop C S2016-05-182-0/+2
| | | | | | | | | | | | This change adds the missing LimitCORE variable setting in nmb and winbind service files to have no limit for coredumps by default. Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Jose A. Rivera <jarrpa@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Wed May 18 19:26:49 CEST 2016 on sn-devel-144
* packaging: Set default limit for core file size in init scriptsAnoop C S2016-05-184-0/+8
| | | | | | | | | | | | SysV init scripts used for initiating smb and winbind services determines the value for default limit of coredump from variable named DAEMON_COREFILE_LIMIT within a bash env. Therefore this patch explicitly sets this variable to 'unlimited' so as to have no limit for core file size by default. Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Jose A. Rivera <jarrpa@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* packaging: Remove ulimit usage for setting core file size limitAnoop C S2016-05-182-2/+0
| | | | | | | | | | | | | Recent commit ebd139c4db7e51a2d7843a773991f15cadf504dd modified smb.init to set core file size to 'unlimited' by default using the ulimit command. But when smb and winbind services are initiated via sysv init scripts, another variable named DAEMON_COREFILE_LIMIT takes higher priority in deciding the core file size. Therefore setting default value using ulimit command is useless. Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Jose A. Rivera <jarrpa@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* init: set core file size to unlimited by defaultRaghavendra Talur2016-05-063-0/+3
| | | | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=11907 Signed-off-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jose A. Rivera <jarrpa@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri May 6 19:15:17 CEST 2016 on sn-devel-144
* s3: smbd: Remove --with-aio-support. We no longer would ever prefer POSIX-RT ↵Jeremy Allison2015-11-132-3/+0
| | | | | | | | | aio, use pthread_aio instead. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* vfs: Remove smb_traffic_analyzerVolker Lendecke2015-11-112-5/+0
| | | | | | | | | | | | | | | | Holger Hetterich told me in a personal email that he does not have time to care about this project anymore and that he is fine to remove it from Samba. Why the removal? It contains homegrown crypto that would need to be thoroughly audited and/or fixed. And if it's neither maintained nor widely used I'd rather have it removed. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Nov 11 00:23:35 CET 2015 on sn-devel-104
* spec files: remove pam_smbpassAlexander Bokovoy2015-11-063-7/+2
| | | | | | | Remove remaining pam_smbpass options from RHEL spec file templates. Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* vfs_scannedonly: Remove vfs_scannedonly from samba source tree.Robin Hack2015-08-211-1/+0
| | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=11459 Signed-off-by: Robin Hack <hack.robin@gmail.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 21 07:17:35 CEST 2015 on sn-devel-104
* smbd: Convert valid.dat to C codeVolker Lendecke2015-03-242-5/+0
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* lib: Convert [up|low]case.dat to CVolker Lendecke2015-03-242-3/+1
| | | | | | | | This creates a bit more source code, but it removes the requirement to explicitly mmap the files Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* Update mailing list references to point at lists.samba.orgAndrew Bartlett2015-02-102-2/+2
| | | | | | | | | | | | The mailing lists are on lists.samba.org, but there are many references that use the shorthand of samba.org Some references to samba@ have been changed to samba-technical@ where this make more sense. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Feb 10 07:08:28 CET 2015 on sn-devel-104
* Remove obsolete SGI packagingAndrew Bartlett2015-02-1022-1679/+0
| | | | | | | This has not worked since before the source3 and source4 trees were imported many years ago Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* s3: leases: libsmbsharemodes no longer works with SMB2 leases inside our ↵Jeremy Allison2014-12-043-6/+0
| | | | | | | | | locking.tdb. Remove it until a maintainer can be found. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* add systemd integrationAlexander Bokovoy2014-04-234-4/+8
| | | | | | | | | | | | | | | Add --with-systemd / --without-systemd options to check whether libsystemd-daemon library is available and use it to report service startup status to systemd for smbd/winbindd/nmbd and AD DC. The problem it solves is correct reporting of the Samba services at the point when they are ready to serve clients, important for high availability software integration. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10517 Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* Remove remaining references to "password level" in the treeAndrew Bartlett2013-06-111-1/+0
| | | | | | | Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Simo Sorce <idra@samba.org> Autobuild-Date(master): Tue Jun 11 16:25:54 CEST 2013 on sn-devel-104
* building RPMs on RHEL fail because of a typo.Anand Avati2013-05-251-1/+1
| | | | | | | | | Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat May 25 01:04:37 CEST 2013 on sn-devel-104
* docs: Fix bug 9809 -- missing entry in specfileVolker Lendecke2013-04-221-0/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Karolin Seeger <kseeger@samba.org> Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Mon Apr 22 11:35:52 CEST 2013 on sn-devel-104
* packaging(RHEL-CTDB): Add idmap_rfc2307 moduleChristof Schmitt2013-03-091-1/+1
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Make systemctl reference indirect in packaging/NetworkManager/30-winbind-systemdAlexander Bokovoy2013-02-221-4/+4
| | | | | | | | | | | | | | Some distributions have clever dependency generators when building packages and generate dependencies for each executable called out in shell scripts. The end result is that a package built out of samba would contain explicit dependency to systemd even though it is usable without systemd. Making systemctl reference indirect avoids explicit dependency. Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Fri Feb 22 18:18:20 CET 2013 on sn-devel-104
* packaging(RHEL-CTDB): remove unpackaged manpages (samba and samba-tool)Michael Adam2013-02-191-0/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* packaging(RHEL-CTDB): package the fake-acls vfs moduleMichael Adam2013-02-191-0/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* packaging: Remove long-gone --disable-merged-build from RHEL-CTDB packagingAndrew Bartlett2012-11-222-2/+0
| | | | Reviewed-by: Andreas Schneider <asn@samba.org>
* build: Remove --enable-smbtorture, require bin/smbtorture (from waf) for ↵Andrew Bartlett2012-11-222-2/+0
| | | | | | | | | | | | | | | make test This simply moves this to being a side-effect of --enable-selftest. The flag was renamed from --enable-smbtorture4 in a recent patch. Make test now relies on smbtorture4, and so this code to make the dependency optional for the tests is not required any more. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org>
* build: Be consistent with the name of smbtorture binariesAndrew Bartlett2012-11-222-2/+2
| | | | | | | | | | | | | | This ensures that in both build systems, smbtorture3 is the source3 binary, and smbtoture is our main smbtorture binary, built with waf. Also included in this is the removal of bin/ndrdump4 as a special case. This removes the last cases of binaries with different names in each build system. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org>
* packaging: Add NetworkManager dispatcher script for winbind.Andreas Schneider2012-10-302-0/+26
| | | | | | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Tue Oct 30 13:17:02 CET 2012 on sn-devel-104
* packaging: Move smbprint to a comman location.Andreas Schneider2012-10-295-93/+12
| | | | | | | | | | | | This also removes all the duplicate smbprint scripts. This fixes bug #9301. Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Oct 29 14:08:37 CET 2012 on sn-devel-104
* packaging: Add support for reloading systemd services.Andreas Schneider2012-10-114-0/+4
|
* packaging: Add config for systemd-tmpfiles.Andreas Schneider2012-10-092-0/+15
| | | | | Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Oct 9 17:10:53 CEST 2012 on sn-devel-104
* RHEL packaging: Try to fix makerpms.sh on RHEL.Karolin Seeger2012-09-181-1/+1
| | | | | | | | | Address bug #9165 - makerpms.sh can't create package fo RHEL. Karolin Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Tue Sep 18 12:51:01 CEST 2012 on sn-devel-104