Compare commits

...

603 Commits

Author SHA1 Message Date
Andreas Schneider d13ee7d45e Move mdssvc data files to correct package 2020-07-14 13:03:01 +02:00
Günther Deschner 82da6b03e3 Update to Samba 4.13.0rc1
Guenther
2020-07-09 19:00:47 +02:00
Merlin Mathesius a8b28d5d29 Remove nonexistent --without-winexe option from configure
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2020-07-08 11:12:01 -05:00
Günther Deschner 3331e7aaff Update to Samba 4.12.5
Guenther
2020-07-02 19:50:30 +02:00
Günther Deschner cd517c5be5 Update to Samba 4.12.4
resolves: #1849489, #1853255 - Security fixes for CVE-2020-10730
resolves: #1849491, #1853256 - Security fixes for CVE-2020-10745
resolves: #1849509, #1853276 - Security fixes for CVE-2020-10760
resolves: #1851298, #1853259 - Security fixes for CVE-2020-14303

Guenther
2020-07-02 15:29:06 +02:00
Andreas Schneider 39f81f495a Remove manages when not needed instead of exluding them 2020-07-02 11:39:52 +02:00
Andreas Schneider a8b268e882 Don't remove buildroot on install
This is obsolete since ages.
2020-07-02 11:39:52 +02:00
Jitka Plesnikova 03ec1b226b Perl 5.32 re-rebuild updated packages 2020-06-27 06:57:43 +02:00
Günther Deschner aa67a46ac7 Add BuildRequires for python3-setuptools
Guenther
2020-06-25 16:54:08 +02:00
Jitka Plesnikova 341aa469a1 Perl 5.32 rebuild 2020-06-25 15:07:59 +02:00
Andreas Schneider 08a93e1392 Fix indentation for --without-winexe 2020-06-08 09:28:49 +02:00
Andreas Schneider 31a5dced62 Move libdcerpc-server-core to samba-libs
This is used by the AD and FS RPC server implementation.
2020-06-08 09:28:49 +02:00
Andreas Schneider 840072c33a Do not require liburing for RHEL yet
We need at least version 0.4
2020-06-02 15:48:02 +02:00
Miro Hrončok d974e2dba3 Rebuilt for Python 3.9 2020-05-26 03:50:13 +02:00
Günther Deschner 95698d54c9 Update to samba 4.12.3
Guenther
2020-05-22 19:00:31 +02:00
Pete Walter 14beb52491 Rebuild for ICU 67 2020-05-15 14:12:43 +01:00
Günther Deschner 469f892911 Fix build on arm (which does not have liburing)
Guenther
2020-05-13 15:35:56 +02:00
Günther Deschner ccd630af90 Add support for building the new experimental io_uring VFS module
Guenther
2020-05-13 14:19:01 +02:00
Günther Deschner 7b0139b018 Update to Samba 4.12.2
resolves: #1825731, #1828870 - Security fixes for CVE-2020-10700
resolves: #1825734, #1828872 - Security fixes for CVE-2020-10704

Guenther
2020-04-28 21:05:45 +02:00
Alexander Bokovoy 9899557a0c Revert POSIX stat tuning code
Resolves: rhbz#1801442
2020-04-12 11:04:52 +03:00
Günther Deschner 4893087a27 Update to Samba 4.12.1
Guenther
2020-04-07 15:36:06 +02:00
Alexander Bokovoy 971db63e0c Fix samba_requires_eq macro definition
Resolves rhbz#1815739
2020-03-21 12:49:13 +02:00
Günther Deschner 2bb8b13cea Add winexe subpackage for remote windows command execution
resolves: #1661213

Guenther
2020-03-19 11:51:38 +01:00
Alexander Bokovoy 8a97498d18 Make samba_requires_eq an actual macro 2020-03-17 15:24:31 +02:00
Alexander Bokovoy 17fb87653c Internalize requires_eq macro
%requires_eq macro is going to be removed from Fedora:
https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/81

Until a better solution is provided, internalize the macro definition.
2020-03-17 15:18:49 +02:00
Günther Deschner 65e87b6f89 Add build requirement for perl-FindBin
Guenther
2020-03-10 16:02:25 +01:00
Günther Deschner 475f185d22 Update to Samba 4.12.0
Guenther
2020-03-03 12:43:41 +01:00
Günther Deschner 55f4ac65de Update to Samba 4.12.0rc4
Guenther
2020-02-26 09:18:05 +01:00
Günther Deschner fd31fe0c61 Update to Samba 4.12.0rc3
Guenther
2020-02-19 13:31:04 +01:00
Günther Deschner b487033b2e Update to Samba 4.12.0rc2
Guenther
2020-02-05 06:46:04 +01:00
Fedora Release Engineering 62cfe84ef0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 22:46:58 +00:00
Alexander Bokovoy 8a3be8e36a Require krb5 1.18 for rawhide 2020-01-24 23:56:33 +02:00
Günther Deschner 80747c7e03 Add dependent packages to get spotlight support
Guenther
2020-01-23 21:05:03 +01:00
Günther Deschner 9775be183c Update to Samba 4.12.0rc1
Guenther
2020-01-23 19:41:03 +01:00
Andreas Schneider 303a0a99be Remove obsolete python3 requirements 2020-01-23 12:05:57 +01:00
Andreas Schneider a709775d3d Fail 'make test' immediately 2020-01-23 12:04:39 +01:00
Alexander Bokovoy d0a152faeb Revert "Require krb5 1.18 for rawhide"
This reverts commit 4a7247e651.
2020-01-23 11:17:52 +02:00
Alexander Bokovoy 4a7247e651 Require krb5 1.18 for rawhide 2020-01-23 10:48:30 +02:00
Isaac Boukris 1af0af009b Adapt samba to new MIT library v1.18 2020-01-22 15:10:55 +00:00
Günther Deschner c52963795a Fix typo in package description
Guenther
2020-01-21 15:37:16 +01:00
Günther Deschner ad00364cb1 Update to Samba 4.11.5
resolves: #1791201, #1793405 - Security fixes for CVE-2019-14902
resolves: #1791207, #1793407 - Security fixes for CVE-2019-14907
resolves: #1791204, #1793406 - Security fixes for CVE-2019-19344

Guenther
2020-01-21 11:56:05 +01:00
Andreas Schneider 1a778c22e7 Fix manual libwbclient alternative settings 2020-01-10 15:11:17 +01:00
Günther Deschner e1bde109d5 Update to Samba 4.11.4
Guenther
2019-12-17 00:48:26 +01:00
Günther Deschner bd7c3955d6 Update to Samba 4.11.3
resolves: #1778586, #1781542 - Security fixes for CVE-2019-14861
resolves: #1778589, #1781545 - Security fixes for CVE-2019-14870

Guenther
2019-12-10 12:47:52 +01:00
Andreas Schneider 4083706263 Fix URL 2019-12-06 11:24:03 +01:00
Andreas Schneider bba9db24f9 Fix spec file warnings
Mark end of %endif with a comment in an extra line
2019-12-06 10:05:53 +01:00
Andreas Schneider 3a3842d182 Always require gnutls >= 3.4.7 2019-12-06 10:05:29 +01:00
Andreas Schneider e14219f28a Fix python3-samba requirement of smaba-test 2019-12-06 09:46:03 +01:00
Andreas Schneider ff76ca9f5e Create a samba-dc-provision subpackage
This includes only ldif files for provisioning => noarch
2019-12-05 18:28:56 +01:00
Andreas Schneider c97e6064e0 Fix spec file issues 2019-12-05 18:22:07 +01:00
Andreas Schneider 372d0e739b Add missing README files 2019-12-05 18:09:57 +01:00
Andreas Schneider e13ee9e124 Update logrotate script 2019-12-05 18:09:34 +01:00
Andreas Schneider 92f910d0ce Bump release for new build 2019-12-05 16:35:06 +01:00
Andreas Schneider 856d012d3a libMESSAGING is needed by samba-client-libs now
Found by rpmdiff
2019-12-05 16:31:27 +01:00
Andreas Schneider 68888452ae Use an URL for Source0.
This makes our tools happy and you can use it as a link to get the
tar.gz.
2019-12-05 15:19:28 +01:00
Andreas Schneider 29f9871161 More fixes for pidl packaging
MakeMaker installs files with 0444:

https://bugzilla.redhat.com/show_bug.cgi?id=1780126

Define permissions when packaging files as a workaround.
2019-12-05 15:04:18 +01:00
Andreas Schneider 63c45b0f9c Fix pidl packageing 2019-12-02 12:06:24 +01:00
Andreas Schneider d8d5855742 Remove the pidl patch and build pidl using its Makefile.PL 2019-11-29 11:20:00 +01:00
Andreas Schneider 6c604304ff Restart the winbind service on upgrade 2019-11-25 12:02:45 +01:00
Alexander Bokovoy 176352605d Rebase no-DES patch for 4.11.2 2019-11-06 12:14:08 +02:00
Alexander Bokovoy 30d958fe7b Update DES removal patch 2019-11-06 12:01:00 +02:00
Andreas Schneider 569e038159 Fix building without addc 2019-10-30 14:07:14 +01:00
Günther Deschner 8b95929035 Update to Samba 4.11.2
resolves: #1763137, #1766558 - Security fixes for CVE-2019-10218
resolves: #1764126, #1766559 - Security fixes for CVE-2019-14833

Guenther
2019-10-29 15:44:46 +01:00
Alexander Bokovoy 03a27a2599 Fix deployment of Samba AD DC with MIT Kerberos
When DES encryption is not supported in MIT Kerberos, deployment of
Samba AD DC fails with

"ERROR(ldb): uncaught exception - setup_kerberos_keys: generation of a
des-cbc-md5 key failed: Bad encryption type"

Fix it by not using DES encryption types in MIT build.

Resolves #1757071
2019-10-27 13:31:38 +02:00
Alexander Bokovoy a744fc0117 Correct generated krb5.conf file to actually find own realm 2019-10-27 13:27:03 +02:00
Alexander Bokovoy e9627e790b Do not allow DES encryption when using Kerberos
MIT Kerberos did remove support for DES. Without removing DES from the
default encryption types list we cannot proceed with Samba AD DC
creation.

Convert internal DES implementation to use GnuTLS instead.
2019-10-27 13:23:45 +02:00
Alexander Bokovoy e5c09f56c5 Both testsuite and AD DC builds require ldb/tdb-tools and python modules 2019-10-27 12:26:30 +02:00
Günther Deschner 9e83e1f955 Update to Samba 4.11.1
Guenther
2019-10-18 16:50:48 +02:00
Günther Deschner 856af2e226 Update to Samba 4.11.0
Guenther
2019-09-17 15:36:13 +02:00
Günther Deschner 85a89f29c5 Update to Samba 4.11.0rc4
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
2019-09-12 00:21:36 +02:00
Günther Deschner 4bb65f79e0 Add missing files
Guenther
2019-09-04 09:13:49 +02:00
Günther Deschner 2576eaa8cf Fix ldb version dependency
Guenther
2019-09-03 14:44:38 +02:00
Günther Deschner 8cd9e18859 Update to Samba 4.11.0rc3
resolves: #1746225, #1748308 - Security fixes for CVE-2019-10197

Guenther
2019-09-03 14:31:58 +02:00
Günther Deschner 43905f8ce7 re-add pidl
resolves: #1746014

Guenther
2019-08-29 13:26:24 +02:00
Lubomir Rintel 03200dff29 Move the NetworkManager dispatcher script out of /etc
It's not user configuration and shouldn't ever have been there. Except for that
it used to be the only location NetworkManager looked into. With NetworkManager
1.20 that is no longer the case and the dispatcher scripts can be moved to
/usr/lib.
2019-08-26 20:47:34 +02:00
Günther Deschner 2bed036e93 Update to Samba 4.11.0rc2
Thanks to Lukas Slebodnik <lslebodn@fedoraproject.org>

Guenther
2019-08-26 15:48:48 +02:00
Günther Deschner c174d658c2 Update to Samba 4.11.0rc1
Guenther
2019-08-26 12:59:43 +02:00
Miro Hrončok f4980e8f7e Rebuilt for Python 3.8 2019-08-19 11:05:43 +02:00
Alexander Bokovoy e9d6c3ff33 Allow Windows to resolve IPA users and groups over LSA RPC
Fixes: https://bugzilla.samba.org/show_bug.cgi?id=14091
2019-08-16 11:15:00 +03:00
Fedora Release Engineering 83f40a53eb - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 22:38:48 +00:00
Günther Deschner 30c7339758 Add missing samba tests in filelist
Guenther
2019-07-13 19:14:15 +02:00
Günther Deschner f69b2b0217 Update to Samba 4.10.6
Guenther
2019-07-08 16:10:49 +02:00
Günther Deschner b6c2e29b4a Avoid deprecated time.clock in wafsamba
resolves: #1718113

Update to latest waf version 2.0.17

resolves: #1711638

Guenther
2019-07-01 17:46:59 +02:00
Günther Deschner 06c62a692d Various bugfixes
resolves: #1602824 - Make vfs_fruit operable with other remote VFS modules
resolves: #1716455 - Avoid pathconf() in get_real_filename() VFS calls
resolves: #1706090, #1700791 - Fix smbspool

Guenther
2019-06-20 20:57:37 +02:00
Günther Deschner bfd237a88e Update to Samba 4.10.5
resolves: #1711816, #1721872 - Security fixes for CVE-2019-12435
resolves: #1711837, #1721873 - Security fixes for CVE-2019-12436

Guenther
2019-06-19 12:35:34 +02:00
Jitka Plesnikova 031398b6ab Perl 5.30 rebuild 2019-05-31 06:55:34 +02:00
Günther Deschner 461627cebb Add more missing ctdb directories
resolves: #1656777

Guenther
2019-05-28 13:32:54 +02:00
Günther Deschner d062acc7b3 Add missing /etc/ctdb/events/legacy directory
Guenther
2019-05-28 12:15:15 +02:00
Günther Deschner eecd9d56d0 Update to Samba 4.10.4
Guenther
2019-05-22 14:46:10 +02:00
Andreas Schneider 0cdb9d87a4 Fix License tag 2019-05-17 16:44:00 +02:00
Andreas Schneider d67bdef6ca Add missing Requires 2019-05-15 17:46:07 +02:00
Andreas Schneider 00f50422f7 Move libcluster-samba4.so to samba-client-libs
This is used by client libs and we don't want to require samba-libs.
2019-05-15 17:41:04 +02:00
Günther Deschner 436e6ea1ab Update to Samba 4.10.3
resolves: #1705877, #1709679 - Security fixes for CVE-2018-16860

