From 5191ffffd9d62001984dba49a692524d60fa14ea9827897bee230387ebd02891 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 23 Sep 2021 10:24:07 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=648 --- _service | 2 +- baselibs.conf | 4 +- samba-4.14.6+git.182.2205d5224e3.tar.bz2 | 3 - samba-4.15.0+git.177.73057cd57b6.tar.bz2 | 3 + samba.changes | 43 ++++ samba.spec | 237 ++++++++++------------- 6 files changed, 155 insertions(+), 137 deletions(-) delete mode 100644 samba-4.14.6+git.182.2205d5224e3.tar.bz2 create mode 100644 samba-4.15.0+git.177.73057cd57b6.tar.bz2 diff --git a/_service b/_service index 7a698c9..0871c38 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ https://gitlab.suse.de/samba/suse-samba.git/ git - factory-4-14-stable + factory-4-15-stable @PARENT_TAG@+git.@TAG_OFFSET@.%h samba-(.*) \1 diff --git a/baselibs.conf b/baselibs.conf index 0b0cf3b..d9eac3d 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,7 +1,9 @@ libdcerpc0 libdcerpc-binding0 libdcerpc-samr0 -libndr1 +libndr2 + provides "libndr1- = " + obsoletes "libndr1- < " libndr-krb5pac0 libndr-nbt0 libndr-standard0 diff --git a/samba-4.14.6+git.182.2205d5224e3.tar.bz2 b/samba-4.14.6+git.182.2205d5224e3.tar.bz2 deleted file mode 100644 index e1d26ad..0000000 --- a/samba-4.14.6+git.182.2205d5224e3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab56b0743a31d656a48ef543b1d3d1d64c9cf5794b5c983f819e119eafdf83c6 -size 25095151 diff --git a/samba-4.15.0+git.177.73057cd57b6.tar.bz2 b/samba-4.15.0+git.177.73057cd57b6.tar.bz2 new file mode 100644 index 0000000..e72c3b0 --- /dev/null +++ b/samba-4.15.0+git.177.73057cd57b6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:614ab01321ae1d693b3d6828707978685ed44c92d7f2a248611e8018ff80d2c6 +size 25317136 diff --git a/samba.changes b/samba.changes index ac08947..f97c0d9 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Mon Sep 20 14:25:41 UTC 2021 - Samuel Cabrero + +- Update to 4.15.0 + * Removed SMB development dialects SMB2_22, SMB2_24 and SMB3_10 + * VFS layer modernized. + * Add the ability to set allow/deny lists for zone transfer clients + in Bind DLZ plugin + * Server multi-channel support no longer experimental + * Improved command line user experience, unifying the options in + different commands + * Winbindd no longer scans trusted domains on startup and will use + enterprise principals by default. + * The net utility is now able to support the offline domain join feature + * New options for 'samba-tool dns zoneoptions' for aging control + and to mark old records as static or dynamic + * DNS tombstones are now deleted as appropriate and use a consistent + timestamp format + * The 'samba-tool dns update' command validates and rejects now malformed + IPv4 and IPv6 addresses + * The 'samba-tool domain backup' command correctly takes out locks + against concurrent modification during backup when using the LMDB + backend + * TruACL support has been removed + * NIS support has been removed + +------------------------------------------------------------------- +Thu Sep 16 07:55:35 UTC 2021 - Samuel Cabrero + +- Update to 4.14.7 + * smbd panic on force-close share during offload write; (bso#14769); + * smbd should support copy_file_range() for FSCTL_SRV_COPYCHUNK; + (bso#12033); + * Fix returned attributes on fake quota file handle and avoid hitting + the VFS; (bso#14731); + * vfs_shadow_copy2 fix inodes not correctly updating inode numbers; + (bso#14756); + * Fix build on Solaris; (bso#14774); + * Make dos attributes available for unreadable files; (bso#14654); + * Work around special SMB2 READ response behavior of NetApp Ontap + 7.3.7; (bso#14607); + * Start the SMB encryption as soon as possible; (bso#14793); + ------------------------------------------------------------------- Tue Aug 17 16:30:25 UTC 2021 - David Mulder diff --git a/samba.spec b/samba.spec index 107d74e..b01d79e 100644 --- a/samba.spec +++ b/samba.spec @@ -1,7 +1,7 @@ # # spec file for package samba # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -50,18 +50,29 @@ %endif %endif -%define talloc_version 2.3.2 -%define tevent_version 0.10.2 -%define tdb_version 1.4.3 -%define ldb_version 2.3.0 +%define talloc_version 2.3.3 +%define tevent_version 0.11.0 +%define tdb_version 1.4.4 +%define ldb_version 2.4.0 -%global with_mitkrb5 1 -%global with_dc 0 -%if 0%{?suse_version} > 1320 -%ifnarch ppc -%global with_dc 1 -%endif -%endif +# This table represents the possible combinations of build macros. +# They are defined only if not already defined in the build service +# project configuration: +# https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.prjconfig.html#sec.prjconfig.macros +# +# %with_dc %with_mit_dc %with_mitkrb5 +#--------------------------------------------------------- +# Heimdal 1 0 0 +# With DC +# MIT 1 1 1 +#--------------------------------------------------------- +# MIT 0 0 1 +# No DC +# Heimdal 0 0 0 +#--------------------------------------------------------- +%{!?with_mitkrb5: %define with_mitkrb5 1} +%{!?with_mit_dc: %define with_mit_dc 1} +%{!?with_dc: %define with_dc 1} Name: samba BuildRequires: autoconf @@ -101,10 +112,10 @@ BuildRequires: ncurses-devel BuildRequires: openldap2-devel BuildRequires: pam-devel BuildRequires: popt-devel -BuildRequires: python3-devel -BuildRequires: python3-xml BuildRequires: python3-Markdown +BuildRequires: python3-devel BuildRequires: python3-dnspython +BuildRequires: python3-xml BuildRequires: readline-devel %if 0%{?suse_version} >= 1330 BuildRequires: rpcgen @@ -144,15 +155,20 @@ BuildRequires: librados-devel %endif %if %{with_dc} BuildRequires: gpgme-devel -BuildRequires: krb5-devel >= 1.15.1 -BuildRequires: krb5-server >= 1.15.1 BuildRequires: libgnutls-devel >= 3.4.7 BuildRequires: libjansson-devel BuildRequires: python3-gpgme +%if %{with_mit_dc} +BuildRequires: krb5-devel >= 1.15.1 +BuildRequires: krb5-server >= 1.15.1 +%endif %else BuildRequires: krb5-devel BuildRequires: libgnutls-devel >= 3.2.0 %endif +%if ! %{with_mitkrb5} +BuildRequires: flex +%endif %if %{with_mscat} BuildRequires: libgnutls-devel >= 3.5.6 BuildRequires: libtasn1-devel >= 3.8 @@ -172,9 +188,9 @@ BuildRequires: liburing-devel %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -Version: 4.14.6+git.182.2205d5224e3 +Version: 4.15.0+git.177.73057cd57b6 Release: 0 -Url: https://www.samba.org/ +URL: https://www.samba.org/ Obsoletes: samba-32bit < %{version} Obsoletes: samba-gplv3 < %{version} Recommends: cron @@ -187,9 +203,9 @@ Source4: baselibs.conf Source100: samba-client-rpmlintrc Requires(pre): /usr/bin/getent Requires(pre): /usr/sbin/groupadd -Requires: system-user-nobody -Requires: coreutils Requires: /usr/bin/grep +Requires: coreutils +Requires: system-user-nobody %if 0%{?suse_version} > 1220 Requires: %{fillup_prereq} %endif @@ -243,8 +259,6 @@ Samba as part of SUSE Linux Enterprise or openSUSE products, links to binary packages of the most current Samba version, and a bug reporting how to. - - %package client Summary: Samba Client Utilities License: GPL-3.0-or-later @@ -257,9 +271,9 @@ Requires: %{?insserv_prereq} Requires: /sbin/chkconfig %endif Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig -Requires: coreutils +Requires(postun):/sbin/ldconfig Requires: cifs-utils +Requires: coreutils %description client Samba is a suite of programs that allows SMB/CIFS clients to use the @@ -277,8 +291,6 @@ Samba as part of SUSE Linux Enterprise or openSUSE products, links to binary packages of the most current Samba version, and a bug reporting how to. - - %package core-devel Summary: Development files shared by Samba subpackages License: GPL-3.0-or-later @@ -333,11 +345,11 @@ Summary: Samba Python3 libraries License: GPL-3.0-or-later Group: Development/Libraries/Python Requires: %{name} = %{version} +Requires: libsamba-policy0-python3 = %{version} Requires: python3-ldb Requires: python3-talloc Requires: python3-tdb Requires: python3-tevent -Requires: libsamba-policy0-python3 = %{version} %description python3 The samba-python3 package contains the Python libraries needed by programs @@ -347,11 +359,11 @@ that use SMB, RPC and other Samba provided protocols in Python3 programs. Summary: Samba Group Policy License: GPL-3.0-or-later Group: Productivity/Networking/Samba -Requires: samba-ldb-ldap = %{version} -Requires: sscep -Requires: certmonger Requires: cepces +Requires: certmonger +Requires: samba-ldb-ldap = %{version} Requires: samba-python3 = %{version} +Requires: sscep %description gpupdate The samba-gpupdate package provides the samba-gpupdate tool for applying @@ -377,8 +389,6 @@ Requires: samba-winbind = %{version} samba-test provides testing tools for both the server and client packages of Samba. - - %package winbind Summary: Winbind Daemon and Tool License: GPL-3.0-or-later @@ -386,25 +396,23 @@ Group: Productivity/Networking/Samba Obsoletes: samba-gplv3-winbind < %{version} Provides: samba-client:/usr/sbin/winbindd Requires: pam-config +Recommends: /usr/sbin/nscd Recommends: cron Recommends: logrotate -Recommends: /usr/sbin/nscd %if 0%{?suse_version} < 1221 Requires: %{?insserv_prereq} %endif Requires(pre): /usr/sbin/groupadd Requires: coreutils -Requires: samba-client >= %{version} Requires: libtevent-util0 >= %{version} +Requires: samba-client >= %{version} Requires: samba-gpupdate = %{version} Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig +Requires(postun):/sbin/ldconfig %description winbind This is the winbind-daemon and the wbinfo-tool. - - %package -n ctdb Summary: Clustered TDB License: GPL-3.0-or-later @@ -419,10 +427,10 @@ Requires: tdb-tools %else Requires(pre): %{insserv_prereq} %endif -Requires(pre): coreutils -Requires(pre): /bin/mktemp -Requires(pre): /usr/bin/killall -Requires(pre): /usr/bin/sed +Requires(pre): coreutils +Requires(pre): /bin/mktemp +Requires(pre): /usr/bin/killall +Requires(pre): /usr/bin/sed Provides: ctdb-tests = %{version} Obsoletes: ctdb-tests <= %{version} @@ -439,7 +447,6 @@ The CTDB Performance Co-Pilot (PCP) monitoring agent allows remote PCP clients to view and capture detailed real-time performance metrics for one or more cluster nodes. - %package -n libdcerpc-binding0 Summary: Some samba library License: GPL-3.0-or-later @@ -457,7 +464,6 @@ Group: System/Libraries %description -n libdcerpc-samr0 This subpackage contains NDR marshallers for the SAMR protocol. - %package -n libdcerpc-samr-devel Summary: Development files for the SAMR protocol library License: GPL-3.0-or-later @@ -468,8 +474,6 @@ Requires: libdcerpc-samr0 = %{version} This subpackage contains libraries and header files for developing applications that want to make use of libdcerpc-samr. - - %package -n libdcerpc0 Summary: Distributed Computing Environment Remote Procedure Calls library License: GPL-3.0-or-later @@ -483,8 +487,6 @@ programmers to write distributed software as if it were all working on the same computer, without having to worry about the underlying network code. - - %package -n libdcerpc-devel Summary: Development files for the DCE/RPC library License: GPL-3.0-or-later @@ -504,8 +506,6 @@ network code. This subpackage contains libraries and header files for developing applications that want to make use of libdcerpc. - - %package -n libndr-krb5pac0 Summary: NDR marshallers for the KRB5 PAC formats License: GPL-3.0-or-later @@ -515,7 +515,6 @@ Group: System/Libraries This subpackage contains NDR marshallers for the Kerberos Privilege Attribute Certificate Data Structure (PAC). - %package -n libndr-krb5pac-devel Summary: Development files for the ndr-krb5pac library License: GPL-3.0-or-later @@ -527,8 +526,6 @@ Requires: samba-core-devel = %{version} This subpackage contains libraries and header files for developing applications that want to make use of libndr-krb5pac. - - %package -n libndr-nbt0 Summary: NDR marshallers for NBT formats License: GPL-3.0-or-later @@ -537,8 +534,6 @@ Group: System/Libraries %description -n libndr-nbt0 This subpackage contains NDR marshallers for the NetBIOS protocol. - - %package -n libndr-nbt-devel Summary: Development files for the ndr-nbt library License: GPL-3.0-or-later @@ -550,8 +545,6 @@ Requires: samba-core-devel = %{version} This subpackage contains libraries and header files for developing applications that want to make use of libndr-nbt. - - %package -n libndr-standard0 Summary: NDR marshallers for the standard set of DCE/RPC interfaces License: GPL-3.0-or-later @@ -561,8 +554,6 @@ Group: System/Libraries This subpackage contains NDR encoders/decoders for the set of standard DCE/RPC interfaces found on Windows and Samba servers. - - %package -n libndr-standard-devel Summary: Development files for the libndr-standard library License: GPL-3.0-or-later @@ -574,26 +565,22 @@ Requires: samba-core-devel = %{version} This subpackage contains libraries and header files for developing applications that want to make use of libndr-standard. - - -%package -n libndr1 +%package -n libndr2 Summary: Network Data Representation library License: GPL-3.0-or-later Group: System/Libraries -Provides: libndr0 -Obsoletes: libndr0 +Provides: libndr1 = %{version} +Obsoletes: libndr1 < %{version} -%description -n libndr1 +%description -n libndr2 Network Data Representation (NDR) is an implementation of the presentation layer in the OSI model. - - %package -n libndr-devel Summary: Development files for the Network Data Representation library License: GPL-3.0-or-later Group: Development/Libraries/C and C++ -Requires: libndr1 = %{version} +Requires: libndr2 = %{version} Requires: samba-core-devel = %{version} %description -n libndr-devel @@ -603,8 +590,6 @@ presentation layer in the OSI model. This subpackage contains libraries and header files for developing applications that want to make use of libndr. - - %package -n libsamba-credentials1 Summary: Samba credential management library License: GPL-3.0-or-later @@ -614,7 +599,6 @@ Obsoletes: libsamba-credentials0 < %{version} %description -n libsamba-credentials1 This subpackage contains libraries for credentials management. - %package -n libsamba-credentials-devel Summary: Development files for the Samba credential management library License: GPL-3.0-or-later @@ -625,8 +609,6 @@ Requires: libsamba-credentials1 = %{version} This subpackage contains libraries and header files for developing applications that want to make use of libsamba-credentials. - - %package -n libsamba-errors0 Summary: Samba errors handling library License: GPL-3.0-or-later @@ -635,7 +617,6 @@ Group: System/Libraries %description -n libsamba-errors0 This subpackage contains libraries to handle and translate NT error codes. - %package -n libsamba-errors-devel Summary: Development files for the Samba errors handling library License: GPL-3.0-or-later @@ -646,8 +627,6 @@ Requires: libsamba-errors0 = %{version} This subpackage contains libraries and header files for developing applications that want to make use of libsamba-errors. - - %package -n libsamba-hostconfig0 Summary: Host-wide Samba configuration library License: GPL-3.0-or-later @@ -657,7 +636,6 @@ Group: System/Libraries This subpackage contains libraries for accessing the samba host-specific configuration files. - %package -n libsamba-hostconfig-devel Summary: Development files for the host-wide Samba configuration library License: GPL-3.0-or-later @@ -669,8 +647,6 @@ Requires: samba-core-devel = %{version} This subpackage contains libraries and header files for developing applications that want to make use of libsamba-hostconfig. - - %package -n libsamba-passdb0 Summary: Samba3 password database library License: GPL-3.0-or-later @@ -680,13 +656,12 @@ Obsoletes: libpdb0 < %{version} %description -n libsamba-passdb0 This subpackage contains libraries to interface the password database. - %package -n libsamba-passdb-devel Summary: Development files for the Samba3 password database library License: GPL-3.0-or-later Group: Development/Libraries/C and C++ -Provides: libpdb-devel -Obsoletes: libpdb-devel +Provides: libpdb-devel = %{version} +Obsoletes: libpdb-devel < %{version} Requires: libndr-standard-devel = %{version} Requires: libsamba-passdb0 = %{version} Requires: libtevent-devel @@ -695,7 +670,6 @@ Requires: libtevent-devel This subpackage contains libraries and header files for developing applications that want to make use of libsamba-passdb. - %package -n libsamba-policy0-python3 Summary: Active Directory Group Policy library License: GPL-3.0-or-later @@ -733,8 +707,6 @@ Group: System/Libraries This subpackage contains generic data structures and functions used within Samba. - - %package -n libsamba-util-devel Summary: Development files for the Samba utility function library License: GPL-3.0-or-later @@ -746,8 +718,6 @@ Requires: samba-core-devel = %{version} This subpackage contains libraries and header files for developing applications that want to make use of libsamba-util. - - %package -n libsamdb0 Summary: Samba's SAM database library License: GPL-3.0-or-later @@ -756,8 +726,6 @@ Group: System/Libraries %description -n libsamdb0 This subpackage contains libraries for accessing the SAM database. - - %package -n libsamdb-devel Summary: Development files for Samba's SAM database library License: GPL-3.0-or-later @@ -768,8 +736,6 @@ Requires: libsamdb0 = %{version} This subpackage contains libraries and header files for developing applications that want to make use of libsamdb. - - %package -n libsmbconf0 Summary: Samba3 configuration library License: GPL-3.0-or-later @@ -779,8 +745,6 @@ Group: System/Libraries libsmbconf is a library to read or, based on the backend, modify the Samba configuration. - - %package -n libsmbconf-devel Summary: Development files for the Samba3 configuration library License: GPL-3.0-or-later @@ -794,8 +758,6 @@ Samba configuration. This subpackage contains libraries and header files for developing applications that want to make use of libsmbconf. - - %package -n libsmbldap2 Summary: Samba LDAP protocol helper function library License: GPL-3.0-or-later @@ -804,8 +766,6 @@ Group: System/Libraries %description -n libsmbldap2 libsmbldap contains LDAP protocol helper functions for Samba. - - %package -n libsmbldap-devel Summary: Development files for the smbldap library License: GPL-3.0-or-later @@ -821,8 +781,6 @@ libsmbldap contains LDAP protocol helper functions for Samba. This subpackage contains libraries and header files for developing applications that want to make use of libsmbldap. - - %package -n libtevent-util0 Summary: Samba tevent <-> system status code conversion utility library License: GPL-3.0-or-later @@ -832,8 +790,6 @@ Group: System/Libraries The libtevent-util library contains functions to convert tevent error codes to platform-specific (errno, NTSTATUS, WERROR) ones. - - %package -n libtevent-util-devel Summary: Development files for the Samba tevent utility library License: GPL-3.0-or-later @@ -849,8 +805,6 @@ codes to platform-specific (errno, NTSTATUS, WERROR) ones. This subpackage contains libraries and header files for developing applications that want to make use of libtevent-util. - - %package -n %{libsmbclient_name} Obsoletes: libsmbclient < %{version} Summary: Samba Client Library @@ -862,22 +816,20 @@ This package includes the libsmbclient library. libsmbclient is provided by the libsmbclient0 package. - - %package -n libsmbclient-devel Summary: Libraries and Header Files to Develop Programs with smbclient Support License: GPL-3.0-or-later Group: Development/Libraries/C and C++ BuildRequires: %{pkgconfig_req} Requires: %{libsmbclient_name} = %{version} +%if %{with_mit_dc} Requires: krb5-devel +%endif %description -n libsmbclient-devel This package contains the static libraries and header files needed to develop programs which make use of the smbclient programming interface. - - %package -n %{libnetapi_name} Summary: Samba netapi Library License: GPL-3.0-or-later @@ -886,8 +838,6 @@ Group: System/Libraries %description -n %{libnetapi_name} This package includes the netapi library. - - %package -n libnetapi-devel Summary: Libraries and Header Files to Develop Programs with netapi Support License: GPL-3.0-or-later @@ -899,8 +849,6 @@ Requires: %{libnetapi_name} = %{version} This package contains the static libraries and header files needed to develop programs which make use of the netapi programming interface. - - %package -n %{libwbclient_name} Summary: Samba libwbclient Library License: LGPL-3.0-or-later @@ -909,8 +857,6 @@ Group: System/Libraries %description -n %{libwbclient_name} This package includes the wbclient library. - - %package -n libwbclient-devel Summary: Libraries and Header Files to Develop Programs with wbclient Support License: LGPL-3.0-or-later @@ -939,7 +885,9 @@ License: GPL-3.0-or-later Group: Productivity/Networking/Samba Requires: samba = %{version} Requires: samba-dsdb-modules = %{version} +%if %{with_mit_dc} Recommends: krb5-server >= 1.15.1 +%endif Requires: samba-python3 = %{version} Recommends: samba-winbind = %{version} Recommends: tdb-tools >= %{tdb_version} @@ -956,7 +904,7 @@ Group: Productivity/Networking/Samba Requires: libldb2 >= %{ldb_version} Requires: samba-ldb-ldap = %{version} Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig +Requires(postun):/sbin/ldconfig %description dsdb-modules This package contains plugins which add Active Directory features to the @@ -1032,6 +980,7 @@ CONFIGURE_OPTIONS="\ --disable-rpath \ --disable-rpath-install \ --enable-debug \ + --with-profiling-data \ %if 0%{?build_ctdb_pmda} --enable-pmda \ %endif @@ -1060,7 +1009,7 @@ CONFIGURE_OPTIONS="\ --without-json \ --without-gpgme \ %else -%if %{with_mitkrb5} +%if %{with_dc} && %{with_mit_dc} --with-experimental-mit-ad-dc \ %endif %endif @@ -1122,9 +1071,12 @@ make install \ # debug symbols are created and installed if the files are excluded only %if ! %{with_dc} rm \ + %{buildroot}/%{_libdir}/samba/ldb/ildap.so \ + %{buildroot}/%{_libdir}/samba/ldb/ldbsamba_extensions.so \ %{buildroot}/%{_mandir}/man8/samba.8* \ %{buildroot}/%{_mandir}/man8/samba-tool.8* \ - %{buildroot}/%{_mandir}/man8/samba_downgrade_db.8* + %{buildroot}/%{_mandir}/man8/samba_downgrade_db.8* \ + %{buildroot}/%{_unitdir}/samba-ad-dc.service %endif # CTDB @@ -1199,11 +1151,11 @@ for srv_name in nmb smb winbind; do done %if %{with_dc} ln -s service %{buildroot}/%{_sbindir}/rcsamba-ad-dc + install -m 0644 systemd/sysconfig.samba-ad-dc %{buildroot}%{_fillupdir} %endif rm %{buildroot}/%{_sysconfdir}/sysconfig/samba install -m 0644 systemd/sysconfig.samba %{buildroot}%{_fillupdir} install -m 0644 systemd/sysconfig.samba-winbind %{buildroot}%{_fillupdir} -install -m 0644 systemd/sysconfig.samba-ad-dc %{buildroot}%{_fillupdir} install -m 0644 -p ../systemd/samba.conf.tmp %{buildroot}/%{_tmpfilesdir}/samba.conf %else for script in ${startScripts}; do @@ -1405,7 +1357,7 @@ then echo using foreground execution for samba systemd units echo overwriting samba sysconfig to remove daemon related flags... sed -i 's/-D *//g' %{_sysconfdir}/sysconfig/samba - sed -i 's/-F *//g' %{_sysconfdir}/sysconfig/samba + sed -i 's/-F *//g' %{_sysconfdir}/sysconfig/samba fi %service_add_post nmb.service smb.service @@ -1499,8 +1451,8 @@ fi %postun -n libndr-nbt0 -p /sbin/ldconfig %post -n libndr-standard0 -p /sbin/ldconfig %postun -n libndr-standard0 -p /sbin/ldconfig -%post -n libndr1 -p /sbin/ldconfig -%postun -n libndr1 -p /sbin/ldconfig +%post -n libndr2 -p /sbin/ldconfig +%postun -n libndr2 -p /sbin/ldconfig %post -n %{libnetapi_name} -p /sbin/ldconfig %postun -n %{libnetapi_name} -p /sbin/ldconfig %post -n libsamba-credentials1 -p /sbin/ldconfig @@ -1692,6 +1644,7 @@ exit 0 %{_sbindir}/rcnmb %{_sbindir}/rcsmb %{_sbindir}/smbd +%{_libdir}/samba/samba-bgqd %if 0%{?suse_version} < 1100 %dir %{_datadir}/omc %dir %{_datadir}/omc/svcinfo.d @@ -1704,6 +1657,7 @@ exit 0 %{_mandir}/man5/smbpasswd.5.* %{_mandir}/man8/nmbd.8.* %{_mandir}/man8/smbd.8.* +%{_mandir}/man8/samba-bgqd.8.* %if 0%{?suse_version} > 1220 %{_fillupdir}/sysconfig.samba %endif @@ -1736,7 +1690,6 @@ exit 0 %{_bindir}/cifsdd %{_bindir}/dbwrap_tool %{_sbindir}/eventlogadm -%{_bindir}/findsmb %{_bindir}/net %{_bindir}/nmblookup %{_bindir}/oLschema2ldif @@ -1770,7 +1723,6 @@ exit 0 %{_libdir}/samba/charset %{_libdir}/samba/smbspool_krb5_wrapper %{_mandir}/man1/dbwrap_tool.1.* -%{_mandir}/man1/findsmb.1.* %{_mandir}/man1/log2pcap.1.* %{_mandir}/man1/nmblookup.1.* %{_mandir}/man1/nmbstatus.1.* @@ -1901,8 +1853,9 @@ exit 0 %{_libdir}/samba/libcliauth-samba4.so %{_libdir}/samba/libcluster-samba4.so %{_libdir}/samba/libcmdline-contexts-samba4.so -%{_libdir}/samba/libcmdline-credentials-samba4.so +%{_libdir}/samba/libcmdline-samba4.so %{_libdir}/samba/libdbwrap-samba4.so +%{_libdir}/samba/libdcerpc-pkt-auth-samba4.so %{_libdir}/samba/libdcerpc-samba-samba4.so %{_libdir}/samba/libdcerpc-samba4.so %{_libdir}/libdcerpc-server-core.so.0 @@ -1942,8 +1895,6 @@ exit 0 %{_libdir}/samba/libnetif-samba4.so %{_libdir}/samba/libnpa-tstream-samba4.so %{_libdir}/samba/libnss-info-samba4.so -%{_libdir}/samba/libpopt-samba3-cmdline-samba4.so -%{_libdir}/samba/libpopt-samba3-samba4.so %{_libdir}/samba/libposix-eadb-samba4.so %{_libdir}/samba/libprinter-driver-samba4.so %{_libdir}/samba/libprinting-migrate-samba4.so @@ -1974,7 +1925,6 @@ exit 0 %{_libdir}/samba/libtime-basic-samba4.so %{_libdir}/samba/libtorture-samba4.so %{_libdir}/samba/libtrusts-util-samba4.so -%{_libdir}/samba/libutil-cmdline-samba4.so %{_libdir}/samba/libutil-reg-samba4.so %{_libdir}/samba/libutil-setid-samba4.so %{_libdir}/samba/libutil-tdb-samba4.so @@ -1993,6 +1943,20 @@ exit 0 %if %{with_mscat} %{_libdir}/samba/libmscat-samba4.so %endif +%if ! %{with_mitkrb5} +%{_libdir}/samba/libasn1-samba4.so.* +%{_libdir}/samba/libcom_err-samba4.so.* +%{_libdir}/samba/libgssapi-samba4.so.* +%{_libdir}/samba/libhcrypto-samba4.so.* +%{_libdir}/samba/libhdb-samba4.so.* +%{_libdir}/samba/libheimbase-samba4.so.* +%{_libdir}/samba/libheimntlm-samba4.so.* +%{_libdir}/samba/libhx509-samba4.so.* +%{_libdir}/samba/libkdc-samba4.so.* +%{_libdir}/samba/libkrb5-samba4.so.* +%{_libdir}/samba/libroken-samba4.so.* +%{_libdir}/samba/libwind-samba4.so.* +%endif %files libs-python3 %{_libdir}/samba/libsamba-net.%{py3_soflags_dash}-samba4.so @@ -2018,13 +1982,13 @@ exit 0 %{_mandir}/man7/traffic_learner.7.* %{_mandir}/man7/traffic_replay.7.* %{_bindir}/vfstest -%{_bindir}/mdfind +%{_bindir}/mdsearch %{_mandir}/man1/gentest.1.* %{_mandir}/man1/locktest.1.* %{_mandir}/man1/masktest.1.* %{_mandir}/man1/ndrdump.1.* %{_mandir}/man1/vfstest.1.* -%{_mandir}/man1/mdfind.1.* +%{_mandir}/man1/mdsearch.1.* %files winbind -f filelist-samba-winbind %defattr(-,root,root) @@ -2048,10 +2012,12 @@ exit 0 %dir %{_libdir}/samba/krb5 %{_libdir}/samba/krb5/async_dns_krb5_locator.so %{_libdir}/samba/krb5/winbind_krb5_locator.so +%if %{with_mitkrb5} %{_libdir}/samba/krb5/winbind_krb5_localauth.so +%{_mandir}/man8/winbind_krb5_localauth.8.* +%endif %{_mandir}/man1/ntlm_auth.1.* %{_mandir}/man1/wbinfo.1.* -%{_mandir}/man8/winbind_krb5_localauth.8.* %{_mandir}/man8/winbind_krb5_locator.8.* %{_mandir}/man5/pam_winbind.conf.5.* %{_mandir}/man8/idmap_ad.8.* @@ -2141,6 +2107,7 @@ exit 0 %{_libdir}/ctdb/ctdb_killtcp %{_libdir}/ctdb/ctdb_lvs %{_libdir}/ctdb/ctdb_mutex_fcntl_helper +%{_libdir}/ctdb/tdb_mutex_check %dir %{_localstatedir}/lib/ctdb %dir %{_localstatedir}/lib/ctdb/persistent %dir %{_localstatedir}/log/ctdb @@ -2213,6 +2180,7 @@ exit 0 %_libdir/libdcerpc-server.so %_libdir/pkgconfig/dcerpc_server.pc %endif + %files -n libndr-krb5pac0 %defattr(-,root,root) %_libdir/libndr-krb5pac.so.0* @@ -2261,9 +2229,9 @@ exit 0 %_libdir/libndr-standard.so %_libdir/pkgconfig/ndr_standard.pc -%files -n libndr1 +%files -n libndr2 %defattr(-,root,root) -%_libdir/libndr.so.1* +%_libdir/libndr.so.2* %files -n libndr-devel %defattr(-,root,root) @@ -2451,14 +2419,19 @@ exit 0 %{_sbindir}/samba_upgradedns %{_sbindir}/samba_downgrade_db %{_sbindir}/rcsamba-ad-dc +%if %{with_mit_dc} %{_libdir}/krb5/plugins/kdb/samba.so +%else +%{_libdir}/samba/libHDB-SAMBA4-samba4.so +%endif %{_libdir}/libdcerpc-server.so.0 %{_libdir}/libdcerpc-server.so.0.0.1 %{_libdir}/samba/bind9 -%{_libdir}/samba/bind9/dlz_bind9.so %{_libdir}/samba/bind9/dlz_bind9_10.so %{_libdir}/samba/bind9/dlz_bind9_11.so -%{_libdir}/samba/bind9/dlz_bind9_9.so +%{_libdir}/samba/bind9/dlz_bind9_12.so +%{_libdir}/samba/bind9/dlz_bind9_14.so +%{_libdir}/samba/bind9/dlz_bind9_16.so %{_libdir}/samba/gensec %{_libdir}/samba/gensec/krb5.so %{_libdir}/samba/libdlz-bind9-for-torture-samba4.so