Guenther
2019-05-14 10:33:03 +02:00
Andreas Schneider 0886ab0c3b If we build Samba without AD DC obsolete DC packages 2019-05-10 11:31:35 +02:00
Andreas Schneider 6d8230cbfd Always package glusterfs_fuse 2019-05-10 09:37:55 +02:00
Andreas Schneider 12a645ef2c Add missing BR for libtasn1-tools to get asn1Parser 2019-05-09 18:17:09 +02:00
Andreas Schneider 009991df0a Add missing BR for libtasn1-devel and gnutls-devel in non-AD case 2019-05-09 18:05:04 +02:00
Andreas Schneider 507f87a34c Remove python2 code for building on RHEL
Samba has python3 support now.
2019-05-09 17:48:03 +02:00
Andreas Schneider a5b527fe93 Rebuild for MIT Kerberos soname bump of libkadm5srv
resolves: #1699230
2019-04-15 13:18:38 +02:00
Günther Deschner fe35505836 Add missing test files
Guenther
2019-04-09 11:22:35 +02:00
Günther Deschner 6c625d2193 Update to Samba 4.10.2
resolves: #1689010, #1697718 - Security fixes for CVE-2019-3870
resolves: #1691518, #1697717 - Security fixes for CVE-2019-3880

Guenther
2019-04-09 10:59:44 +02:00
Günther Deschner 837c9f1b1c Update to Samba 4.10.1
Guenther
2019-04-03 11:08:29 +02:00
Andreas Schneider 7d9e9baef5 Fix typo in BR for python3-subunit-test 2019-03-25 16:58:02 +01:00
Andreas Schneider 5a16bed392 Add missing DC requirement for its python3 tools
resolves: #1692347
2019-03-25 16:21:21 +01:00
Andreas Schneider fa7412b328 Rename patch to fix make install 2019-03-25 16:20:54 +01:00
Andreas Schneider 68f311fcaa Add BuildRequires for the python3 subunit tests to run selftest 2019-03-25 16:18:01 +01:00
Günther Deschner e1cadd0ea6 Fix build failure (duplication during install)
Guenther
2019-03-20 19:14:10 +01:00
Günther Deschner f7481df50d Fix non-DC build.
Guenther
2019-03-19 17:45:56 +01:00
Günther Deschner 9dc720da4d Update to Samba 4.10.0
Guenther
2019-03-19 12:17:32 +01:00
Günther Deschner 7eff93fa0b Update to Samba 4.10.0rc4
Guenther
2019-03-06 14:47:57 +01:00
Günther Deschner f537739911 Update to Samba 4.10.0rc3
Guenther
2019-02-22 13:51:42 +01:00
Igor Gnatenko d5a38cc8ab Rebuild for readline 8.0 2019-02-17 09:31:07 +01:00
Andreas Schneider 57d362cb8f Fix public NDR API
resolves: #1672231
2019-02-14 15:11:35 +01:00
Anoop C S 22af7371c7 Fix mailman hyperlink in README
Signed-off-by: Anoop C S <anoopcs@redhat.com>
2019-02-13 08:49:44 +00:00
Günther Deschner 737284e448 Move samba.xattr modules out of python3 test package
resolves: #1674547

Guenther
2019-02-12 15:53:35 +01:00
Günther Deschner 2961c3a683 Update to Samba 4.10.0rc2
Guenther
2019-02-06 16:38:48 +01:00
Günther Deschner 3167ab6362 Remove python2 from the build
Guenther
2019-01-31 16:31:14 +01:00
Günther Deschner fa9745376a Update to Samba 4.10.0rc1
Guenther
2019-01-31 16:31:14 +01:00
Igor Gnatenko 8cb13b2d8b
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:53 +01:00
Björn Esser d59d5d69d2
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 19:16:02 +01:00
Günther Deschner 5eff0802dd Update to Samba 4.9.4
Guenther
2018-12-20 11:45:46 +01:00
Andreas Schneider 08bc45b085 Fix /var/run/samba -> /run/samba
This also creates warnings on boot if /var/run in in a tmpfile.
2018-12-10 18:34:57 +01:00
Andreas Schneider 271d438a35 Add missing Require to ldb-tools for samba-tool 2018-12-10 18:34:57 +01:00
Günther Deschner 4399751038 Keep building with MIT KDC support
Guenther
2018-11-28 09:14:11 +01:00
Günther Deschner 221435e850 Update to Samba 4.9.3
resolves: #1625449, #1654078 - Security fixes for CVE-2018-14629
resolves: #1642545, #1654082 - Security fixes for CVE-2018-16841
resolves: #1646377, #1654091 - Security fixes for CVE-2018-16851
resolves: #1646386, #1654092 - Security fixes for CVE-2018-16852
resolves: #1647246, #1654093 - Security fixes for CVE-2018-16853
resolves: #1649278, #1654095 - Security fixes for CVE-2018-16857

Guenther
2018-11-28 08:40:36 +01:00
Andreas Schneider 83383bda5e Add missing Archive::Tar perl module for selftest 2018-11-20 08:53:37 +01:00
Andreas Schneider beec0125b6 There are no pygpgme packages anymore 2018-11-16 13:25:28 +01:00
Andreas Schneider 86571df3f4 Add lmdb as a BuildRequire for 'make test' 2018-11-12 18:36:50 +01:00
Andreas Schneider c54f499f1b Add missing requirement to lmdb 2018-11-12 18:35:16 +01:00
Günther Deschner 0516288a3b Update to Samba 4.9.2
Guenther
2018-11-08 20:01:08 +01:00
Andreas Schneider af6b030436 Move libMESSAGING-SEND-samba4.so a few lines down 2018-09-28 15:13:31 +02:00
Andreas Schneider 6505aa953f We always build with mit_krb5 in the meantime 2018-09-26 12:17:03 +02:00
Alexander Bokovoy 39c6fe7d44 Add CTDB examples with a config migration script 2018-09-26 09:44:42 +03:00
Andreas Schneider d78c05ea80 Use spaces instead of tabs 2018-09-24 11:59:15 +02:00
Andreas Schneider d24ae51b78 Update to version 4.9.1 2018-09-24 11:02:26 +02:00
Günther Deschner 90f5d3ce6a Update to Samba 4.9.0
Guenther
2018-09-13 12:23:53 +02:00
Andreas Schneider b939d51dfd Update samba-4.9.0rc5-parallel-builds.patch 2018-09-06 13:54:16 +02:00
Andreas Schneider 748de698fb Update to version 4.9.0rc5 2018-09-06 13:27:39 +02:00
Günther Deschner a1a51adf2b Update to Samba 4.9.0rc4
Guenther
2018-08-29 17:34:43 +02:00
Andreas Schneider c32b0a7c4f Don't create a dc or dc-libs package if not enabled 2018-08-22 12:31:13 +02:00
Andreas Schneider c22327fe59 Update samba-client-libs
samba-client-libs should not depend on samba-libs. Found by rpmdiff.
2018-08-21 16:04:43 +02:00
Andreas Schneider 460c9949b8 Add missing Requires to python3-samba-libs
Found by rpmdiff
2018-08-21 16:03:20 +02:00
Andreas Schneider 437bb44f43 Add a dot to the License tag
rpmdiff complains about a missing dot in the License tag to be valid.
2018-08-20 20:28:47 +02:00
Günther Deschner 806044e1dc More python3 cleanup
Guenther
2018-08-17 15:27:47 +02:00
Andreas Schneider fd5746f1d1 Fix python3 packaging 2018-08-17 15:21:14 +02:00
Günther Deschner 37a07dd202 Update to Samba 4.9.0rc3
resolves: #1589651, #1617916 - Security fixes for CVE-2018-1139
resolves: #1580230, #1618613 - Security fixes for CVE-2018-1140
resolves: #1612805, #1618697 - Security fixes for CVE-2018-10858
resolves: #1610640, #1617910 - Security fixes for CVE-2018-10918
resolves: #1610645, #1617911 - Security fixes for CVE-2018-10919

Guenther
2018-08-17 13:09:28 +02:00
Colin Walters 14849e6974 Use tmpfiles macro
Currently this will always run even if we're not booted via systemd;
I saw error spew when doing an rpm-ostree build.  The systemd
macro silences errors.
2018-08-06 15:36:33 +02:00
Andreas Schneider 3bf028cf0b Add some spec file cleanups 2018-08-01 18:28:10 +02:00
Günther Deschner ea99297a6a Update to Samba 4.9.0rc2
Guenther
2018-08-01 01:54:00 +02:00
Andreas Schneider 922022e99c Add explict require to samba-common-libs for python packages 2018-07-31 15:57:15 +02:00
Günther Deschner 3f80b48c15 Fix non-dc build.
Guenther
2018-07-15 02:24:15 +02:00
Günther Deschner 5a4cd443c9 Update to Samba 4.9.0rc1
Guenther
2018-07-13 17:45:07 +02:00
Alexander Bokovoy b49cb5bbcc Change __bss_start scope to local
There was a typo in the original bug which used _bss_start instead of
__bss_start. As result, __bss_start wasn't scoped locally.
2018-07-12 15:24:36 +03:00
Alexander Bokovoy 58966617d0 Change scope to local for symbols automatically added by upcoming binutils 2.31
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1600035
2018-07-12 12:03:35 +03:00
Alexander Bokovoy 11acd9fe49 Rebuild against binutils-2.30.90-2.fc29 and add explicit gcc build requirement 2018-07-11 12:54:38 +03:00
Jason Tibbitts 701241ff0d Remove needless use of %defattr 2018-07-10 01:17:53 -05:00
Petr Písař 3aa7c5f24e Perl 5.28 rebuild 2018-07-06 09:36:36 +02:00
Alexander Bokovoy d16696ffdf Fix python_sitearch use 2018-07-05 12:31:24 +03:00
Alexander Bokovoy 9e2fad6da3 Move PYTHON export before 'make install' 2018-07-05 11:35:32 +03:00
Alexander Bokovoy 709aee1166 Fix rawhide build by explicitly using /usr/bin/python2 2018-07-05 10:41:47 +03:00
Petr Písař f8d533d7e0 Perl 5.28 rebuild 2018-07-03 12:35:58 +02:00
Miro Hrončok 395e14df71 Rebuilt for Python 3.7 2018-07-02 18:24:57 +02:00
Jitka Plesnikova 42928d5106 Perl 5.28 rebuild 2018-06-28 06:12:41 +02:00
Andreas Schneider 0008208818 Use the gold linker by default
This makes linking much faster!
2018-06-27 18:26:04 +02:00
Andreas Schneider e82a11f803 Update to Samba 4.8.3 2018-06-27 15:20:26 +02:00
Miro Hrončok 3e4da0ed16 Rebuilt for Python 3.7 2018-06-19 11:28:02 +02:00
Günther Deschner d737df5458 Update to Samba 4.8.2
Guenther
2018-05-16 16:45:45 +02:00
Andreas Schneider afb4bfc6f4 Bump release 2018-05-09 13:57:42 +02:00
Andreas Schneider 6b81732bcf Fix smbspool command line argument handling
resolves: #1574177
2018-05-09 13:51:03 +02:00
Günther Deschner 7d36d24c88 Update to Samba 4.8.1
Guenther
2018-04-26 11:33:56 +02:00
Andreas Schneider 3386b9a228 Fix escaping in comments 2018-04-12 11:30:24 +02:00
Andreas Schneider 82f68d716f Fix building without AD DC support 2018-04-12 11:25:30 +02:00
Günther Deschner 28852a4354 Security fixes for CVE-2018-1050 CVE-2018-1057, update to Samba 4.8.0
resolves: #1555112
resolves: #1554754, #1554756

Guenther
2018-03-14 11:18:30 +01:00
Andreas Schneider 6a7dcc6f82 Fix usage of nc in ctdb tests and only recommned it
resolves: #1552652
2018-03-13 09:32:17 +01:00
Günther Deschner 872e9d79c7 Update to Samba 4.8.0rc4
Guenther
2018-03-02 11:15:22 +01:00
Igor Gnatenko d1c03e5637
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:38:49 +01:00
Günther Deschner dcbb0b8c7c Add missing virusfilter vfs module and manpage.
Guenther
2018-02-12 16:18:31 +01:00
Günther Deschner dd569a8121 Update to Samba 4.8.0rc3
Guenther
2018-02-12 16:12:14 +01:00
Igor Gnatenko a48a559626
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:06:14 +01:00
Günther Deschner 6d917ae7f3 Update to Samba 4.8.0rc2
Guenther
2018-01-26 18:43:27 +01:00
Andreas Schneider 92a8ad3109 Use undefine do disable strict symbol definitions 2018-01-25 20:24:58 +01:00
Andreas Schneider 78c6349ed7 Override linker flags done in redhat-rpm-config-84-1.fc28
https://bugzilla.redhat.com/show_bug.cgi?id=1535422
https://fedoraproject.org/wiki/Changes/BINUTILS2291
2018-01-25 20:05:56 +01:00
Björn Esser f3ddc2f6b9
Explicitly BR: rpcsvc-proto-devel 2018-01-21 18:06:11 +01:00
Björn Esser aebc4f165a
Rebuilt for switch to libxcrypt 2018-01-20 23:08:31 +01:00
Günther Deschner b005745a32 additional 4.8.0 build patch and build requries for tirpc and rpcsvc
Guenther
2018-01-19 18:26:04 +01:00
Andreas Schneider 922fe5a60e Add new BuildRequires for running the testsuite 2018-01-16 16:36:30 +01:00
Günther Deschner cba93b405e Update to Samba 4.8.0rc1
Guenther
2018-01-16 13:42:28 +01:00
Andreas Schneider a90d9e28f5 Add rpcgen as build dependency
glibc doesn't provide it anymore in glibc-common, see brc#1531540.
2018-01-08 17:39:35 +01:00
Andreas Schneider c0e8781124 Add missing dependency for tdbbackup
resolves: #1508092
2018-01-08 14:52:26 +01:00
Andreas Schneider 1b04b06c34 Add missing requirement 2018-01-08 14:48:52 +01:00
Andreas Schneider 9a240ba9a1 Fix changelog entry 2018-01-08 14:48:52 +01:00
Günther Deschner 33750e1b79 Fix ldb_version to match what is really the new minimal required version
No rebuild required, as we already have ldb 1.3.0 available in rawhide
and f27 anyways.

Guenther
2018-01-03 15:53:53 +01:00
Günther Deschner 8570164cb5 Fix the build of 4.7.4
Guenther
2017-12-25 19:40:04 +01:00
Günther Deschner 39290a7be7 Update to Samba 4.7.4
Guenther
2017-12-25 18:39:57 +01:00
Andreas Schneider 94723f8841 Link libaesni-intel-samba4.so with -z noexecstack
resolves: #1520163
2017-12-04 11:07:08 +01:00
Andreas Schneider 83f86d94f0 Fix Samba daemons with systemd 2017-11-30 08:31:07 +01:00
Bastien Nocera 73e15d8b0d Enable AES acceleration on Intel compatible CPUs by default
Reviewed-by: Andreas Schneider <asn@redhat.com>
2017-11-29 21:49:37 +01:00
Günther Deschner fd42fa1d91 Update to Samba 4.7.3: Security fix for CVE-2017-14746 and CVE-2017-15275
resolves: #1515692

Guenther
2017-11-21 10:11:45 +01:00
Günther Deschner 12d68e6e96 Update to Samba 4.7.2
resolves: #1513452

Guenther
2017-11-15 15:01:58 +01:00
Andreas Schneider 15b2c01877 Fix release numbers 2017-11-13 09:20:45 +01:00
Andreas Schneider 12932b2144 Revert "Cleanup spec file conditionals"
This reverts commit 2d1c4edfbc.
2017-11-13 09:19:01 +01:00
Merlin Mathesius 2d1c4edfbc Cleanup spec file conditionals 2017-11-10 10:33:26 -06:00
Igor Gnatenko b621211029 Remove old crufty coreutils requires
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-11-07 16:35:20 +01:00
Günther Deschner c632c9bd76 Add one missing python3 test
Guenther
2017-11-02 13:48:36 +01:00
Günther Deschner f5f879374f Update to Samba 4.7.1
resolves: #1508871

Guenther
2017-11-02 13:30:02 +01:00
Alexander Bokovoy f47bb7e929 Force samba-dc to require the same libldb version as the build
resolves #1507420 -- LDB / Samba module version mismatch
2017-10-30 22:24:12 +02:00
Andreas Schneider 766dc03f5c Move dsdb libs to python2-samba-dc 2017-10-27 11:21:29 +02:00
Andreas Schneider 475e7f5e45 Create python[2|3]-samba-dc packages 2017-10-26 14:40:02 +02:00
Andreas Schneider 98a21cd2c9 Add bug number to changelog entry 2017-10-25 13:49:37 +02:00
Andreas Schneider 25e27d6c6c Create vfs_dfs_samba4 as a shared module 2017-10-25 12:34:04 +02:00
Andreas Schneider 3375cf82c1 Add missing build dependencies 2017-10-25 10:10:18 +02:00
Andreas Schneider 6fd5fd09ac Move common-auth to client-libs 2017-10-25 09:26:20 +02:00
Andreas Schneider 29cffde5db Cleanup the spec file and do not allow to build with internal libraries 2017-10-25 09:26:20 +02:00
Andreas Schneider 4780df334c Add support for MIT Kerberos 1.16 2017-10-25 09:26:16 +02:00
Andreas Schneider d5995e9c90 Move libdfs-server-ad to main samba package
This is only used by smbd
2017-10-25 09:22:56 +02:00
Andreas Schneider 8b94bf9ddc Fix building without the DC 2017-10-23 21:04:56 +02:00
Andreas Schneider 748379c596 Move libdfs-server-ad to the correct subpackage 2017-10-13 10:32:20 +02:00
Alexander Bokovoy a837b0f42b Rebuild against new krb5 1.16 and docbook-xml
- Move %{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so to %{name}-dc-libs
- Rebuild in rawhide against new krb5 1.16 and docbook-xml
2017-10-06 16:51:26 +03:00
Günther Deschner e75601d1bd Update to Samba 4.7.0
resolves: #1493441 - Security fix for CVE-2017-12150 CVE-2017-12151 CVE-2017-12163

Guenther
2017-09-21 18:06:26 +02:00
Günther Deschner b83bc7aaa3 Fix the build
Guenther
2017-09-18 00:24:45 +02:00
Günther Deschner 7b5fa67a7d Fix ldb version dependency to 1.2.2
Guenther
2017-09-17 23:08:40 +02:00
Günther Deschner fab93eda52 Update to Samba 4.7.0rc6
Guenther
2017-09-17 22:47:52 +02:00
Alexander Bokovoy b9b5c2081a Update patch 2017-09-13 12:06:48 +03:00
Alexander Bokovoy f8e2537f2b dcerpc/__init__.py is not packaged for py3
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1491137
2017-09-13 11:42:36 +03:00
Andreas Schneider 0c4b24bb70 Create a seperate samba-dc-bind-dlz package
resolves: #1476175
2017-09-12 16:25:15 +02:00
Günther Deschner 07b6e565e5 Update to Samba 4.7.0rc5
Guenther
2017-08-29 11:51:57 +02:00
Anoop C S e0e4cda319 Add README from upstream
Converting into markdown format so that it gets
dsiplayed in nice format on home page.
2017-08-25 13:25:03 +05:30
Andreas Schneider a46cf242b2 Let the client-libs package require krb5-libs 2017-08-23 17:33:35 +02:00
Andreas Schneider 2c9484e0bb With Samba 4.7 we always want krb5 1.15.1 2017-08-23 16:15:55 +02:00
Andreas Schneider 1d473a5368 Give 'printadmin' access to the printer driver directory 2017-08-08 16:10:19 +02:00
Andreas Schneider e4fb31f68b Create group 'printadmin' by default 2017-08-08 16:06:04 +02:00
Jeff Layton f060e5d58a Remove explicit Requires for libcephfs1
This is broken since upstream ceph has moved on to libcephfs2. Let the
packaging depsolver figure that out instead.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2017-08-07 11:10:03 -04:00
Florian Weimer 57b82be0ff Rebuild with fixed binutils for ppc64le (#1475636) 2017-07-30 19:04:11 +02:00
Fedora Release Engineering a82942a3d1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 18:06:05 +00:00
Andreas Schneider 5f75ea2001 Fix typo in samba-dc requirements 2017-07-26 11:25:25 +02:00
Andreas Schneider 0a61e0cbed Add support for avahi 2017-07-26 11:25:23 +02:00
Andreas Schneider d9baae2495 Fix release number
With pre releases you cannot set the main_release back to 0 for a pre
release. Also the first real release needs to be set to 1.
2017-07-25 12:50:23 +02:00
Günther Deschner be2516f82a Update to Samba 4.7.0rc3
Guenther
2017-07-25 11:38:51 +02:00
Andreas Schneider 88a6ab9186 Build with ceph support only on 64bit systems 2017-07-24 16:44:53 +02:00
Andreas Schneider a5f3642b76 Update build requirement for libcephfs 2017-07-24 16:35:02 +02:00
Andreas Schneider 6c488ea890 Rename samba-python to python2-samba 2017-07-24 16:05:28 +02:00
Andreas Schneider 3c0a88ce17 Update build requires for Samba libraries 2017-07-24 16:05:20 +02:00
Alexander Bokovoy e41de2ef5e More python fixes and support for samba systemd service
- Samba AD DC tools currently cannot be used with Python 3, make them
  explicitly using Python 2
- Install system service file for samba service
2017-07-20 13:43:22 +03:00
Andreas Schneider 76c6fa8694 Add python2-dns to avoid installing the Samba copy 2017-07-19 11:14:10 +02:00
Alexander Bokovoy c276784823 More explicit python artifacts and python{2,3}-dns dependencies 2017-07-18 19:48:59 +03:00
Alexander Bokovoy f9248d7740 More python-related spec changes
- Explicitly specify Python artifacts in the spec to be able to catch unpackaged ones
- Split 'make test' Python code into separate python2-samba-test/python3-samba-test sub-packages
2017-07-18 18:41:57 +03:00
Alexander Bokovoy 5040363854 Convert more rpc modules to python3 2017-07-18 18:41:42 +03:00
Andreas Schneider 23105d80f1 Remove heimdal from bundled-libraries 2017-07-12 10:52:06 +02:00
Andreas Schneider 9724412025 Fix posttrans of libwbclient-devel 2017-07-06 11:48:58 +02:00
Andreas Schneider b6993251fb Add python3 support 2017-07-06 11:46:09 +02:00
Andreas Schneider db0f9af6df Do not install conflicting file _ldb_text.py 2017-07-06 07:48:15 +02:00
Andreas Schneider bff8742edf Fix requirements for shared libraries 2017-07-05 17:17:30 +02:00
Andreas Schneider 8943b26889 Always require cmocka as a build dependency 2017-07-05 12:06:39 +02:00
Andreas Schneider 0815b05296 Update the README.dc which is packaged if we do not build the AD DC 2017-07-05 11:09:47 +02:00
Andreas Schneider 46102da87c Fix build without the testsuite enabled 2017-07-05 11:00:39 +02:00
Andreas Schneider 3144ccb68a Fix building unit tests only when we build the testsuite 2017-07-05 10:10:18 +02:00
Andreas Schneider 2f5eed5ed8 Add missing Requires for krb5-server 2017-07-05 09:57:51 +02:00
Alexander Bokovoy 3bb6bb8cd5 Add samba/libcmocka-samba4.so to test subpackage 2017-07-05 10:51:16 +03:00
Andreas Schneider 4fc2caac25 Package Samba with AD DC 2017-07-05 09:43:31 +02:00
Günther Deschner c18c5fce45 Update to Samba 4.7.0rc1
Guenther
2017-07-05 08:23:19 +02:00
Andreas Schneider b6773ca66c Fix typo 2017-06-12 15:14:21 +02:00
Andreas Schneider 2fd8e84d89 Make it easier to read update-alternatives 2017-06-12 14:00:19 +02:00
Günther Deschner 3644aabc73 Add missing files for 4.6.5 build
Guenther
2017-06-12 11:46:11 +02:00
Günther Deschner 87ad352723 Update to Samba 4.6.5
Guenther
2017-06-12 10:07:43 +02:00
Jitka Plesnikova 22058e301b Perl 5.26 rebuild 2017-06-04 17:57:52 +02:00
Andreas Schneider 0b6a4f5b49 This fixes bug #1451486 2017-05-24 11:24:58 +02:00
Günther Deschner 4bdcc52143 Update to Samba 4.6.4
resolves: #1455050 - Security fix for CVE-2017-7494

Guenther
2017-05-24 09:28:13 +02:00
Günther Deschner fb8e3b8790 Remove non-exisiting auth and passdb modules from configure
Guenther
2017-05-10 14:45:26 +02:00
Andreas Schneider b97eeadf07 Update libraries and modules name 2017-05-09 20:59:54 +02:00
Günther Deschner b8489eebb2 Update to Samba 4.6.3
Guenther
2017-04-25 09:37:08 +02:00
Günther Deschner ca2c6f812f Update to Samba 4.6.2
related: #1435156 - Security fix for CVE-2017-2619

Guenther
2017-03-31 10:04:17 +02:00
Andreas Schneider 6000666f31 Set the Kerberos version requirement based on what we build 2017-03-28 14:24:51 +02:00
Andreas Schneider 2d7caa5e7e Only require cmocka for the testsuite build 2017-03-28 14:04:15 +02:00
Günther Deschner 471676d0d1 Update to Samba 4.6.1
resolves: #1435156 - Security fix for CVE-2017-2619

Guenther
2017-03-23 11:20:02 +01:00
Andreas Schneider f46fdc5fe3 Fix typo in ctdbd.conf file naming 2017-03-21 11:27:48 +01:00
Alexander Bokovoy 4fdfe93b52 Fix bogus date 2017-03-15 13:51:14 +02:00
Alexander Bokovoy 563829e681 export arcfour_crypt_blob to Python as samba.crypto.arcfour_encrypt 2017-03-15 13:47:49 +02:00
Alexander Bokovoy de786e0220 one more patch from git master 2017-03-10 19:47:24 +02:00
Alexander Bokovoy 4a8bf8a4fb credentials_krb5: use gss_acquire_cred for client-side GSSAPI use case
Resolves: #1430761
2017-03-09 16:36:37 +02:00
Andreas Schneider 922061530e Update to Samba 4.6.0 2017-03-07 10:56:38 +01:00
Andreas Schneider a677332cb7 Update to Samba 4.6.0rc4 2017-03-02 16:52:51 +01:00
Andreas Schneider 2d9307e9ef Update config for ctdb 2017-02-16 14:41:38 +01:00
Andreas Schneider 210ebf6c8b Forgot to turn ceph back on 2017-02-14 19:06:47 +01:00
Andreas Schneider 6694b991e6 Update to Samba 4.6.0rc3 2017-02-14 19:01:55 +01:00
Fedora Release Engineering 5536d5a2ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 13:03:00 +00:00
Andreas Schneider ee77397d9f Do not install the unit test binary for krb5samba 2017-02-01 15:55:59 +01:00
Andreas Schneider 3bfd2f6fe8 Verify the tarball with the gpg key and amror file from Samba 2017-02-01 15:34:35 +01:00
Andreas Schneider efeb993fcb Update SOURCES list 2017-02-01 15:18:09 +01:00
Andreas Schneider ff43b48f48 Add missing packaged required for running 'make test' 2017-02-01 10:06:10 +01:00
Günther Deschner eb3b10f653 Update to Samba 4.6.0rc2
Guenther
2017-01-27 09:17:46 +01:00
Andreas Schneider 4777758026 Add missing Requires for pre-required packages
resolves: #1319098
2017-01-12 17:36:34 +01:00
Andreas Schneider 8549daec78 Fix the file list
Tests should be in the test package
2017-01-06 09:51:05 +01:00
Andreas Schneider aa506b1474 Fix build 2017-01-05 16:57:07 +01:00
Günther Deschner 48dfe085d4 Update to Samba 4.6.0rc1
Guenther
2017-01-05 13:02:12 +01:00
Günther Deschner f2438efbfb Update to Samba 4.5.3
resolves: #1405984 - CVE-2016-2123,CVE-2016-2125 and CVE-2016-2126

Guenther
2016-12-19 16:28:59 +01:00
Günther Deschner 64da37fff9 Update to Samba 4.5.2
Guenther
2016-12-08 16:36:18 +01:00
Anoop C S 3a3f2e0c38 Remove executable permission bits from ctdb service file
Avoids the following warning message from /var/log/messages:

...
systemd: Configuration file /usr/lib/systemd/system/ctdb.service
is marked executable. Please remove executable permission bits.
Proceeding anyway.
...

Signed-off-by: Anoop C S <anoopcs@redhat.com>
2016-12-07 19:04:24 +05:30
Rex Dieter bb76194b10 rebuild (libldb) 2016-12-05 10:48:39 -06:00
Andreas Schneider 044dd71af0 Update to latest package guidelines 2016-11-15 11:13:36 +01:00
Anoop C S b388f3b6b5 Fix glfs_realpath allocation in vfs_glusterfs
Signed-off-by: Anoop C S <anoopcs@redhat.com>
2016-11-06 11:45:10 +01:00
Günther Deschner 246056fcd9 Update to Samba 4.5.1
Guenther
2016-10-26 14:28:29 +02:00
Andreas Schneider b5ac765019 Fix tevent incompatibility issue
resolves: 1375973
2016-10-17 15:08:45 +02:00
Andreas Schneider e1db6e2ff0 Add python-gpgme to to the build requries if we run the testsuite 2016-09-22 15:46:45 +02:00
Günther Deschner ef938d96c0 Fix smbspool alternatives handling during samba-client uninstall
Guenther
2016-09-14 13:08:48 +02:00
Günther Deschner 119990afb5 Update to Samba 4.5.0
Guenther
2016-09-07 17:50:43 +02:00
Günther Deschner 54f445eefb Update to Samba 4.5.0rc3
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
2016-08-29 22:05:03 +02:00
Günther Deschner 9e3c13b35b Update to Samba 4.5.0rc2
Guenther
2016-08-18 14:48:09 +02:00
Andreas Schneider fdf23a9487 Increase required Kerbersion version number 2016-08-17 08:31:36 +02:00
Andreas Schneider 4bb4531b39 Package /var/lib/samba/ldb in the common-libs package
Since gensec also parses secrets.ldb all our tools like 'net' are
looking for this directory and print a warning if it doesn't exist.
2016-08-17 08:30:08 +02:00
Andreas Schneider d56b8178e7 Fix python-crypto requirements 2016-08-17 08:28:42 +02:00
Günther Deschner 41dfb2a33c Update to Samba 4.5.0rc1
Guenther
2016-07-28 15:42:11 +02:00
Fedora Release Engineering 145091f04b - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 12:34:28 +00:00
Günther Deschner 84a98bed87 Update to Samba 4.4.5
resolves: #1353504 - CVE-2016-2119

Guenther
2016-07-07 12:38:10 +02:00
Petr Písař 59ec471ece Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 10:11:08 +02:00
Günther Deschner 1f8cd57ed2 Import of samba.ntacls fails
resolves: #1348899

Guenther
2016-06-23 13:31:40 +02:00
Andreas Schneider 3bd308a51e Small fix to the example smb.conf file
resolves: #1337260
2016-06-20 09:41:05 +02:00
Andreas Schneider 2b0a560ef1 Fix resolving trusted domain users on domain member 2016-06-15 09:37:30 +02:00
Andreas Schneider 4d1ac173ea Set noreplace for /etc/pam.d/samba 2016-06-08 13:16:07 +02:00
Andreas Schneider c0283c4a32 Remove unused patch 2016-06-08 10:56:03 +02:00
Andreas Schneider 525525b405 Fix the DC build 2016-06-08 09:42:22 +02:00
Günther Deschner 3e30a66d37 Add unpackaged new example smb.conf file.
Guenther
2016-06-07 17:13:50 +02:00
Günther Deschner b7fe01738a Update to Samba 4.4.4
resolves: #1343529

Guenther
2016-06-07 14:36:53 +02:00
Andreas Schneider 81464d9392 Use a simple default config file 2016-06-07 10:15:38 +02:00
Andreas Schneider d5e0ad50f0 Update vendor smb.conf 2016-06-07 10:15:38 +02:00
Andreas Schneider b265712e16 Create missing default directories 2016-06-07 10:15:38 +02:00
Alexander Bokovoy 45a08328c0 Updated the patch to use defined() 2016-05-25 14:31:09 +03:00
Alexander Bokovoy 0acf45b178 Fix libsystemd patch 2016-05-25 14:16:10 +03:00
Andreas Schneider a747ed75d6 Fix long description lines 2016-05-25 10:53:18 +02:00
Andreas Schneider 5212a60b94 Fix CTDB packaging 2016-05-25 10:51:11 +02:00
Andreas Schneider 32563ddfb4 Fix Patch* indentation 2016-05-25 10:41:20 +02:00
Andreas Schneider 2f3020da62 Use %{_tmpfilesdir} macro 2016-05-25 10:40:41 +02:00
Zbigniew Jędrzejewski-Szmek 216783b3bd Rebuild to drop libsystemd-daemon dependency 2016-05-23 09:26:33 -04:00
Jitka Plesnikova af5c6851af Perl 5.24 rebuild 2016-05-15 11:04:21 +02:00
Günther Deschner 0126028ccf Update to Samba 4.4.3
resolves: #1332178

Guenther
2016-05-02 17:37:57 +02:00
Günther Deschner fe4e88c4d2 Update to Samba 4.4.2, fix badlock security bug
resolves: #1326453 - CVE-2015-5370
resolves: #1326453 - CVE-2016-2110
resolves: #1326453 - CVE-2016-2111
resolves: #1326453 - CVE-2016-2112
resolves: #1326453 - CVE-2016-2113
resolves: #1326453 - CVE-2016-2114
resolves: #1326453 - CVE-2016-2115
resolves: #1326453 - CVE-2016-2118

Guenther
2016-04-12 19:34:47 +02:00
Günther Deschner 67c517ec83 specfile cleanup from alexander for non-dc builds 2016-04-12 09:47:11 +02:00
Günther Deschner 44e97fd0cf Update to Samba 4.4.0
Guenther
2016-03-22 11:49:22 +01:00
Günther Deschner 42b497c375 Update to Samba 4.4.0rc5
Guenther
2016-03-16 14:49:51 +01:00
Günther Deschner 2c679b9a83 CVE-2015-7560 Incorrect ACL get/set allowed on symlink path
resolves: #1315942

Guenther
2016-03-09 08:46:06 +01:00
Günther Deschner 3a9054a6a2 Increase build version to make this build an update to prior rcs.
Guenther
2016-03-04 13:35:53 +01:00
Günther Deschner b41bccb84b Some more updates from building with internal libraries (or with dc code
enabled)

Guenther
2016-02-24 12:10:06 +01:00
Günther Deschner d23e254f31 Update to Samba 4.4.0rc3
Guenther
2016-02-23 14:59:15 +01:00
Günther Deschner 3062d67c50 Activate multi channel support (switched off by default)
Guenther
2016-02-17 14:52:00 +01:00
Andreas Schneider 45ac61fc06 More spec file fixes 2016-02-15 14:08:29 +01:00
Andreas Schneider bd69688357 More fixes found by rpmlint 2016-02-11 15:33:20 +01:00
Andreas Schneider a4ae61dc8d More fixes for rpmlint 2016-02-11 12:36:09 +01:00
Andreas Schneider a26e3776db Fix issues found by rpmlint 2016-02-11 10:04:39 +01:00
Günther Deschner 724f5ab99a Update to Samba 4.4.0rc2
Guenther
2016-02-10 13:28:06 +01:00
Fedora Release Engineering cbc54b4d41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 23:34:01 +00:00
Günther Deschner 61b7b9c7b2 Add %dir for the various ctdb test directories.
Guenther
2016-01-27 17:35:16 +01:00
Günther Deschner ad1a351b44 Update to Samba 4.4.0rc1
Guenther
2016-01-27 16:02:38 +01:00
Alexander Bokovoy a3be00049b Fix bug #1300038
PANIC: Bad talloc magic value - wrong talloc version used/mixed
2016-01-22 16:38:03 +02:00
Günther Deschner 0b57314e30 Update to Samba 4.3.4
resolves: #1261230

Guenther
2016-01-12 10:45:12 +01:00
Jose A. Rivera 37f4ca9e3e Include internal lib pyldb-util when building internal ldb. 2016-01-11 07:14:13 -06:00
Günther Deschner d48cbd924d Update to Samba 4.3.3 (security release)
resolves: #1292069

CVE-2015-3223 Remote DoS in Samba (AD) LDAP server
CVE-2015-5252 Insufficient symlink verification in smbd
CVE-2015-5296 Samba client requesting encryption vulnerable to
              downgrade attack
CVE-2015-5299 Missing access control check in shadow copy code
CVE-2015-7540 DoS to AD-DC due to insufficient checking of asn1
              memory allocation

Guenther
2015-12-16 13:45:55 +01:00
Günther Deschner be78e92162 Revert the strict dependencies to samba-common(-tools).
These cause python2 to be pulled in by default installations.

Guenther
2015-12-16 11:07:39 +01:00
Günther Deschner 374aae79e8 Update to Samba 4.3.2
resolves: #1261230

Guenther
2015-12-02 00:25:09 +01:00
Günther Deschner 92d1227019 Fix DCE/RPC bind nak parsing
resolves: #1282931

Guenther
2015-11-18 12:15:42 +01:00
Günther Deschner f694e77363 Fix dependencies to samba-common.
Guenther
2015-10-23 16:31:29 +02:00
Günther Deschner 0a81b9e648 Make sure samba-common depends on samba-common-tools.
Guenther
2015-10-21 16:44:14 +02:00
Günther Deschner 84c1317fb0 Move manpages to their appropriate package.
Guenther
2015-10-20 17:25:39 +02:00
Günther Deschner 227bc2ce7a Avoid use of 'samba4' name in package descriptions
Guenther
2015-10-20 17:08:26 +02:00
Günther Deschner 98ae9ad2cc Update to Samba 4.3.1
resolves: #1261230

Guenther
2015-10-20 17:08:10 +02:00
Günther Deschner cfd4b03762 Use separate lockdir
Guenther
2015-10-12 18:32:03 +02:00
Günther Deschner bfb42c8644 Samba fails to start after update to 4.3.0
resolves: #1270568

Guenther
2015-10-12 14:55:47 +02:00
Günther Deschner 8f760691ef Update to Samba 4.3.0
resolves: #1088911

Guenther
2015-09-08 20:23:38 +02:00
Andreas Schneider e91ea2a80f Remove unused patches 2015-09-01 20:14:16 +02:00
Andreas Schneider f00c605844 Update to Samba 4.3.0rc4 2015-09-01 20:06:04 +02:00
Andreas Schneider d4a132e232 Update to Samba 4.3.0rc3 2015-08-31 15:42:47 +02:00
Andreas Schneider 4ed7a425a4 Fix more rpmdiff warnings 2015-07-21 13:59:18 +02:00
Andreas Schneider fc4f4a1d28 Fix Requires found by rpmdiff 2015-07-21 10:44:40 +02:00
Günther Deschner 945aa6753a Update to Samba 4.2.3
resolves: #1088911

Guenther
2015-07-14 14:20:14 +02:00
Andreas Schneider c6c439ff35 Own the /var/lib/samba directory 2015-06-24 14:02:50 +02:00
Andreas Schneider 13e90a3b4a Fix tar support in smbclient 2015-06-24 14:02:50 +02:00
Christoph Wickert dacc7bfe3d Fix trivial typo 2015-06-21 13:52:26 +02:00
Dennis Gilmore 3dc66b2ac3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 00:14:42 +00:00
Jitka Plesnikova bcecb14b2f Perl 5.22 rebuild 2015-06-04 10:18:36 +02:00
Günther Deschner b02bcd4aaa Update to Samba 4.2.2
Guenther
2015-05-28 10:06:55 +02:00
Alexander Bokovoy 1f44861aaa Remove usage of deprecated gnutls APIs 2015-05-11 20:53:51 +03:00
Alexander Bokovoy d3b3af3e07 Samba 4.2 broke FreeIPA trusts to AD
Fixes #1219834
2015-05-11 20:29:59 +03:00
Alexander Bokovoy b42f0ca366 Fix bug 1217346
FreeIPA trusts to AD broken due to Samba 4.2 failure to run LSARPC pipe externally
2015-04-30 13:10:07 +03:00
Alexander Bokovoy c0ff42dac9 Back out samba-common-tools dependancy from samba-client
We should avoid depending on Python 2.7 for samba-client (Fedora
installer requirement for migrating to Python3).
2015-04-27 16:40:56 +03:00
Alexander Bokovoy bfbfe9b14e Require samba-common-tools in samba and samba-client packages
Resolves: #1215631
2015-04-27 14:18:56 +03:00
Alexander Bokovoy b98cbcdfa0 Fix build with systemd libraries
systemd-related fixes did not land in Samba 4.2.1 release, they
are in v4-2-test branch _past_ 4.2.1 release.

We need to keep going with a local patch until 4.2.2 release.
2015-04-25 09:50:33 +03:00
Andreas Schneider d419eb78bd Fix libwbclient alternatives link.
resolves: #1214973
2015-04-24 14:48:58 +02:00
Günther Deschner 4e3c5cf0fd Add vfs snapper module.
Guenther
2015-04-22 09:45:25 +02:00
Günther Deschner dadb29c332 remove snapper vfs module from the default build.
Guenther
2015-04-22 09:31:21 +02:00
Günther Deschner 7fe2753f05 Update to Samba 4.2.1
Guenther
2015-04-21 16:57:09 +02:00
Andreas Schneider 8a7967e1a8 Update Samba to version 4.2.1 2015-04-21 16:33:53 +02:00
Andreas Schneider 3c632c650d Fix package requirements. 2015-04-10 14:07:26 +02:00
Andreas Schneider 4172d0a5d2 Revert to BuildRequires: systemd-devel 2015-04-08 16:31:32 +02:00
Andreas Schneider 24779cac59 Fix libsystemd detection.
resolves: #1207381
2015-04-08 16:17:14 +02:00
Andreas Schneider 53225240fe Fix dependencies. 2015-03-16 10:01:40 +01:00
Andreas Schneider 57cc66edf6 Split the samba-common package to fix multiarch issues 2015-03-16 09:59:40 +01:00
Andreas Schneider bd8c7ac4ee Create samba-client-libs subpackage. 2015-03-16 09:57:41 +01:00
Andreas Schneider 298ec676e8 Fix the AD build. 2015-03-10 19:50:34 +01:00
Günther Deschner dddbeb16bf Update to Samba 4.2.0
Guenther
2015-03-05 23:34:39 +01:00
Andreas Schneider 6e50529ec5 Update to Samba 4.2.0rc5 2015-03-03 16:33:30 +01:00
Andreas Schneider 92a0b5eb14 Remove obsolete patch. 2015-02-23 12:25:29 +01:00
Andreas Schneider 5bc591feb1 Update to Samba 4.2.0rc4 2015-02-23 11:29:00 +01:00
Günther Deschner 952fcdf922 Fix awk as a dependency (and require gawk).
Guenther
2015-01-12 13:16:22 +01:00
Michael Adam 128723b02b Add dependencies for ctdb. 2015-01-12 01:43:37 +01:00
Stephen Gallagher 873866aafc Apply the DEBUG patch 2015-01-09 12:35:50 -05:00
Andreas Schneider 5e5f8378f9 Add samba-4.2.0rc3-fix_debug_macro.patch. 2015-01-09 14:46:50 +01:00
Andreas Schneider be81c7c842 Fix issues with conflicting DEBUG macros. 2015-01-09 14:46:16 +01:00
Michael Adam 68171e80e6 Fix malformed changelog entries. 2015-01-06 17:28:16 +01:00
Michael Adam fa2effabfe Mention latest changes in changelog. 2015-01-06 17:28:02 +01:00
Michael Adam 7ee3ded840 Remove unused variable python_libdir. 2015-01-06 16:55:36 +01:00
Michael Adam f99e2d3c7d Use samba_depver for dependencies for vfs-glusterfs 2015-01-06 16:47:44 +01:00
Michael Adam 117c06c17c Use samba_depver for dependencies for vfs-cephfs 2015-01-06 16:47:44 +01:00
Günther Deschner 1db61d0567 Mention changes and increas version.
Guenther
2015-01-06 16:43:31 +01:00
Günther Deschner 1ab8bac460 Fix typo and use %samba_depver to get epoch as part of the version string.
Guenther
2015-01-06 16:31:15 +01:00
Andreas Schneider ddbec918ec Update to Samba 4.2.0rc3. 2015-01-05 16:31:20 +01:00
Michael Adam 91b8e4957c Remove obsolote swat.desktop file.
Signed-off-by: Michael Adam <obnox@samba.org>
2014-12-02 13:43:03 +01:00
Andreas Schneider 8745bd9ea6 Fix downgrade with alternatives. 2014-11-26 10:32:16 +01:00
Andreas Schneider 7b0911ee43 Fix issue if __isa_bits is not defined. 2014-11-21 16:17:17 +01:00
Andreas Schneider 4b1cbd7a92 Add cwrap to BuildRequires. 2014-11-21 15:58:05 +01:00
Andreas Schneider 758c40f78b Use alternatives for libwbclient. 2014-11-21 15:18:26 +01:00
Andreas Schneider ba46be83c0 Update to version 4.2.0rc2. 2014-11-17 16:14:07 +01:00
Andreas Schneider 19bf1f6445 Fix segfault in winbind.
resolves: #1033595
2014-10-07 16:16:44 +02:00
Andreas Schneider 3620ac8a38 Update to Samba 4.1.12. 2014-09-24 15:50:04 +02:00
Jitka Plesnikova 7c0d8ecfb7 Perl 5.20 mass 2014-09-09 11:18:31 +02:00
Andreas Schneider 96f19a8a7d Add missing require to samba-test-libs. 2014-09-05 15:01:39 +02:00
Jitka Plesnikova 4b896602be Perl 5.20 rebuild 2014-08-27 17:40:43 +02:00
Andreas Schneider 5aa668344b Make it possible to build without clustering with rpmbuild. 2014-08-22 10:23:06 +02:00
Kalev Lember ee6e0585fa Rebuilt for rpm dependency generator failure (#1131892) 2014-08-20 18:44:17 +02:00
Peter Robinson 271bb081fe - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 01:13:15 +00:00
Günther Deschner 610b705f6c Fix the build of samba 4.1.11.
Guenther
2014-08-01 22:27:19 +02:00
Günther Deschner 9cb8107ace use xz compressed filenames.
Guenther
2014-08-01 20:54:09 +02:00
Günther Deschner 5df02b541c prefer xz compressed tarballs over gz compressed ones.
Guenther
2014-08-01 20:46:45 +02:00
Jared K. Smith 8930101144 Update to upstream 4.1.11 release for CVE-2014-3560 2014-08-01 13:23:33 -04:00
Günther Deschner a688882bab Update to Samba 4.1.9.
resolves: #1112251 - Fix CVE-2014-0244 and CVE-2014-3493.

Guenther
2014-06-23 15:22:44 +02:00
Günther Deschner 6e74d8d5b0 Update to Samba 4.1.8.
Guenther
2014-06-11 15:39:56 +02:00
Dennis Gilmore f2ebd7c195 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 00:43:15 -05:00
Andreas Schneider e4cd08cc75 Add missing require for libwbclient.
libwbclient needs libreplace from samba4-libs. Found by rpmdiff.
2014-06-05 14:13:33 +02:00
Andreas Schneider 1365df283d Add systemd integration to the service daemons. 2014-04-03 17:50:40 +02:00
Andreas Schneider cfe9959c3b Created a samba-test-libs package. 2014-03-18 14:53:20 +01:00
Andreas Schneider 87acccc400 Add missing patch. 2014-03-12 09:38:20 +01:00
Andreas Schneider 5b5ff50d15 Fix CVE-2013-4496 and CVE-2013-6442. 2014-03-11 20:26:47 +01:00
Andreas Schneider bad2639ae2 Fix pidl installation. 2014-03-11 20:10:21 +01:00
Andreas Schneider a9fedb2b70 Update to Samba 4.1.5. 2014-02-21 16:15:29 +01:00
Andreas Schneider d0c765fb3e Update to Samba 4.1.4. 2014-02-10 09:28:00 +01:00
Andreas Schneider 35c4943392 Do not build with libbsd.
resolves: #1042845
2014-01-09 11:16:37 +01:00
Günther Deschner 19d8293e91 Fix the date in changelog.
related #1019469

Guenther
2013-12-10 17:08:56 +01:00
Günther Deschner b75d0e1b54 Fix winbind debug message NULL pointer derreference.
resolves: #1019469

Guenther
2013-12-10 17:00:29 +01:00
Andreas Schneider 2acc3c388d Update to Samba 4.1.3.
resolves: #1039454 - CVE-2013-4408.
resolves: #1039500 - CVE-2012-6150.
2013-12-09 12:29:07 +01:00
Andreas Schneider b738a276db Add missing version string in changelog entry. 2013-11-25 18:03:22 +01:00
Andreas Schneider 5d0c90dc65 Update to Samba 4.1.2. 2013-11-25 15:06:21 +01:00
Günther Deschner 0682cb8494 Fix manpage correctness.
resolves: #948509

Guenther
2013-11-19 16:23:00 +01:00
Andreas Schneider 3a15751af7 Fix strict aliasing warnings.
related: #884169
2013-11-15 11:33:20 +01:00
Andreas Schneider 78e9de9cd2 Sync with RHEL7. 2013-11-15 11:21:54 +01:00
Andreas Schneider 2585ccdbbe Fix CVE-2013-4475.
resolves: #1024544
2013-11-11 13:09:31 +01:00
Andreas Schneider 846f6c0214 Fix the upgrade path.
related: #884169
2013-11-11 12:22:30 +01:00
Andreas Schneider e9c1c91760 Fix memset call with zero length in in ntdb.
related: #884169
2013-10-30 08:09:24 +01:00
Andreas Schneider d6ac234518 Add direct dependency to samba-libs in the glusterfs package.
related: #884169
2013-10-30 08:09:23 +01:00
Andreas Schneider bc4911aab0 Fix building with glusterfs VFS module on RHEL.
related: #1020329
2013-10-29 18:12:21 +01:00
Andreas Schneider fcb7e8b937 Build glusterfs VFS plguin.
resolves: #1020329
2013-10-22 17:15:29 +02:00
Andreas Schneider 34dce687c2 Fix installation of pam_winbind after upgrade.
resolves: #1018856
2013-10-15 16:48:47 +02:00
Andreas Schneider 67c18d3e8d Update to Samba 4.1.0.
related: #985609
2013-10-11 16:18:46 +02:00
Andreas Schneider e369c593ed Add a dependency to samba-common in samba-winbind-clients.
related: #884169
2013-10-09 18:14:14 +02:00
Andreas Schneider dc600d3185 Fix several changelog dates.
related: #884169
2013-10-04 15:51:29 +02:00
Andreas Schneider 7a1ac4d235 Split out a samba-winbind-modules package.
resolves: #1010722
2013-10-02 15:32:45 +02:00
Andreas Schneider 2a899e95df Update to Samba 4.1.0rc4.
related: #985609
2013-10-01 17:40:32 +02:00
Andreas Schneider fcef634c79 Update to Samba 4.1.0rc3. 2013-09-11 14:38:36 +02:00
Andreas Schneider 0fc9d86f52 resolves: #717484 - Enable profiling data support. 2013-09-04 14:56:30 +02:00
Günther Deschner 7d1a612333 resolves: #996160 - Fix winbind with trusted domains.
Guenther
2013-08-29 18:17:41 +02:00
Andreas Schneider 684a1b62df Fix winbind nbt name lookup segfault.
resolves: #996160
2013-08-14 08:46:55 +02:00
Andreas Schneider 9220df7904 Update to Samba 4.1.0rc2.
related: #985609
2013-08-12 10:30:14 +02:00
Petr Písař 0fe8d6657b Perl 5.18 rebuild 2013-08-03 12:49:38 +02:00
Andreas Schneider 663858e14e Add support for new default location for Kerberos credential caches.
resolves: #985107
2013-07-24 11:47:52 +02:00
Andreas Schneider 84c9022678 Cleanup spec file of obsolete stuff. 2013-07-24 11:47:52 +02:00
Andreas Schneider 741569f9f9 Fix file conflict between samba and wine.
resolves: #985985
2013-07-24 11:47:52 +02:00
Petr Písař e8650eb627 Perl 5.18 rebuild 2013-07-20 14:31:19 +02:00
Andreas Schneider 4e40aa13b0 Update to Samba 4.1.0rc1. 2013-07-17 16:39:05 +02:00
Andreas Schneider c6b1e52663 List all pdb modules in the spec file. 2013-07-17 13:23:47 +02:00
Andreas Schneider db96684008 Fix samba-common tmpfiles configuration file in wrong directory.
resolves: #984331
2013-07-16 10:16:20 +02:00
Andreas Schneider a3a014fd6c Local user's krb5cc deleted by winbind.
resolves: #981033
2013-07-16 10:16:19 +02:00
Andreas Schneider a7058e18e7 Add explicit dependencies suggested by rpmdiff.
resolves: #884169
2013-07-16 10:16:12 +02:00
Andreas Schneider b69c8ca8c8 Build with PIE and full RELRO.
resolves: #972692
2013-07-15 17:13:06 +02:00
Andreas Schneider 01233d7991 Update to Samba 4.0.7. 2013-07-03 13:32:31 +02:00
Andreas Schneider cf9d5e5fbb Add UPN enumeration to passdb internal API (bso #9779). 2013-06-07 12:17:35 +02:00
Andreas Schneider ad1dc33a0b Fix build with MIT Kerberos.
resolves: #966130
2013-05-22 17:38:28 +02:00
Andreas Schneider adc89d8e6d Remove SWAT. 2013-05-21 16:08:24 +02:00
Andreas Schneider 0835d411f1 Update to Samba 4.0.6. 2013-05-21 14:42:38 +02:00
Andreas Schneider b0c08cb107 Add missing logrotate directory. 2013-04-10 16:12:57 +02:00
Andreas Schneider c12758e8fc Add missing sources. 2013-04-10 16:10:47 +02:00
Andreas Schneider 80ee50f609 Add UPN enumeration to passdb internal API (bso #9779). 2013-04-10 14:07:38 +02:00
Andreas Schneider e4bb581287 LogRotate should be optional, and not a hard "Requires".
resolves: #948606
2013-04-10 13:36:58 +02:00
Andreas Schneider 74b9e36c96 samba-doc is obsolete now.
resolves: #928947
2013-04-10 12:39:44 +02:00
Andreas Schneider 03d77d76fb Update to Samba 4.0.5. 2013-04-10 12:22:02 +02:00
Andreas Schneider 60243866e5 Fix and improve large_readx handling for broken clients.
resolves: #919405
2013-03-22 09:58:45 +01:00
Andreas Schneider f39046ed29 Add missing release number bump. 2013-03-20 14:23:42 +01:00
Andreas Schneider b89e2bf9c4 Improve packaging of README files.
resolves: #923765
2013-03-20 14:22:41 +01:00
Andreas Schneider 396cd059b9 Update to Samba 4.0.4. 2013-03-20 13:36:26 +01:00
Andreas Schneider 43b380ea34 Create /run/samba too.
resolves: #919333
2013-03-11 12:03:31 +01:00
Andreas Schneider 8756bd419a Fix the cache dir to be /var/lib/samba to support upgrades. 2013-03-04 17:14:34 +01:00
Andreas Schneider d41675ecaf Fix libreplace.so => not found for libcmdline-credentials.so.
resolves: #907915
2013-02-14 13:43:07 +01:00
Andreas Schneider 4717df1a0e Fix passdb backend ldapsam as module.
resolves: #908353
2013-02-07 16:11:14 +01:00
Andreas Schneider c3edb6f14c Fix pidl code generation with gcc 4.8.
resolves: #906517
2013-02-07 16:11:14 +01:00
Andreas Schneider 29ebfb1bf9 Add unowned directory /usr/lib64/samba.
resolves: #907544
2013-02-07 16:11:14 +01:00
Andreas Schneider 3d1f4a6ab2 Update to 4.0.3. 2013-02-07 16:11:14 +01:00
Andreas Schneider 4a4eaf79d2 Update to Samba 4.0.2 which fixes CVE-2013-0213 and CVE-2013-0214.
resolves: #906002
resolves: #905700
resolves: #905704
2013-01-30 17:24:10 +01:00
Andreas Schneider 654cbb455b Fix conn->share_access which is reset between user switches.
resolves: #903806
2013-01-30 17:24:10 +01:00
Andreas Schneider 9723e2277f Fix the location of the DC readme. 2013-01-30 17:24:10 +01:00
Andreas Schneider 919f50aa2c Add examples to documentation and don't introduce perl deps.
resolves: #639470
2013-01-30 17:24:10 +01:00
Andreas Schneider e1e515e2f2 Fix dependencies and don't package unused dc libaries. 2013-01-30 12:29:59 +01:00
Andreas Schneider 93f74bb704 Update to Samba 4.0.1.
Fixes CVE-2013-0172.
2013-01-16 12:05:12 +01:00
Andreas Schneider d3de1e6f30 Fix typo in winbind-krb-locator post uninstall script. 2012-12-17 11:28:06 +01:00
Andreas Schneider f1dd00d135 Increase the Release version for the changelog entry. 2012-12-11 23:01:25 +01:00
Andreas Schneider c6823afc8b Add missing changelog entry for Samba 4.0.0. 2012-12-11 23:00:07 +01:00
Andreas Schneider 0b662ab059 Update to Samba 4.0.0! 2012-12-11 20:37:16 +01:00
Andreas Schneider 766cc66ade Fix the Release tag. 2012-12-11 19:31:13 +01:00
Andreas Schneider 4eb296a032 Add ldb-tools if we run the testsuite. 2012-12-11 18:39:41 +01:00
Andreas Schneider 29e54809a4 Fix typo in winbind-krb-locator post uninstall script. 2012-12-06 17:50:56 +01:00
Andreas Schneider 009a9fa190 Add support to conditionally enable the testsuite.
rpmbuild --rebuild --with testsuite samba.rpm
2012-12-04 17:15:14 +01:00
Andreas Schneider ea0b80fa78 Update to Samba 4.0.0rc6.
* Add /etc/pam.d/samba for swat to work correctly.
* resolves #882700
2012-12-04 15:38:51 +01:00
Günther Deschner a4ad4da48e Make sure ncacn_ip_tcp client code looks for NBT_NAME_SERVER name types.
Guenther
2012-11-23 16:54:01 +01:00
Andreas Schneider 597c8f4325 Add require for krb5-libs >= 1.10 to samba4-libs. 2012-11-21 11:21:49 +01:00
Andreas Schneider 8a460012c1 Update README.dc. 2012-11-19 14:34:27 +01:00
Andreas Schneider dbfe35cb9c Reduce dependencies of samba-devel and create samba-test-devel package. 2012-11-15 13:01:44 +01:00
Andreas Schneider 36d2f33803 Build with old ctdb support. 2012-11-13 14:05:44 +01:00
Andreas Schneider 42b78de47b Add missing sources. 2012-11-13 13:13:21 +01:00
Andreas Schneider 6587c20350 Add missing sources. 2012-11-13 13:09:43 +01:00
Andreas Schneider 2c6f626ea7 Use workaround for winbind default domain only when set. 2012-11-13 13:03:37 +01:00
Andreas Schneider b9c801614f Update to Samba 4.0.0rc5. 2012-11-13 12:59:39 +01:00
Andreas Schneider 3eabd5bb16 Fix library dependencies of libnetapi. 2012-11-05 14:59:18 +01:00
Andreas Schneider e592564d05 Fix perl dependencies.
resolves: #872818
2012-11-05 14:44:16 +01:00
Andreas Schneider a8f4d0f4cb Fix winbind offline logon patch and library dependencies. 2012-11-05 14:15:42 +01:00
Andreas Schneider 71176a8409 Cleanup the FIXME in the spec file. 2012-10-30 10:34:19 +01:00
Andreas Schneider 8c7871ae7b Update to Samba 4.0.0rc4. 2012-10-30 10:16:42 +01:00
Andreas Schneider 3506ec3dcf Fix scriptlets interpeting a comment as argument.
resolves: #870630
2012-10-29 13:54:47 +01:00
Andreas Schneider 9d68ff22fc Add a Networkmanager dispatcher script for winbind. 2012-10-26 14:37:59 +02:00
Andreas Schneider 6a415da6be Add missing Requires for python modules. 2012-10-26 14:37:57 +02:00
Andreas Schneider 22feb65598 Move /var/log/samba to samba-common package for winbind which requires it.
resolves: #867893
2012-10-19 12:33:23 +02:00
Andreas Schneider 8711414692 Remove old obsolete samba pam cleartext password auth. 2012-10-19 12:29:02 +02:00
Andreas Schneider bb852c2987 More cleanup of hacks. 2012-10-18 14:20:37 +02:00
Andreas Schneider ff920f274a Compile sam and winbind auth modules into smbd. 2012-10-18 14:20:37 +02:00
Andreas Schneider c406133139 Order packages alphabeticially. 2012-10-17 14:13:28 +02:00
Andreas Schneider 0eb09a1d4e Move pam_winbind.conf and the manpages to the right package. 2012-10-16 21:41:37 +02:00
Andreas Schneider a19d6933dc Built auth_builtin as static module.
resolves: #866959
2012-10-16 14:57:24 +02:00
Andreas Schneider 788feb59ce Update systemd Requires to reflect latest packaging guidelines. 2012-10-16 13:49:35 +02:00
Andreas Schneider a1b5ef5dd0 Add back the AES patches which didn't make it in rc3. 2012-10-16 13:43:58 +02:00
Andreas Schneider 4268c9893b Update to 4.0.0rc3.
resolves: #805562 - Unable to share print queues.
resolves: #863388 - Unable to reload smbd configuration with systemctl.
2012-10-16 12:22:27 +02:00
Andreas Schneider ff6803c7c9 Use alternatives to configure winbind_krb5_locator.so 2012-10-10 15:03:43 +02:00
Andreas Schneider 57298b3953 Fix samba-4.0.0rc3-request_aes_krb_keys.patch. 2012-10-04 15:52:36 +02:00
Andreas Schneider 4380f14dd8 Fix printing initialization. 2012-10-04 15:43:02 +02:00
Andreas Schneider b3f41cd906 Update to 4.0.0rc2. 2012-10-02 14:51:51 +02:00
Andreas Schneider 838a5914b5 Fix Obsoletes/Provides for update from samba4. 2012-09-26 18:09:03 +02:00
Andreas Schneider a8acb2e0c7 Update release version. 2012-09-26 16:05:36 +02:00
Andreas Schneider 1144a078b6 Package smbprint again and remove unused service files. 2012-09-26 15:53:17 +02:00
Andreas Schneider c7ffeb71b9 Update .gitignore. 2012-09-26 15:22:59 +02:00
Andreas Schneider f6791b27d8 Update to 4.0.0rc1. 2012-09-26 14:23:24 +02:00
Günther Deschner ce3342b6dc Update to 3.6.7.
Guenther
2012-08-20 11:04:07 +02:00
Dennis Gilmore ff6a02cb11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 13:51:03 -05:00
Günther Deschner aa2fcfacca Fix printing tdb upgrade for 3.6.6
resolves: #841609

Guenther
2012-07-19 16:40:43 +02:00
Ville Skyttä d7af7faf94 Call ldconfig at libwbclient and -winbind-clients post(un)install time.
- Fix empty localization files, use %find_lang to find and %lang-mark them.
- Escape macros in %changelog.
- Fix source tarball URL.
2012-07-15 14:32:28 +03:00
Günther Deschner b7e567a9b1 Update to 3.6.6.
Guenther
2012-06-26 15:49:00 +02:00
Andreas Schneider d8012a4f30 Fix ldonfig and require systemd for samba-common package. 2012-06-21 17:12:11 +02:00
Andreas Schneider 3638a0bfcb Fix usrmove paths. 2012-06-18 12:38:38 +02:00
Andreas Schneider 21b42ab994 Fix tmpfiles creation after installation. 2012-05-15 10:58:52 +02:00
Günther Deschner b0652afc08 Correctly use system iniparser library
Guenther
2012-05-09 14:09:22 +02:00
Andreas Schneider d2d69377bc Bump Epoch to fix a problem with a Samba4 update in testing. 2012-05-04 14:00:30 +02:00
Simo Sorce 2cb8241591 fix changelog 2012-04-30 10:56:28 -04:00
Günther Deschner 6d3421da08 Security Release, fixes CVE-2012-2111
resolves: #817551
2012-04-30 10:26:49 -04:00
Andreas Schneider 1aa96d4519 Fix creation of /var/run/samba. 2012-04-23 12:15:13 +02:00
Günther Deschner 3f2dc30292 Fix samba-3.6.4-krb5_locate_kdc.patch.
Guenther
2012-04-23 00:53:46 +02:00
Günther Deschner 6f0a346210 Fix samba-3.6.4-krb5_locate_kdc.patch fuzz.
Guenther
2012-04-20 15:38:12 +02:00
Günther Deschner 1908343761 Avoid private krb5_locate_kdc usage
resolves: #754783

Guenther
2012-04-20 15:21:12 +02:00
Jon Ciesla f7cab41e8f 3.6.4, CVE-2012-1182. 2012-04-12 08:13:21 -05:00
Andreas Schneider 314dc998db Fix provides for of libwclient-devel for samba-winbind-devel. 2012-03-19 17:02:33 +01:00
Andreas Schneider 3f6179ff99 Add commented out 'max protocol' to the default config. 2012-02-23 18:46:14 +01:00
Andreas Schneider 028cc75ab9 Create a libwbclient package. 2012-02-13 11:12:35 +01:00
Andreas Schneider 8fce82b0c9 Add CVE number to changelog entry. 2012-01-30 16:28:18 +01:00
Andreas Schneider 6e5681257c Update to 3.6.3. 2012-01-30 16:04:36 +01:00
Dennis Gilmore bafe50c7f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 21:33:10 -06:00
Andreas Schneider eac283e634 Fix winbind cache upgrade. 2011-12-05 15:56:23 +01:00
Adam Jackson 9a9322255a commit and rebuild to fix gvfs rebuilds, see bug #754783 for details 2011-11-21 17:22:43 -05:00
Andreas Schneider 535a856986 Fix crash bug in debug system. 2011-11-18 16:30:06 +01:00
Andreas Schneider 51df79e1e6 Fix systemd dependencies. 2011-11-07 13:23:46 +01:00
Andreas Schneider 6e01ccd9d4 Update to 3.6.1 2011-10-26 17:30:46 +02:00
Günther Deschner 2e9e39f039 Fix nmbd startup
resolves: #741630

Guenther
2011-10-04 12:48:30 +02:00
Tom "spot" Callaway 3d3cbc8a73 convert to systemd, fix epoch 2011-09-20 11:22:40 -04:00
Günther Deschner fd2621fea9 Update to 3.6.0 final
Guenther
2011-08-13 00:28:30 +02:00
Günther Deschner 0427678bff Update to 3.6.0rc3
Guenther
2011-07-31 21:19:05 +02:00
Günther Deschner 4bb03299be Update to 3.6.0rc2
Guenther
2011-06-07 21:59:05 +02:00
Günther Deschner c0c2e7c113 Update to 3.6.0rc1
Guenther
2011-05-17 11:35:46 +02:00
Günther Deschner b5da1e8041 Update to 3.6.0pre3
Guenther
2011-04-27 12:39:06 +02:00
Günther Deschner 6257a9827d Update to 3.6.0pre2
Guenther
2011-04-13 12:24:41 +02:00
Günther Deschner 821cc368db Enable quota support.
Guenther
2011-03-11 13:46:27 +01:00
Dennis Gilmore 4aa1d127f3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 05:27:19 -06:00
Günther Deschner a7a320630c Fix changelog.
Guenther
2010-11-25 16:48:40 +01:00
Günther Deschner f30b00ee32 Add %ghost entry for /var/run using tempfs
resolves: #656685

Guenther
2010-11-25 16:23:33 +01:00
Günther Deschner f19c8df142 Put winbind krb5 locator plugin into a separate rpm
resolves: #627181

Guenther
2010-08-27 13:20:40 +02:00
Günther Deschner 066e9b64a8 Update to 3.6.0pre1.
Guenther
2010-08-10 00:24:15 +02:00
Fedora Release Engineering c9527b18d8 dist-git conversion 2010-07-29 13:05:25 +00:00
Guenther Deschner ec0b2f0abb add missing 3.5.4 tarball.
Guenther
2010-06-28 21:33:08 +00:00
Guenther Deschner f942ad3589 Update to 3.5.4
Guenther
2010-06-23 10:49:06 +00:00
Guenther Deschner 6d6ee7b5cb Update to 3.5.3
Make sure nmb and smb initscripts return LSB compliant return codes
Fix winbind over ipv6

Guenther
2010-05-19 09:59:35 +00:00
Guenther Deschner c7366224c6 Update to 3.5.2
Guenther
2010-04-07 09:15:45 +00:00
Guenther Deschner b329778c8c Security update to 3.5.1
Fixes CVE-2010-0728

Guenther
2010-03-09 09:32:07 +00:00
Guenther Deschner 2cc3b99561 Remove cifs.upcall and mount.cifs entirely
(they have moved to a separate package now)

Guenther
2010-03-08 15:57:34 +00:00
Guenther Deschner 49c2d86321 Update to 3.5.0
Guenther
2010-03-01 15:29:51 +00:00
Guenther Deschner 2a6fe860d3 Update to 3.5.0rc3
Guenther
2010-02-19 17:32:51 +00:00
22 changed files with 5169 additions and 1166 deletions

View File

@ -1 +0,0 @@
samba-3.5.0rc2.tar.gz

213
.gitignore vendored Normal file
View File

@ -0,0 +1,213 @@
samba-3.5.4.tar.gz
samba-3.6.0pre1.tar.gz
/samba-3.6.0pre2.tar.gz
/samba-3.6.0pre3.tar.gz
/samba-3.6.0rc1.tar.gz
/samba-3.6.0rc2.tar.gz
/samba-3.6.0rc3.tar.gz
/samba-3.6.0.tar.gz
/samba-3.6.1.tar.gz
/samba-3.6.3.tar.gz
/samba-3.6.4.tar.gz
/samba-3.6.5.tar.gz
/samba-3.6.6.tar.gz
/samba-3.6.7.tar.gz
/samba-4.0.0rc1.tar.bz2
/samba-4.0.0rc2.tar.bz2
/samba-4.0.0rc3.tar.bz2
/samba-4.0.0rc4.tar.bz2
/samba-4.0.0rc5.tar.bz2
/samba-4.0.0rc6.tar.bz2
/samba-4.0.0.tar.bz2
/samba-4.0.1.tar.bz2
/samba-4.0.2.tar.bz2
/samba-4.0.3.tar.bz2
/samba-4.0.4.tar.bz2
/samba-4.0.5.tar.bz2
/samba-4.0.6.tar.bz2
/samba-4.0.7.tar.xz
/samba-4.1.0rc1.tar.xz
/samba-4.1.0rc2.tar.xz
/samba-4.1.0rc3.tar.xz
/samba-4.1.0rc4.tar.xz
/samba-4.1.0.tar.xz
/samba-4.1.1.tar.xz
/samba-4.1.2.tar.xz
/samba-4.1.3.tar.xz
/samba-4.1.4.tar.xz
/samba-4.1.5.tar.xz
/samba-4.1.6.tar.xz
/samba-4.1.8.tar.xz
/samba-4.1.9.tar.xz
/samba-4.1.11.tar.gz
/samba-4.1.11.tar.xz
/samba-4.1.12.tar.xz
/samba-4.2.0rc2.tar.xz
/samba-4.2.0rc3.tar.xz
/samba-4.2.0rc4.tar.xz
/samba-4.2.0rc5.tar.xz
/samba-4.2.0.tar.xz
/samba-4.2.1.tar.xz
/samba-4.2.2.tar.xz
/samba-4.2.3.tar.xz
/samba-4.3.0rc3.tar.xz
/samba-4.3.0rc4.tar.xz
/samba-4.3.0.tar.xz
/samba-4.3.1.tar.xz
/samba-4.3.2.tar.xz
/samba-4.3.3.tar.xz
/samba-4.3.4.tar.xz
/samba-4.4.0rc1.tar.xz
/samba-4.4.0rc2.tar.xz
/samba-4.4.0rc3.tar.xz
/samba-4.4.0rc4.tar.xz
/samba-4.4.0rc5.tar.xz
/samba-4.4.0.tar.xz
/samba-4.4.2.tar.xz
/samba-4.4.3.tar.xz
/samba-4.4.4.tar.xz
/samba-4.4.5.tar.xz
/samba-4.5.0rc1.tar.xz
/samba-4.5.0rc2.tar.xz
/samba-4.5.0rc3.tar.xz
/samba-4.5.0.tar.xz
/samba-4.5.1.tar.xz
/samba-4.5.2.tar.xz
/samba-4.5.3.tar.xz
/samba-4.6.0rc1.tar.xz
/samba-4.6.0rc2.tar.xz
/samba-4.6.0rc2.tar.asc
/samba-4.6.0rc3.tar.asc
/samba-4.6.0rc3.tar.xz
/samba-4.6.0rc4.tar.xz
/samba-4.6.0rc4.tar.asc
/samba-4.6.0.tar.asc
/samba-4.6.0.tar.xz
/samba-4.6.1.tar.xz
/samba-4.6.1.tar.asc
/samba-4.6.2.tar.xz
/samba-4.6.2.tar.asc
/samba-4.6.3.tar.xz
/samba-4.6.3.tar.asc
/samba-4.6.4.tar.xz
/samba-4.6.4.tar.asc
/samba-4.6.5.tar.xz
/samba-4.6.5.tar.asc
/samba-4.7.0rc1.tar.xz
/samba-4.7.0rc1.tar.asc
/samba-4.7.0rc3.tar.xz
/samba-4.7.0rc3.tar.asc
/samba-4.7.0rc5.tar.xz
/samba-4.7.0rc5.tar.asc
/samba-4.7.0rc6.tar.xz
/samba-4.7.0rc6.tar.asc
/samba-4.7.0.tar.xz
/samba-4.7.0.tar.asc
/samba-4.7.1.tar.xz
/samba-4.7.1.tar.asc
/samba-4.7.2.tar.xz
/samba-4.7.2.tar.asc
/samba-4.7.3.tar.xz
/samba-4.7.3.tar.asc
/samba-4.7.4.tar.xz
/samba-4.7.4.tar.asc
/samba-4.8.0rc1.tar.xz
/samba-4.8.0rc1.tar.asc
/samba-4.8.0rc2.tar.xz
/samba-4.8.0rc2.tar.asc
/samba-4.8.0rc3.tar.xz
/samba-4.8.0rc3.tar.asc
/samba-4.8.0rc4.tar.xz
/samba-4.8.0rc4.tar.asc
/samba-4.8.0.tar.xz
/samba-4.8.0.tar.asc
/samba-4.8.1.tar.xz
/samba-4.8.1.tar.asc
/samba-4.8.2.tar.xz
/samba-4.8.2.tar.asc
/samba-4.8.3.tar.asc
/samba-4.8.3.tar.xz
/samba-4.9.0rc1.tar.xz
/samba-4.9.0rc1.tar.asc
/samba-4.9.0rc2.tar.xz
/samba-4.9.0rc2.tar.asc
/samba-4.9.0rc3.tar.xz
/samba-4.9.0rc3.tar.asc
/samba-4.9.0rc4.tar.xz
/samba-4.9.0rc4.tar.asc
/samba-4.9.0rc5.tar.asc
/samba-4.9.0rc5.tar.xz
/samba-4.9.0.tar.xz
/samba-4.9.0.tar.asc
/samba-4.9.1.tar.asc
/samba-4.9.1.tar.xz
/samba-4.9.2.tar.xz
/samba-4.9.2.tar.asc
/samba-4.9.3.tar.xz
/samba-4.9.3.tar.asc
/samba-4.9.4.tar.xz
/samba-4.9.4.tar.asc
/samba-4.10.0rc1.tar.xz
/samba-4.10.0rc1.tar.asc
/samba-4.10.0rc2.tar.xz
/samba-4.10.0rc2.tar.asc
/samba-4.10.0rc3.tar.xz
/samba-4.10.0rc3.tar.asc
/samba-4.10.0rc4.tar.xz
/samba-4.10.0rc4.tar.asc
/samba-4.10.0.tar.xz
/samba-4.10.0.tar.asc
/samba-4.10.1.tar.xz
/samba-4.10.1.tar.asc
/samba-4.10.2.tar.xz
/samba-4.10.2.tar.asc
/samba-4.10.3.tar.xz
/samba-4.10.3.tar.asc
/samba-4.10.4.tar.xz
/samba-4.10.4.tar.asc
/samba-4.10.5.tar.xz
/samba-4.10.5.tar.asc
/samba-4.10.6.tar.xz
/samba-4.10.6.tar.asc
/samba-4.11.0rc1.tar.xz
/samba-4.11.0rc1.tar.asc
/samba-4.11.0rc2.tar.xz
/samba-4.11.0rc2.tar.asc
/samba-4.11.0rc3.tar.xz
/samba-4.11.0rc3.tar.asc
/samba-4.11.0rc4.tar.xz
/samba-4.11.0rc4.tar.asc
/samba-4.11.0.tar.xz
/samba-4.11.0.tar.asc
/samba-4.11.1.tar.xz
/samba-4.11.1.tar.asc
/samba-4.11.2.tar.xz
/samba-4.11.2.tar.asc
/samba-4.11.3.tar.xz
/samba-4.11.3.tar.asc
/samba-4.11.4.tar.xz
/samba-4.11.4.tar.asc
/samba-4.11.5.tar.xz
/samba-4.11.5.tar.asc
/samba-4.12.0rc1.tar.xz
/samba-4.12.0rc1.tar.asc
/samba-4.12.0rc2.tar.xz
/samba-4.12.0rc2.tar.asc
/samba-4.12.0rc3.tar.xz
/samba-4.12.0rc3.tar.asc
/samba-4.12.0rc4.tar.xz
/samba-4.12.0rc4.tar.asc
/samba-4.12.0.tar.xz
/samba-4.12.0.tar.asc
/samba-4.12.1.tar.xz
/samba-4.12.1.tar.asc
/samba-4.12.2.tar.xz
/samba-4.12.2.tar.asc
/samba-4.12.3.tar.xz
/samba-4.12.3.tar.asc
/samba-4.12.4.tar.xz
/samba-4.12.4.tar.asc
/samba-4.12.5.tar.xz
/samba-4.12.5.tar.asc
/samba-4.13.0rc1.tar.xz
/samba-4.13.0rc1.tar.asc

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: samba
# $Id$
NAME := samba
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

29
README.downgrade Normal file
View File

@ -0,0 +1,29 @@
Downgrading Samba
=================
Short version: data-preserving downgrades between Samba versions are not supported
Long version:
With Samba development there are cases when on-disk database format evolves.
In general, Samba Team attempts to maintain forward compatibility and
automatically upgrade databases during runtime when requires.
However, when downgrade is required Samba will not perform downgrade to
existing databases. It may be impossible if new features that caused database
upgrade are in use. Thus, one needs to consider a downgrade procedure before
actually downgrading Samba setup.
Please always perform back up prior both upgrading and downgrading across major
version changes. Restoring database files is easiest and simplest way to get to
previously working setup.
Easiest way to downgrade is to remove all created databases and start from scratch.
This means losing all authentication and domain relationship data, as well as
user databases (in case of tdb storage), printers, registry settings, and winbindd
caches.
Remove databases in following locations:
/var/lib/samba/*.tdb
/var/lib/samba/private/*.tdb
In particular, registry settings are known to prevent running downgraded versions
(Samba 4 to Samba 3) as registry format has changed between Samba 3 and Samba 4.

186
README.md Normal file
View File

@ -0,0 +1,186 @@
Samba is a free SMB and CIFS client and server and Domain Controller for UNIX
and other operating systems. It is maintained by the Samba Team, who support the
original author, Andrew Tridgell.
This software is freely distributable under the GNU public license, a copy of
which you should have received with this software (in a file called COPYING).
# WHAT IS SMB/CIFS?
This is a big question.
The very short answer is that it is the protocol by which a lot of PC-related
machines share files and printers and other information such as lists of
available files and printers. Operating systems that support this natively
include Windows 9x, Windows NT (and derivatives), OS/2, Mac OS X and Linux. Add
on packages that achieve the same thing are available for DOS, Windows 3.1, VMS,
Unix of all kinds, MVS, and more. Some Web Browsers can speak this protocol as
well (smb://). Alternatives to SMB include Netware, NFS, Appletalk, Banyan
Vines, Decnet etc; many of these have advantages but none are both public
specifications and widely implemented in desktop machines by default.
The Common Internet File system (CIFS) is what the new SMB initiative is called.
For details watch [here](https://samba.org/cifs)
# WHY DO PEOPLE WANT TO USE SMB?
* Many people want to integrate their Microsoft desktop clients with their Unix
servers.
* Others want to integrate their Microsoft (etc) servers with Unix servers. This
is a different problem to integrating desktop clients.
* Others want to replace protocols like NFS, DecNet and Novell NCP, especially
when used with PCs.
# WHAT CAN SAMBA DO?
Please refer to the WHATSNEW.txt included with this README for a list of
features in the latest Samba release.
Here is a very short list of what samba includes, and what it does. For many
networks this can be simply summarized by "Samba provides a complete replacement
for Windows NT, Warp, NFS or Netware servers."
* a SMB server, to provide Windows NT and LAN Manager-style file and print
services to SMB clients such as Windows 95, Warp Server, smbfs and others.
* a Windows Domain Controller (NT4 and AD) replacement.
* a file/print server that can act as a member of a Windows NT 4.0 or Active
Directory domain.
* a NetBIOS (rfc1001/1002) nameserver, which amongst other things gives browsing
support. Samba can be the master browser on your LAN if you wish.
* a ftp-like SMB client so you can access PC resources (disks and printers) from
UNIX, Netware, and other operating systems
* a tar extension to the client for backing up PCs
* limited command-line tool that supports some of the NT administrative
functionality, which can be used on Samba, NT workstation and NT server.
For a much better overview have a look at the [web site](http://samba.org/samba)
and browse the user survey.
#### Related packages include:
* cifsvfs, an advanced Linux-only filesystem allowing you to mount remote SMB
filesystems from PCs on your Linux box. This is included as standard with Linux
2.5 and later.
* smbfs, the previous Linux-only filesystem allowing you to mount remote SMB
filesystems from PCs on your Linux box. This is included as standard with Linux
2.0 and later.
# CONTRIBUTIONS
### To contribute via GitHub
* fork the official Samba team repository on GitHub
-- see [GitHub](https://github.com/samba-team/samba)
* become familiar with the coding standards as described in README.Coding
* make sure you read the Samba copyright policy
-- see [Copyright Policy](https://www.samba.org/samba/devel/copyright-policy.html)
* create a feature branch
* make changes
* when committing, be sure to add signed-off-by tags
-- see [Commit message tags](https://wiki.samba.org/index.php/CodeReview#commit_message_tags)
* send a pull request for your branch through GitHub
* this will trigger an email to the samba-technical mailing list
* discussion happens on the samba-technical mailing list as described below
* more info on using Git for Samba development can be found on Samba Wiki
-- see [Using Git for Samba](https://wiki.samba.org/index.php/Using_Git_for_Samba_Development)
### To contribute via mailing lists
Join the mailing list. The Samba team accepts patches (preferably in "diff -u"
format, see [here](https://samba.org/samba/devel) for more details) and are
always glad to receive feedback or suggestions to the address
samba@lists.samba.org. More information on the various Samba mailing lists can
be found at [mailman](http://lists.samba.org).
You can also get the Samba sourcecode straight from the [git repository](http://wiki.samba.org/index.php/Using_Git_for_Samba_Development).
If you like a particular feature then look through the git change-log on the
[web](https://git.samba.org/?p=samba.git;a=summary) and see who added it, then
send them an email.
Remember that free software of this kind lives or dies by the response we get.
If no one tells us they like it then we'll probably move onto something else.
# MORE INFO
### DOCUMENTATION
There is quite a bit of documentation included with the package, including man
pages, and lots of .html files with hints and useful info. This is also
available from the web page. There is a growing collection of information under
docs/.
A list of Samba documentation in languages other than English is available on
the web page.
If you would like to help with the documentation, please coordinate on the
samba@lists.samba.org mailing list. See the next section for details on
subscribing to samba mailing lists.
### MAILING LIST
Please do NOT send subscription/unsubscription requests to the lists!
There is a mailing list for discussion of Samba. For details go to [mailman](https://lists.samba.org)
or send mail to <samba-subscribe@lists.samba.org>.
There is also an announcement mailing list where new versions are announced. To
subscribe go to [mailman](http://lists.samba.org) or send mail to
<samba-announce-subscribe@lists.samba.org>. All announcements also go to the
samba list, so you only need to be on one.
For details of other Samba mailing lists and for access to archives, see
[mailman](http://lists.samba.org)
### MAILING LIST ETIQUETTE
A few tips when submitting to this or any mailing list.
- Make your subject short and descriptive. Avoid the words "help" or "Samba" in
the subject. The readers of this list already know that a) you need help, and b)
you are writing about samba (of course, you may need to distinguish between
Samba PDC and other file sharing software). Avoid phrases such as "what is" and
"how do i". Some good subject lines might look like "Slow response with Excel
files" or "Migrating from Samba PDC to NT PDC".
- If you include the original message in your reply, trim it so that only the
relevant lines, enough to establish context, are included. Chances are (since
this is a mailing list) we've already read the original message.
- Trim irrelevant headers from the original message in your reply. All we need
to see is a) From, b) Date, and c) Subject. We don't even really need the
Subject, if you haven't changed it. Better yet is to just preface the original
message with "On [date] [someone] wrote:".
- Please don't reply to or argue about spam, spam filters or viruses on any
Samba lists. We do have a spam filtering system that is working quite well thank
you very much but occasionally unwanted messages slip through. Deal with it.
- Never say "Me too." It doesn't help anyone solve the problem. Instead, if you
ARE having the same problem, give more information. Have you seen something that
the other writer hasn't mentioned, which may be helpful?
- If you ask about a problem, then come up with the solution on your own or
through another source, by all means post it. Someone else may have the same
problem and is waiting for an answer, but never hears of it.
- Give as much *relevant* information as possible such as Samba release number,
OS, kernel version, etc...
- RTFM. Google.
### WEB SITE
A Samba WWW [site](https://samba.org) has been setup with lots of useful info.
As well as general information and documentation, this also has searchable
archives of the mailing list and a user survey that shows who else is using this
package.

Binary file not shown.

114
nmb.init
View File

@ -1,114 +0,0 @@
#!/bin/sh
#
# chkconfig: - 91 35
# description: Starts and stops the Samba smbd and nmbd daemons \
# used to provide SMB network services.
#
# pidfile: /var/run/samba/nmbd.pid
# config: /etc/samba/smb.conf
# Source function library.
if [ -f /etc/init.d/functions ] ; then
. /etc/init.d/functions
elif [ -f /etc/rc.d/init.d/functions ] ; then
. /etc/rc.d/init.d/functions
else
exit 1
fi
# Avoid using root's TMPDIR
unset TMPDIR
# Source networking configuration.
. /etc/sysconfig/network
if [ -f /etc/sysconfig/samba ]; then
. /etc/sysconfig/samba
fi
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 1
# Check that smb.conf exists.
[ -f /etc/samba/smb.conf ] || exit 6
RETVAL=0
start() {
KIND="NMB"
echo -n $"Starting $KIND services: "
daemon nmbd $NMBDOPTIONS
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/nmb || \
RETVAL=1
return $RETVAL
}
stop() {
KIND="NMB"
echo -n $"Shutting down $KIND services: "
killproc nmbd
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/nmb
return $RETVAL
}
restart() {
stop
start
}
reload() {
echo -n $"Reloading smb.conf file: "
killproc nmbd -HUP
RETVAL=$?
echo
return $RETVAL
}
rhstatus() {
status nmbd
return $?
}
# Allow status as non-root.
if [ "$1" = status ]; then
rhstatus
exit $?
fi
# Check that we can write to it... so non-root users stop here
[ -w /etc/samba/smb.conf ] || exit 4
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
reload)
reload
;;
status)
rhstatus
;;
condrestart)
[ -f /var/lock/subsys/nmb ] && restart || :
;;
*)
echo $"Usage: $0 {start|stop|restart|reload|status|condrestart}"
exit 2
esac
exit $?

View File

@ -1,90 +0,0 @@
diff -ur samba-3.0.0rc3/source/lib/popt_common.c samba-3.0.0rc3-lhh/source/lib/popt_common.c
--- samba-3.0.0rc3/source/lib/popt_common.c 2003-09-10 13:57:00.000000000 -0400
+++ samba-3.0.0rc3-lhh/source/lib/popt_common.c 2003-09-11 13:49:24.000000000 -0400
@@ -87,7 +87,7 @@
case 'n':
if (arg) {
- set_global_myname(arg);
+ set_global_myname_override(arg);
}
break;
diff -ur samba-3.0.0rc3/source/lib/util.c samba-3.0.0rc3-lhh/source/lib/util.c
--- samba-3.0.0rc3/source/lib/util.c 2003-09-08 12:04:35.000000000 -0400
+++ samba-3.0.0rc3-lhh/source/lib/util.c 2003-09-11 13:47:18.000000000 -0400
@@ -84,6 +84,7 @@
***********************************************************************/
static char *smb_myname;
+static char *smb_myname_override;
static char *smb_myworkgroup;
static char *smb_scope;
static int smb_num_netbios_names;
@@ -108,6 +109,27 @@
return smb_myname;
}
+
+/***********************************************************************
+ Allocate and set override for myname. Ensure upper case.
+***********************************************************************/
+
+BOOL set_global_myname_override(const char *myname)
+{
+ SAFE_FREE(smb_myname_override);
+ smb_myname_override = strdup(myname);
+ if (!smb_myname_override)
+ return False;
+ strupper_m(smb_myname_override);
+ return True;
+}
+
+const char *global_myname_override(void)
+{
+ return smb_myname_override;
+}
+
+
/***********************************************************************
Allocate and set myworkgroup. Ensure upper case.
***********************************************************************/
diff -ur samba-3.0.0rc3/source/nmbd/nmbd.c samba-3.0.0rc3-lhh/source/nmbd/nmbd.c
--- samba-3.0.0rc3/source/nmbd/nmbd.c 2003-09-10 13:57:00.000000000 -0400
+++ samba-3.0.0rc3-lhh/source/nmbd/nmbd.c 2003-09-11 14:05:21.000000000 -0400
@@ -608,6 +608,7 @@
{"hosts", 'H', POPT_ARG_STRING, dyn_LMHOSTSFILE, 'H', "Load a netbios hosts file"},
{"port", 'p', POPT_ARG_INT, &global_nmb_port, NMB_PORT, "Listen on the specified port" },
POPT_COMMON_SAMBA
+ POPT_COMMON_CONNECTION
{ NULL }
};
diff -ur samba-3.0.0rc3/source/param/loadparm.c samba-3.0.0rc3-lhh/source/param/loadparm.c
--- samba-3.0.0rc3/source/param/loadparm.c 2003-09-08 12:04:35.000000000 -0400
+++ samba-3.0.0rc3-lhh/source/param/loadparm.c 2003-09-11 14:00:51.000000000 -0400
@@ -1327,7 +1327,10 @@
*/
string_set(&Globals.szPasswdChat, DEFAULT_PASSWD_CHAT);
- set_global_myname(myhostname());
+ if (!global_myname_override())
+ set_global_myname(myhostname());
+ else
+ set_global_myname(global_myname_override());
string_set(&Globals.szNetbiosName,global_myname());
set_global_myworkgroup(WORKGROUP);
@@ -2698,6 +2701,12 @@
BOOL ret;
pstring netbios_name;
+ if (global_myname_override()) {
+ DEBUG(4, ("handle_netbios_name: ignoring netbios name "
+ "parameter"));
+ return True;
+ }
+
pstrcpy(netbios_name, pszParmValue);
standard_sub_basic(current_user_info.smb_name, netbios_name,sizeof(netbios_name));

View File

@ -1,11 +0,0 @@
--- samba-3.2.0pre1/source3/winbindd/winbindd_group.c.star 2007-10-03 17:40:31.000000000 -0400
+++ samba-3.2.0pre1/source3/winbindd/winbindd_group.c 2007-10-03 17:40:46.000000000 -0400
@@ -215,7 +215,7 @@
/* Group name and password */
safe_strcpy(gr->gr_name, full_group_name, sizeof(gr->gr_name) - 1);
- safe_strcpy(gr->gr_passwd, "x", sizeof(gr->gr_passwd) - 1);
+ safe_strcpy(gr->gr_passwd, "*", sizeof(gr->gr_passwd) - 1);
return True;
}

View File

@ -1,11 +0,0 @@
--- samba-3.2.0pre1/nsswitch/winbind_struct_protocol.h.pipedir 2007-10-03 15:32:23.000000000 -0400
+++ samba-3.2.0pre1/nsswitch/winbind_struct_protocol.h 2007-10-03 15:33:13.000000000 -0400
@@ -24,7 +24,7 @@
* is needed for launchd support -- jpeach.
*/
#ifndef WINBINDD_SOCKET_DIR
-#define WINBINDD_SOCKET_DIR "/tmp/.winbindd" /* Name of PF_UNIX dir */
+#define WINBINDD_SOCKET_DIR "/var/run/winbindd" /* Name of PF_UNIX dir */
#endif
/*

View File

@ -1,47 +0,0 @@
--- source3/smbd/notify_inotify.c.inotify 2009-12-15 09:25:26.000000000 +0100
+++ source3/smbd/notify_inotify.c 2009-12-17 18:42:06.000000000 +0100
@@ -75,6 +75,7 @@
struct sys_notify_context *ctx;
int fd;
struct inotify_watch_context *watches;
+ bool broken_inotify; /* Late stop for broken system */
};
struct inotify_watch_context {
@@ -239,8 +240,15 @@
filenames, and thus can't know how much to allocate
otherwise
*/
- if (ioctl(in->fd, FIONREAD, &bufsize) != 0 ||
- bufsize == 0) {
+ if ((ioctl(in->fd, FIONREAD, &bufsize) != 0) && (errno == EACCES)) {
+ /*
+ * Workaround for broken system (SELinux policy bug fixed since long but it is always better not to loop on EACCES)
+ */
+ TALLOC_FREE(fde);
+ in->broken_inotify = True;
+ return;
+ }
+ if (bufsize == 0) {
DEBUG(0,("No data on inotify fd?!\n"));
TALLOC_FREE(fde);
return;
@@ -297,6 +305,7 @@
}
in->ctx = ctx;
in->watches = NULL;
+ in->broken_inotify = False;
ctx->private_data = in;
talloc_set_destructor(in, inotify_destructor);
@@ -391,6 +400,10 @@
in = talloc_get_type(ctx->private_data, struct inotify_private);
+ if (in->broken_inotify) {
+ return NT_STATUS_OK;
+ }
+
mask = inotify_map(e);
if (mask == 0) {
/* this filter can't be handled by inotify */

View File

@ -1,7 +1,10 @@
/var/log/samba/* {
/var/log/samba/log.* {
compress
dateext
maxage 365
rotate 99
notifempty
olddir /var/log/samba/old
missingok
sharedscripts
copytruncate
}

5210
samba.spec

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
# Options to smbd
SMBDOPTIONS="-D"
# Options to nmbd
NMBDOPTIONS="-D"
# Options for winbindd
WINBINDOPTIONS=""

View File

@ -1,15 +0,0 @@
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = yes
}

View File

@ -2,26 +2,23 @@
# options listed here, refer to the smb.conf(5) manual page. Samba has a huge
# number of configurable options, most of which are not shown in this example.
#
# The Official Samba 3.2.x HOWTO and Reference Guide contains step-by-step
# guides for installing, configuring, and using Samba:
# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
#
# The Samba-3 by Example guide has working examples for smb.conf. This guide is
# generated daily: http://www.samba.org/samba/docs/Samba-Guide.pdf
# The Samba Wiki contains a lot of step-by-step guides installing, configuring,
# and using Samba:
# https://wiki.samba.org/index.php/User_Documentation
#
# In this file, lines starting with a semicolon (;) or a hash (#) are
# comments and are ignored. This file uses hashes to denote commentary and
# semicolons for parts of the file you may wish to configure.
#
# Note: Run the "testparm" command after modifying this file to check for basic
# NOTE: Run the "testparm" command after modifying this file to check for basic
# syntax errors.
#
#---------------
# Security-Enhanced Linux (SELinux) Notes:
#
# Turn the samba_domain_controller Boolean on to allow Samba to use the useradd
# and groupadd family of binaries. Run the following command as the root user to
# turn this Boolean on:
# Turn the samba_domain_controller Boolean on to allow a Samba PDC to use the
# useradd and groupadd family of binaries. Run the following command as the
# root user to turn this Boolean on:
# setsebool -P samba_domain_controller on
#
# Turn the samba_enable_home_dirs Boolean on if you want to share home
@ -70,7 +67,8 @@
#
# server string = the equivalent of the Windows NT Description field.
#
# netbios name = used to specify a server name that is not tied to the hostname.
# netbios name = used to specify a server name that is not tied to the hostname,
# maximum is 15 characters.
#
# interfaces = used to configure Samba to listen on multiple network interfaces.
# If you have multiple interfaces, you can use the "interfaces =" option to
@ -79,7 +77,7 @@
#
# hosts allow = the hosts allowed to connect. This option can also be used on a
# per-share basis.
#
# hosts deny = the hosts not allowed to connect. This option can also be used on
# a per-share basis.
#
@ -297,7 +295,7 @@
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share.
# Un-comment the following to provide a specific roaming profile share.
# The default is to use the user's home directory:
; [Profiles]
; path = /var/lib/samba/profiles
@ -310,6 +308,6 @@
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; writable = no
; printable = no
; write list = +staff

37
smb.conf.vendor Normal file
View File

@ -0,0 +1,37 @@
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775

114
smb.init
View File

@ -1,114 +0,0 @@
#!/bin/sh
#
# chkconfig: - 91 35
# description: Starts and stops the Samba smbd daemon \
# used to provide SMB network services.
#
# pidfile: /var/run/samba/smbd.pid
# config: /etc/samba/smb.conf
# Source function library.
if [ -f /etc/init.d/functions ] ; then
. /etc/init.d/functions
elif [ -f /etc/rc.d/init.d/functions ] ; then
. /etc/rc.d/init.d/functions
else
exit 1
fi
# Avoid using root's TMPDIR
unset TMPDIR
# Source networking configuration.
. /etc/sysconfig/network
if [ -f /etc/sysconfig/samba ]; then
. /etc/sysconfig/samba
fi
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 1
# Check that smb.conf exists.
[ -f /etc/samba/smb.conf ] || exit 6
RETVAL=0
start() {
KIND="SMB"
echo -n $"Starting $KIND services: "
daemon smbd $SMBDOPTIONS
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/smb || \
RETVAL=1
return $RETVAL
}
stop() {
KIND="SMB"
echo -n $"Shutting down $KIND services: "
killproc smbd
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/smb
return $RETVAL
}
restart() {
stop
start
}
reload() {
echo -n $"Reloading smb.conf file: "
killproc smbd -HUP
RETVAL=$?
echo
return $RETVAL
}
rhstatus() {
status smbd
return $?
}
# Allow status as non-root.
if [ "$1" = status ]; then
rhstatus
exit $?
fi
# Check that we can write to it... so non-root users stop here
[ -w /etc/samba/smb.conf ] || exit 4
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
reload)
reload
;;
status)
rhstatus
;;
condrestart)
[ -f /var/lock/subsys/smb ] && restart || :
;;
*)
echo $"Usage: $0 {start|stop|restart|reload|status|condrestart}"
exit 2
esac
exit $?

View File

@ -1,84 +0,0 @@
#!/bin/sh
# This script is an input filter for printcap printing on a unix machine. It
# uses the smbclient program to print the file to the specified smb-based
# server and service.
# For example you could have a printcap entry like this
#
# smb:lp=/dev/null:sd=/usr/spool/smb:sh:if=/usr/local/samba/smbprint
#
# which would create a unix printer called "smb" that will print via this
# script. You will need to create the spool directory /usr/spool/smb with
# appropriate permissions and ownerships for your system.
# Set these to the server and service you wish to print to
# In this example I have a WfWg PC called "lapland" that has a printer
# exported called "printer" with no password.
#
# Script further altered by hamiltom@ecnz.co.nz (Michael Hamilton)
# so that the server, service, and password can be read from
# a /usr/var/spool/lpd/PRINTNAME/.config file.
#
# In order for this to work the /etc/printcap entry must include an
# accounting file (af=...):
#
# cdcolour:\
# :cm=CD IBM Colorjet on 6th:\
# :sd=/var/spool/lpd/cdcolour:\
# :af=/var/spool/lpd/cdcolour/acct:\
# :if=/usr/local/etc/smbprint:\
# :mx=0:\
# :lp=/dev/null:
#
# The /usr/var/spool/lpd/PRINTNAME/.config file should contain:
# share=PC_SERVER
# user="user"
# password="password"
#
# Please, do not modify the order in the file.
# Example:
# share=\\server\deskjet
# user="fred"
# password=""
#
# The last parameter to the filter is the accounting file name.
# Extract the directory name from the file name.
# Concat this with /.config to get the config file.
#
eval acct_file=\${$#}
spool_dir=`dirname $acct_file`
config_file=$spool_dir/.config
# Should read the following variables set in the config file:
# share
# hostip
# user
# password
eval `cat $config_file`
share=`echo $share | sed "s/[\]/\//g"`
if [ "$user" != "" ]; then
usercmd="-U"
else
usercmd=""
fi
if [ "$workgroup" != "" ]; then
workgroupcmd="-W"
else
workgroupcmd=""
fi
if [ "$translate" = "yes" ]; then
command="translate ; print -"
else
command="print -"
fi
#echo $share $password $translate $x_command > /tmp/smbprint.log
cat | /usr/bin/smbclient "$share" "$password" -E ${hostip:+-I} \
$hostip -N -P $usercmd "$user" $workgroupcmd "$workgroup" \
-c "$command" 2>/dev/null

View File

@ -1 +1,2 @@
74f94afeacbff0e9975593e02d91219f samba-3.5.0rc2.tar.gz
SHA512 (samba-4.13.0rc1.tar.xz) = 3e6d431998907ad8c81f488ddf78dcef5fd6a4cdf8ca684e5ad0ce9bf7217d82fcca7501155446c83d804f939bea7012f1d37c1f738d8ec7bc769a9148a6592a
SHA512 (samba-4.13.0rc1.tar.asc) = 6dfe9467fd7fd28db91ae15fa3314a7707cfeb88c8ecd2af532d57614bec311119546a2fd4ced71063df9b7d6879a62f9ba512ae05d494323e0362a5492d33fa

View File

@ -1,8 +0,0 @@
[Desktop Entry]
Name=Samba Configuration
Name[de]=Samba Konfiguration
Type=Application
Comment=Configure Samba with a web based interface
Exec=htmlview http://127.0.0.1:901/
Terminal=false
Categories=X-Red-Hat-Extra;Application;System;X-Red-Hat-ServerConfig;

View File

@ -1,102 +0,0 @@
#!/bin/sh
#
# chkconfig: - 27 73
# description: Starts and stops the Samba winbind daemon
# #
# pidfile: /var/run/winbindd.pid
# config: /etc/samba/smb.conf
# Source function library.
. /etc/rc.d/init.d/functions
# Avoid using root's TMPDIR
unset TMPDIR
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 1
# Check that smb.conf exists.
[ -f /etc/samba/smb.conf ] || exit 6
[ -f /etc/sysconfig/samba ] && . /etc/sysconfig/samba
RETVAL=0
start() {
KIND="Winbind"
echo -n $"Starting $KIND services: "
daemon winbindd "$WINBINDOPTIONS"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/winbindd || RETVAL=1
return $RETVAL
}
stop() {
echo
KIND="Winbind"
echo -n $"Shutting down $KIND services: "
killproc winbindd
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/winbindd
echo ""
return $RETVAL
}
restart() {
stop
start
}
reload() {
echo -n $"Reloading smb.conf file: "
killproc winbindd -HUP
RETVAL=$?
echo
return $RETVAL
}
rhstatus() {
status winbindd
return $?
}
# Allow status as non-root.
if [ "$1" = status ]; then
rhstatus
exit $?
fi
# Check that we can write to it... so non-root users stop here
[ -w /etc/samba/smb.conf ] || exit 4
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
reload)
reload
;;
status)
rhstatus
;;
condrestart)
[ -f /var/lock/subsys/winbindd ] && restart || :
;;
*)
echo $"Usage: $0 {start|stop|restart|reload|status|condrestart}"
exit 2
esac
exit $?