Update to Samba 4.21.0rc2
- Package libldb a public library - resolves: #2300469 Pair-Programmed-With: Andreas Schneider <asn@redhat.com>
This commit is contained in:
parent
3dd6bed73b
commit
d04728829d
3 changed files with 376 additions and 103 deletions
384
samba.spec
384
samba.spec
|
|
@ -8,7 +8,7 @@
|
|||
#
|
||||
%bcond_with testsuite
|
||||
|
||||
# Build with internal talloc, tevent, tdb and ldb.
|
||||
# Build with internal talloc, tevent, tdb
|
||||
#
|
||||
# fedpkg mockbuild --with=testsuite --with=includelibs
|
||||
# or
|
||||
|
|
@ -144,9 +144,15 @@
|
|||
%bcond_with gpupdate
|
||||
%endif
|
||||
|
||||
%ifarch aarch64 ppc64le s390x x86_64
|
||||
%bcond lmdb 1
|
||||
%else
|
||||
%bcond lmdb 0
|
||||
%endif
|
||||
|
||||
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
||||
|
||||
%global samba_version 4.20.4
|
||||
%global samba_version 4.21.0
|
||||
|
||||
# The release field is extended:
|
||||
# <pkgrel>[.<extraver>][.<snapinfo>]%%{?dist}[.<minorbump>]
|
||||
|
|
@ -161,7 +167,7 @@
|
|||
# default is 1).
|
||||
%global samba_release %autorelease
|
||||
|
||||
%global pre_release %nil
|
||||
%global pre_release rc2
|
||||
%if "x%{?pre_release}" != "x"
|
||||
%global samba_release %autorelease -p -e %pre_release
|
||||
%endif
|
||||
|
|
@ -174,13 +180,14 @@
|
|||
%global libdcerpc_so_version 0
|
||||
%global libndr_krb5pac_so_version 0
|
||||
%global libndr_nbt_so_version 0
|
||||
%global libndr_so_version 4
|
||||
%global libndr_so_version 5
|
||||
%global libndr_standard_so_version 0
|
||||
%global libnetapi_so_version 1
|
||||
%global libsamba_credentials_so_version 1
|
||||
%global libsamba_errors_so_version 1
|
||||
%global libsamba_hostconfig_so_version 0
|
||||
%global libsamba_passdb_so_version 0
|
||||
%global libsamba_policy_so_version 0
|
||||
%global libsamba_util_so_version 0
|
||||
%global libsamdb_so_version 0
|
||||
%global libsmbconf_so_version 0
|
||||
|
|
@ -191,9 +198,8 @@
|
|||
%global libwbclient_so_version 0
|
||||
|
||||
%global talloc_version 2.4.2
|
||||
%global tdb_version 1.4.10
|
||||
%global tdb_version 1.4.11
|
||||
%global tevent_version 0.16.1
|
||||
%global ldb_version 2.9.1
|
||||
|
||||
%global required_mit_krb5 1.20.1
|
||||
|
||||
|
|
@ -248,6 +254,8 @@ Source18: samba-winbind-systemd-sysusers.conf
|
|||
Source201: README.downgrade
|
||||
Source202: samba.abignore
|
||||
|
||||
Patch0: sync_machine_password_script_install.patch
|
||||
|
||||
Requires(pre): %{name}-common = %{samba_depver}
|
||||
Requires: %{name}-common = %{samba_depver}
|
||||
Requires: %{name}-common-libs = %{samba_depver}
|
||||
|
|
@ -291,6 +299,7 @@ BuildRequires: bison
|
|||
BuildRequires: cups-devel
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: e2fsprogs-devel
|
||||
BuildRequires: flex
|
||||
BuildRequires: gawk
|
||||
|
|
@ -309,7 +318,10 @@ BuildRequires: libcmocka-devel
|
|||
BuildRequires: libtirpc-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: libxslt
|
||||
%if %{with lmdb}
|
||||
BuildRequires: lmdb
|
||||
BuildRequires: lmdb-devel >= 0.9.16
|
||||
%endif
|
||||
%if %{with winexe}
|
||||
BuildRequires: mingw32-gcc
|
||||
BuildRequires: mingw64-gcc
|
||||
|
|
@ -389,17 +401,6 @@ BuildRequires: python3-tevent >= %{tevent_version}
|
|||
|
||||
BuildRequires: libtdb-devel >= %{tdb_version}
|
||||
BuildRequires: python3-tdb >= %{tdb_version}
|
||||
|
||||
BuildRequires: libldb-devel >= %{ldb_version}
|
||||
BuildRequires: python3-ldb >= %{ldb_version}
|
||||
BuildRequires: python3-ldb-devel >= %{ldb_version}
|
||||
%endif
|
||||
|
||||
%if %{with includelibs} || %{with testsuite}
|
||||
# lmdb-devel is required for the mdb ldb module, if samba is configured
|
||||
# to build includelibs we need lmdb-devel for building that module on our own
|
||||
BuildRequires: lmdb-devel
|
||||
#endif without includelibs
|
||||
%endif
|
||||
|
||||
%if %{with dc} || %{with testsuite}
|
||||
|
|
@ -417,7 +418,6 @@ BuildRequires: python3-setproctitle
|
|||
|
||||
%if %{without includelibs}
|
||||
BuildRequires: tdb-tools
|
||||
BuildRequires: ldb-tools
|
||||
#endif without includelibs
|
||||
%endif
|
||||
|
||||
|
|
@ -559,7 +559,9 @@ Requires: python3-%{name} = %{samba_depver}
|
|||
Requires: python3-%{name}-dc = %{samba_depver}
|
||||
%if %{with dc}
|
||||
# samba-tool needs mdb_copy and tdbackup for domain backup or upgrade provision
|
||||
%if %{with lmdb}
|
||||
Requires: lmdb
|
||||
%endif
|
||||
Requires: tdb-tools
|
||||
Requires: python3-gpg
|
||||
%endif
|
||||
|
|
@ -603,11 +605,7 @@ Requires: libwbclient = %{samba_depver}
|
|||
|
||||
Requires: ldb-tools
|
||||
Requires: python3-setproctitle
|
||||
# Force using libldb version to be the same as build version
|
||||
# Otherwise LDB modules will not be loaded and samba-tool will fail
|
||||
# See bug 1507420
|
||||
%samba_requires_eq libldb
|
||||
|
||||
Requires: libldb = %{samba_depver}
|
||||
Requires: python3-%{name} = %{samba_depver}
|
||||
Requires: python3-%{name}-dc = %{samba_depver}
|
||||
Requires: krb5-server >= %{required_mit_krb5}
|
||||
|
|
@ -896,13 +894,6 @@ Provides: bundled(libreplace)
|
|||
The python3-%{name} package contains the Python 3 libraries needed by programs
|
||||
that use SMB, RPC and other Samba provided protocols in Python 3 programs.
|
||||
|
||||
%package -n python3-%{name}-devel
|
||||
Summary: Samba python devel files
|
||||
Requires: python3-%{name} = %{samba_depver}
|
||||
|
||||
%description -n python3-%{name}-devel
|
||||
The python3-%{name}-devel package contains the Python 3 devel files.
|
||||
|
||||
%package -n python3-samba-test
|
||||
Summary: Samba Python libraries
|
||||
Requires: python3-%{name} = %{samba_depver}
|
||||
|
|
@ -1221,7 +1212,79 @@ Support for using an existing CEPH cluster as a mutex helper for CTDB
|
|||
#endif with clustering
|
||||
%endif
|
||||
|
||||
### LIBLDB
|
||||
%package -n libldb
|
||||
Summary: A schema-less, ldap like, API and database
|
||||
License: LGPL-3.0-or-later
|
||||
Requires: libtalloc%{?_isa} >= %{talloc_version}
|
||||
Requires: libtdb%{?_isa} >= %{tdb_version}
|
||||
Requires: libtevent%{?_isa} >= %{tevent_version}
|
||||
|
||||
Provides: bundled(libreplace)
|
||||
Obsoletes: libldb < 2.10
|
||||
Provides: libldb = %{samba_depver}
|
||||
|
||||
%description -n libldb
|
||||
An extensible library that implements an LDAP like API to access remote LDAP
|
||||
servers, or use local tdb databases.
|
||||
|
||||
### LIBLDB-DEVEL
|
||||
%package -n libldb-devel
|
||||
Summary: Developer tools for the LDB library
|
||||
License: LGPL-3.0-or-later
|
||||
Requires: libldb%{?_isa} = %{version}-%{release}
|
||||
Requires: libtdb-devel%{?_isa} >= %{tdb_version}
|
||||
Requires: libtalloc-devel%{?_isa} >= %{talloc_version}
|
||||
Requires: libtevent-devel%{?_isa} >= %{tevent_version}
|
||||
|
||||
Obsoletes: libldb-devel < 2.10
|
||||
Provides: libldb-devel = %{samba_depver}
|
||||
|
||||
%description -n libldb-devel
|
||||
Header files needed to develop programs that link against the LDB library.
|
||||
|
||||
### LDB-TOOLS
|
||||
%package -n ldb-tools
|
||||
Summary: Tools to manage LDB files
|
||||
License: LGPL-3.0-or-later
|
||||
Requires: libldb%{?_isa} = %{samba_release}
|
||||
Obsoletes: ldb-tools < 2.10
|
||||
Provides: ldb-tools = %{samba_depver}
|
||||
|
||||
%description -n ldb-tools
|
||||
Tools to manage LDB files
|
||||
|
||||
### PYTHON3-LDB-DEVEL-COMMON
|
||||
%package -n python-ldb-devel-common
|
||||
Summary: Common development files for the Python bindings for the LDB library
|
||||
License: LGPL-3.0-or-later
|
||||
|
||||
Provides: pyldb-devel%{?_isa} = %{version}-%{release}
|
||||
%{?python_provide:%python_provide python2-ldb-devel}
|
||||
|
||||
Obsoletes: python-ldb-devel-common < 2.10
|
||||
Provides: python-ldb-devel-common = %{samba_depver}
|
||||
|
||||
%description -n python-ldb-devel-common
|
||||
Development files for the Python bindings for the LDB library.
|
||||
This package includes files that aren't specific to a Python version.
|
||||
|
||||
### PYTHON3-LDB
|
||||
%package -n python3-ldb
|
||||
Summary: Python bindings for the LDB library
|
||||
License: LGPL-3.0-or-later
|
||||
Requires: libldb%{?_isa} = %{version}-%{release}
|
||||
Requires: python3-tdb%{?_isa} >= %{tdb_version}
|
||||
%{?python_provide:%python_provide python3-ldb}
|
||||
|
||||
Obsoletes: python3-ldb < 2.10
|
||||
Provides: python3-ldb = %{samba_depver}
|
||||
# These were the C bindings, only used by Samba
|
||||
Obsoletes: python3-ldb-devel < 2.10
|
||||
Provides: python3-ldb-devel = %{samba_depver}
|
||||
|
||||
%description -n python3-ldb
|
||||
Python bindings for the LDB library
|
||||
|
||||
%prep
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
|
|
@ -1239,16 +1302,14 @@ rm -rfv third_party/heimdal
|
|||
%global _talloc_lib ,talloc,pytalloc,pytalloc-util
|
||||
%global _tevent_lib ,tevent,pytevent
|
||||
%global _tdb_lib ,tdb,pytdb
|
||||
%global _ldb_lib ,ldb,pyldb,pyldb-util
|
||||
%else
|
||||
%global _talloc_lib ,!talloc,!pytalloc,!pytalloc-util
|
||||
%global _tevent_lib ,!tevent,!pytevent
|
||||
%global _tdb_lib ,!tdb,!pytdb
|
||||
%global _ldb_lib ,!ldb,!pyldb,!pyldb-util
|
||||
#endif with includelibs
|
||||
%endif
|
||||
|
||||
%global _samba_libraries !popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib}
|
||||
%global _samba_bundled_libraries !popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}
|
||||
|
||||
%global _samba_idmap_modules idmap_ad,idmap_rid,idmap_ldap,idmap_hash,idmap_tdb2
|
||||
%global _samba_pdb_modules pdb_tdbsam,pdb_ldap,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4
|
||||
|
|
@ -1274,7 +1335,8 @@ rm -rfv third_party/heimdal
|
|||
%global _libwbclient wbclient,
|
||||
%endif
|
||||
|
||||
%global _samba_private_libraries %{_libsmbclient}%{_libwbclient}
|
||||
%global _default_private_libraries !ldb,!dcerpc-samr,!samba-policy,!tevent-util,!dcerpc,!samba-hostconfig,!samba-credentials,!dcerpc_server,!samdb,
|
||||
%global _samba_private_libraries %{_default_private_libraries}%{_libsmbclient}%{_libwbclient}
|
||||
|
||||
# TODO: resolve underlinked python modules
|
||||
export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')"
|
||||
|
|
@ -1311,14 +1373,12 @@ fi
|
|||
--with-cachedir=/var/lib/samba \
|
||||
--disable-rpath-install \
|
||||
--with-shared-modules=%{_samba_modules} \
|
||||
--bundled-libraries=%{_samba_libraries} \
|
||||
--bundled-libraries=%{_samba_bundled_libraries} \
|
||||
--private-libraries=%{_samba_private_libraries} \
|
||||
--with-pam \
|
||||
--with-pie \
|
||||
--with-relro \
|
||||
--without-fam \
|
||||
%if (%{without libsmbclient}) || (%{without libwbclient})
|
||||
--private-libraries=%{_samba_private_libraries} \
|
||||
%endif
|
||||
--with-system-mitkrb5 \
|
||||
--with-experimental-mit-ad-dc \
|
||||
%if %{without dc} && %{without testsuite}
|
||||
|
|
@ -1364,6 +1424,10 @@ pushd pidl
|
|||
%make_build
|
||||
popd
|
||||
|
||||
pushd lib/ldb
|
||||
doxygen Doxyfile
|
||||
popd
|
||||
|
||||
%install
|
||||
# Do not use %%make_install, make is just a wrapper around waf in Samba!
|
||||
%{__make} %{?_smp_mflags} %{_make_verbose} install DESTDIR=%{buildroot}
|
||||
|
|
@ -1472,8 +1536,8 @@ rm -f %{buildroot}%{_mandir}/man8/vfs_ceph_snapshots.8*
|
|||
/sbin/ldconfig -N -n %{buildroot}%{_libdir}
|
||||
|
||||
%if %{without dc} && %{without testsuite}
|
||||
for f in samba/libsamba-net-samba4.so \
|
||||
samba/libsamba-python-samba4.so \
|
||||
for f in samba/libsamba-net-private-samba.so \
|
||||
samba/libsamba-python-private-samba.so \
|
||||
libsamba-policy.so* \
|
||||
pkgconfig/samba-policy.pc ; do
|
||||
rm -f %{buildroot}%{_libdir}/$f
|
||||
|
|
@ -1496,6 +1560,10 @@ rm -f %{buildroot}%{perl_archlib}/vendor_perl/auto/Parse/Pidl/.packlist
|
|||
rm -rf %{buildroot}%{perl_vendorlib}/Parse/Yapp
|
||||
popd
|
||||
|
||||
# libldb manpages
|
||||
cp -a lib/ldb/apidocs/man/* %{buildroot}%{_mandir}
|
||||
rm -f %{buildroot}%{_mandir}/man3/_*
|
||||
|
||||
%if %{with testsuite}
|
||||
%check
|
||||
#
|
||||
|
|
@ -1654,6 +1722,8 @@ fi
|
|||
%systemd_postun_with_restart ctdb.service
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets -n libldb
|
||||
%ldconfig_scriptlets -n python3-ldb
|
||||
|
||||
### SAMBA
|
||||
%files
|
||||
|
|
@ -1954,7 +2024,6 @@ fi
|
|||
%{_libdir}/samba/libtdb-wrap-private-samba.so
|
||||
%{_libdir}/samba/libtime-basic-private-samba.so
|
||||
%{_libdir}/samba/libtorture-private-samba.so
|
||||
%{_libdir}/samba/libtrusts-util-private-samba.so
|
||||
%{_libdir}/samba/libutil-reg-private-samba.so
|
||||
%{_libdir}/samba/libutil-setid-private-samba.so
|
||||
%{_libdir}/samba/libutil-tdb-private-samba.so
|
||||
|
|
@ -1976,16 +2045,6 @@ fi
|
|||
%{_libdir}/samba/libtdb-private-samba.so
|
||||
%{_libdir}/samba/libtevent-private-samba.so
|
||||
|
||||
%{_libdir}/samba/ldb/asq.so
|
||||
%{_libdir}/samba/ldb/ldb.so
|
||||
%{_libdir}/samba/ldb/mdb.so
|
||||
%{_libdir}/samba/ldb/paged_searches.so
|
||||
%{_libdir}/samba/ldb/rdn_name.so
|
||||
%{_libdir}/samba/ldb/sample.so
|
||||
%{_libdir}/samba/ldb/server_sort.so
|
||||
%{_libdir}/samba/ldb/skel.so
|
||||
%{_libdir}/samba/ldb/tdb.so
|
||||
|
||||
%{_mandir}/man3/ldb.3.gz
|
||||
%{_mandir}/man3/talloc.3.gz
|
||||
#endif with includelibs
|
||||
|
|
@ -2150,6 +2209,8 @@ fi
|
|||
%endif
|
||||
### DC-LIBS
|
||||
%files dc-libs
|
||||
%{_libdir}/libsamba-policy.so.%{libsamba_policy_so_version}*
|
||||
%{_libdir}/samba/libsamba-net-private-samba.so
|
||||
%{_libdir}/samba/libauth4-private-samba.so
|
||||
|
||||
%if %{with dc} || %{with testsuite}
|
||||
|
|
@ -2299,6 +2360,7 @@ fi
|
|||
%{_libdir}/libsamba-credentials.so
|
||||
%{_libdir}/libsamba-errors.so
|
||||
%{_libdir}/libsamba-hostconfig.so
|
||||
%{_libdir}/libsamba-policy.so
|
||||
%{_libdir}/libsamba-util.so
|
||||
%{_libdir}/libsamdb.so
|
||||
%{_libdir}/libsmbconf.so
|
||||
|
|
@ -2311,6 +2373,7 @@ fi
|
|||
%{_libdir}/pkgconfig/ndr_standard.pc
|
||||
%{_libdir}/pkgconfig/samba-credentials.pc
|
||||
%{_libdir}/pkgconfig/samba-hostconfig.pc
|
||||
%{_libdir}/pkgconfig/samba-policy.pc
|
||||
%{_libdir}/pkgconfig/samba-util.pc
|
||||
%{_libdir}/pkgconfig/samdb.pc
|
||||
%{_libdir}/libsamba-passdb.so
|
||||
|
|
@ -2336,8 +2399,10 @@ fi
|
|||
%if %{with vfs_cephfs}
|
||||
%files vfs-cephfs
|
||||
%{_libdir}/samba/vfs/ceph.so
|
||||
%{_libdir}/samba/vfs/ceph_new.so
|
||||
%{_libdir}/samba/vfs/ceph_snapshots.so
|
||||
%{_mandir}/man8/vfs_ceph.8*
|
||||
%{_mandir}/man8/vfs_ceph_new.8*
|
||||
%{_mandir}/man8/vfs_ceph_snapshots.8*
|
||||
%endif
|
||||
|
||||
|
|
@ -2372,6 +2437,7 @@ fi
|
|||
%files ldb-ldap-modules
|
||||
%{_libdir}/samba/ldb/ldbsamba_extensions.so
|
||||
%{_libdir}/samba/ldb/ildap.so
|
||||
%{_libdir}/samba/ldb/ldap.so
|
||||
|
||||
### LIBS
|
||||
%files libs
|
||||
|
|
@ -2491,6 +2557,7 @@ fi
|
|||
%{python3_sitearch}/samba/__pycache__/hostconfig.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/idmap.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/join.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/lsa_utils.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/logger.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/mdb_util.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/ms_display_specifiers.*.pyc
|
||||
|
|
@ -2504,7 +2571,6 @@ fi
|
|||
%{python3_sitearch}/samba/__pycache__/sites.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/subnets.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/tdb_util.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/trust_utils.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/upgrade.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/upgradehelpers.*.pyc
|
||||
%{python3_sitearch}/samba/__pycache__/xattr.*.pyc
|
||||
|
|
@ -2570,6 +2636,53 @@ fi
|
|||
%{python3_sitearch}/samba/dcerpc/xattr.*.so
|
||||
%{python3_sitearch}/samba/descriptor.py
|
||||
%{python3_sitearch}/samba/dnsresolver.py
|
||||
%dir %{python3_sitearch}/samba/domain
|
||||
%{python3_sitearch}/samba/domain/__init__.py
|
||||
%{python3_sitearch}/samba/domain/__pycache__/__init__.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__init__.py
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/__init__.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/auth_policy.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/auth_silo.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/claim_type.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/computer.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/constants.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/container.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/exceptions.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/fields.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/gmsa.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/group.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/model.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/org.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/person.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/query.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/registry.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/schema.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/site.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/subnet.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/types.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/user.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/__pycache__/value_type.*.pyc
|
||||
%{python3_sitearch}/samba/domain/models/auth_policy.py
|
||||
%{python3_sitearch}/samba/domain/models/auth_silo.py
|
||||
%{python3_sitearch}/samba/domain/models/claim_type.py
|
||||
%{python3_sitearch}/samba/domain/models/computer.py
|
||||
%{python3_sitearch}/samba/domain/models/constants.py
|
||||
%{python3_sitearch}/samba/domain/models/container.py
|
||||
%{python3_sitearch}/samba/domain/models/exceptions.py
|
||||
%{python3_sitearch}/samba/domain/models/fields.py
|
||||
%{python3_sitearch}/samba/domain/models/gmsa.py
|
||||
%{python3_sitearch}/samba/domain/models/group.py
|
||||
%{python3_sitearch}/samba/domain/models/model.py
|
||||
%{python3_sitearch}/samba/domain/models/org.py
|
||||
%{python3_sitearch}/samba/domain/models/person.py
|
||||
%{python3_sitearch}/samba/domain/models/query.py
|
||||
%{python3_sitearch}/samba/domain/models/registry.py
|
||||
%{python3_sitearch}/samba/domain/models/schema.py
|
||||
%{python3_sitearch}/samba/domain/models/site.py
|
||||
%{python3_sitearch}/samba/domain/models/subnet.py
|
||||
%{python3_sitearch}/samba/domain/models/types.py
|
||||
%{python3_sitearch}/samba/domain/models/user.py
|
||||
%{python3_sitearch}/samba/domain/models/value_type.py
|
||||
%{python3_sitearch}/samba/drs_utils.py
|
||||
%{python3_sitearch}/samba/dsdb.*.so
|
||||
%{python3_sitearch}/samba/dsdb_dns.*.so
|
||||
|
|
@ -2581,6 +2694,7 @@ fi
|
|||
%{python3_sitearch}/samba/hostconfig.py
|
||||
%{python3_sitearch}/samba/idmap.py
|
||||
%{python3_sitearch}/samba/join.py
|
||||
%{python3_sitearch}/samba/lsa_utils.py
|
||||
%{python3_sitearch}/samba/messaging.*.so
|
||||
%{python3_sitearch}/samba/ndr.py
|
||||
%{python3_sitearch}/samba/net.*.so
|
||||
|
|
@ -2733,12 +2847,30 @@ fi
|
|||
%{python3_sitearch}/samba/netcmd/domain/auth/__init__.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/domain/auth/__pycache__
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/__pycache__/__init__.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/__pycache__/policy.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/__pycache__/silo.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/__pycache__/silo_member.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/silo.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/silo_member.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/domain/auth/policy
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/computer_allowed_to_authenticate_to.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/__init__.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/policy.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/domain/auth/policy/__pycache__
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/__pycache__/computer_allowed_to_authenticate_to.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/__pycache__/__init__.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/__pycache__/policy.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/__pycache__/service_allowed_to_authenticate_from.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/__pycache__/service_allowed_to_authenticate_to.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/__pycache__/user_allowed_to_authenticate_from.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/__pycache__/user_allowed_to_authenticate_to.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/service_allowed_to_authenticate_from.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/service_allowed_to_authenticate_to.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/user_allowed_to_authenticate_from.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/policy/user_allowed_to_authenticate_to.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/domain/auth/silo
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/silo/__init__.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/silo/member.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/domain/auth/silo/__pycache__
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/silo/__pycache__/__init__.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/silo/__pycache__/member.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/silo/__pycache__/silo.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/auth/silo/silo.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/backup.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/domain/claim
|
||||
%{python3_sitearch}/samba/netcmd/domain/claim/__init__.py
|
||||
|
|
@ -2755,39 +2887,15 @@ fi
|
|||
%{python3_sitearch}/samba/netcmd/domain/functional_prep.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/info.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/join.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/domain/kds
|
||||
%{python3_sitearch}/samba/netcmd/domain/kds/__init__.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/domain/kds/__pycache__
|
||||
%{python3_sitearch}/samba/netcmd/domain/kds/__pycache__/__init__.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/kds/__pycache__/root_key.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/kds/root_key.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/keytab.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/leave.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/level.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/domain/models
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__init__.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/domain/models/__pycache__
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/__init__.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/auth_policy.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/auth_silo.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/claim_type.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/exceptions.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/fields.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/group.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/model.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/query.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/schema.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/site.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/subnet.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/user.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/__pycache__/value_type.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/auth_policy.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/auth_silo.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/claim_type.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/exceptions.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/fields.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/group.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/model.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/query.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/schema.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/site.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/subnet.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/user.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/models/value_type.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/passwordsettings.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/provision.py
|
||||
%{python3_sitearch}/samba/netcmd/domain/samba3upgrade.py
|
||||
|
|
@ -2812,6 +2920,13 @@ fi
|
|||
%{python3_sitearch}/samba/netcmd/pso.py
|
||||
%{python3_sitearch}/samba/netcmd/rodc.py
|
||||
%{python3_sitearch}/samba/netcmd/schema.py
|
||||
%dir %{python3_sitearch}/samba/netcmd/service_account
|
||||
%{python3_sitearch}/samba/netcmd/service_account/__init__.py
|
||||
%{python3_sitearch}/samba/netcmd/service_account/__pycache__/__init__.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/service_account/__pycache__/group_msa_membership.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/service_account/__pycache__/service_account.*.pyc
|
||||
%{python3_sitearch}/samba/netcmd/service_account/group_msa_membership.py
|
||||
%{python3_sitearch}/samba/netcmd/service_account/service_account.py
|
||||
%{python3_sitearch}/samba/netcmd/shell.py
|
||||
%{python3_sitearch}/samba/netcmd/sites.py
|
||||
%{python3_sitearch}/samba/netcmd/spn.py
|
||||
|
|
@ -2908,20 +3023,17 @@ fi
|
|||
%{python3_sitearch}/samba/subunit/__pycache__/run.*.pyc
|
||||
%{python3_sitearch}/samba/subunit/run.py
|
||||
%{python3_sitearch}/samba/tdb_util.py
|
||||
%{python3_sitearch}/samba/trust_utils.py
|
||||
%{python3_sitearch}/samba/upgrade.py
|
||||
%{python3_sitearch}/samba/upgradehelpers.py
|
||||
%{python3_sitearch}/samba/werror.*.so
|
||||
%{python3_sitearch}/samba/xattr.py
|
||||
%{python3_sitearch}/samba/xattr_native.*.so
|
||||
%{python3_sitearch}/samba/xattr_tdb.*.so
|
||||
%{_libdir}/libsamba-policy.cpython*.so.*
|
||||
%{_libdir}/samba/libsamba-net.cpython*.so
|
||||
%{_libdir}/samba/libsamba-net-join.cpython*.so
|
||||
%{_libdir}/samba/libsamba-python.cpython*.so
|
||||
|
||||
%if %{with includelibs}
|
||||
%{_libdir}/samba/libpyldb-util.cpython*.so
|
||||
%{_libdir}/samba/libpytalloc-util.cpython*.so
|
||||
|
||||
%{python3_sitearch}/__pycache__/_ldb_text*.pyc
|
||||
%{python3_sitearch}/__pycache__/_tdb_text*.pyc
|
||||
|
|
@ -2930,16 +3042,13 @@ fi
|
|||
%{python3_sitearch}/_tdb_text.py
|
||||
%{python3_sitearch}/_tevent.cpython*.so
|
||||
%{python3_sitearch}/ldb.cpython*.so
|
||||
%{python3_sitearch}/talloc.cpython*.so
|
||||
#FIXME why is it missing?
|
||||
#%{python3_sitearch}/talloc.cpython*.so
|
||||
%{python3_sitearch}/tdb.cpython*.so
|
||||
%{python3_sitearch}/tevent.py
|
||||
#endif with includelibs
|
||||
%endif
|
||||
|
||||
%files -n python3-%{name}-devel
|
||||
%{_libdir}/libsamba-policy.*.so
|
||||
%{_libdir}/pkgconfig/samba-policy.*.pc
|
||||
|
||||
%files -n python3-%{name}-dc
|
||||
%{python3_sitearch}/samba/samdb.py
|
||||
%{python3_sitearch}/samba/schema.py
|
||||
|
|
@ -3038,6 +3147,8 @@ fi
|
|||
%{python3_sitearch}/samba/tests/__pycache__/dsdb_api.*.pyc
|
||||
%{python3_sitearch}/samba/tests/__pycache__/dsdb_dns.*.pyc
|
||||
%{python3_sitearch}/samba/tests/__pycache__/dsdb_lock.*.pyc
|
||||
%{python3_sitearch}/samba/tests/__pycache__/dsdb_quiet_env_tests.*.pyc
|
||||
%{python3_sitearch}/samba/tests/__pycache__/dsdb_quiet_provision_tests.*.pyc
|
||||
%{python3_sitearch}/samba/tests/__pycache__/dsdb_schema_attributes.*.pyc
|
||||
%{python3_sitearch}/samba/tests/__pycache__/docs.*.pyc
|
||||
%{python3_sitearch}/samba/tests/__pycache__/domain_backup.*.pyc
|
||||
|
|
@ -3156,6 +3267,7 @@ fi
|
|||
%{python3_sitearch}/samba/tests/blackbox/__pycache__/check_output.*.pyc
|
||||
%{python3_sitearch}/samba/tests/blackbox/__pycache__/claims.*.pyc
|
||||
%{python3_sitearch}/samba/tests/blackbox/__pycache__/downgradedatabase.*.pyc
|
||||
%{python3_sitearch}/samba/tests/blackbox/__pycache__/gmsa.*.pyc
|
||||
%{python3_sitearch}/samba/tests/blackbox/__pycache__/http_chunk.*.pyc
|
||||
%{python3_sitearch}/samba/tests/blackbox/__pycache__/http_content.*.pyc
|
||||
%{python3_sitearch}/samba/tests/blackbox/__pycache__/mdsearch.*.pyc
|
||||
|
|
@ -3179,6 +3291,7 @@ fi
|
|||
%{python3_sitearch}/samba/tests/blackbox/check_output.py
|
||||
%{python3_sitearch}/samba/tests/blackbox/claims.py
|
||||
%{python3_sitearch}/samba/tests/blackbox/downgradedatabase.py
|
||||
%{python3_sitearch}/samba/tests/blackbox/gmsa.py
|
||||
%{python3_sitearch}/samba/tests/blackbox/http_chunk.py
|
||||
%{python3_sitearch}/samba/tests/blackbox/http_content.py
|
||||
%{python3_sitearch}/samba/tests/blackbox/mdsearch.py
|
||||
|
|
@ -3213,11 +3326,11 @@ fi
|
|||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/__init__.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/array.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/bare.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/createtrustrelax.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/binding.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/dnsserver.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/integer.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/lsa.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/lsa_utils.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/mdssvc.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/misc.*.pyc
|
||||
%{python3_sitearch}/samba/tests/dcerpc/__pycache__/raw_protocol.*.pyc
|
||||
|
|
@ -3234,10 +3347,10 @@ fi
|
|||
%{python3_sitearch}/samba/tests/dcerpc/array.py
|
||||
%{python3_sitearch}/samba/tests/dcerpc/bare.py
|
||||
%{python3_sitearch}/samba/tests/dcerpc/binding.py
|
||||
%{python3_sitearch}/samba/tests/dcerpc/createtrustrelax.py
|
||||
%{python3_sitearch}/samba/tests/dcerpc/dnsserver.py
|
||||
%{python3_sitearch}/samba/tests/dcerpc/integer.py
|
||||
%{python3_sitearch}/samba/tests/dcerpc/lsa.py
|
||||
%{python3_sitearch}/samba/tests/dcerpc/lsa_utils.py
|
||||
%{python3_sitearch}/samba/tests/dcerpc/mdssvc.py
|
||||
%{python3_sitearch}/samba/tests/dcerpc/misc.py
|
||||
%{python3_sitearch}/samba/tests/dcerpc/raw_protocol.py
|
||||
|
|
@ -3268,6 +3381,8 @@ fi
|
|||
%{python3_sitearch}/samba/tests/dsdb_dns.py
|
||||
%{python3_sitearch}/samba/tests/dsdb_lock.py
|
||||
%{python3_sitearch}/samba/tests/dsdb_schema_attributes.py
|
||||
%{python3_sitearch}/samba/tests/dsdb_quiet_env_tests.py
|
||||
%{python3_sitearch}/samba/tests/dsdb_quiet_provision_tests.py
|
||||
%{python3_sitearch}/samba/tests/docs.py
|
||||
%{python3_sitearch}/samba/tests/domain_backup.py
|
||||
%{python3_sitearch}/samba/tests/domain_backup_offline.py
|
||||
|
|
@ -3318,6 +3433,7 @@ fi
|
|||
%{python3_sitearch}/samba/tests/krb5/__pycache__/etype_tests.*.pyc
|
||||
%{python3_sitearch}/samba/tests/krb5/__pycache__/fast_tests.*.pyc
|
||||
%{python3_sitearch}/samba/tests/krb5/__pycache__/gkdi_tests.*.pyc
|
||||
%{python3_sitearch}/samba/tests/krb5/__pycache__/gmsa_tests.*.pyc
|
||||
%{python3_sitearch}/samba/tests/krb5/__pycache__/group_tests.*.pyc
|
||||
%{python3_sitearch}/samba/tests/krb5/__pycache__/kcrypto.*.pyc
|
||||
%{python3_sitearch}/samba/tests/krb5/__pycache__/kdc_base_test.*.pyc
|
||||
|
|
@ -3359,6 +3475,7 @@ fi
|
|||
%{python3_sitearch}/samba/tests/krb5/etype_tests.py
|
||||
%{python3_sitearch}/samba/tests/krb5/fast_tests.py
|
||||
%{python3_sitearch}/samba/tests/krb5/gkdi_tests.py
|
||||
%{python3_sitearch}/samba/tests/krb5/gmsa_tests.py
|
||||
%{python3_sitearch}/samba/tests/krb5/group_tests.py
|
||||
%{python3_sitearch}/samba/tests/krb5/kcrypto.py
|
||||
%{python3_sitearch}/samba/tests/krb5/kdc_base_test.py
|
||||
|
|
@ -3462,6 +3579,7 @@ fi
|
|||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/domain_auth_policy.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/domain_auth_silo.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/domain_claim.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/domain_kds_root_key.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/domain_models.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/drs_clone_dc_data_lmdb_size.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/dsacl.*.pyc
|
||||
|
|
@ -3484,6 +3602,7 @@ fi
|
|||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/provision_userPassword_crypt.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/rodc.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/schema.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/service_account.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/silo_base.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/sites.*.pyc
|
||||
%{python3_sitearch}/samba/tests/samba_tool/__pycache__/timecmd.*.pyc
|
||||
|
|
@ -3508,6 +3627,7 @@ fi
|
|||
%{python3_sitearch}/samba/tests/samba_tool/domain_auth_policy.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/domain_auth_silo.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/domain_claim.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/domain_kds_root_key.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/domain_models.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/drs_clone_dc_data_lmdb_size.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/dsacl.py
|
||||
|
|
@ -3530,6 +3650,7 @@ fi
|
|||
%{python3_sitearch}/samba/tests/samba_tool/provision_userPassword_crypt.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/rodc.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/schema.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/service_account.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/silo_base.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/sites.py
|
||||
%{python3_sitearch}/samba/tests/samba_tool/timecmd.py
|
||||
|
|
@ -3667,7 +3788,6 @@ fi
|
|||
%{_sysconfdir}/ctdb/functions
|
||||
%{_sysconfdir}/ctdb/nfs-linux-kernel-callout
|
||||
%{_sysconfdir}/ctdb/statd-callout
|
||||
%config %{_sysconfdir}/sudoers.d/ctdb
|
||||
|
||||
# CTDB scripts, no config files
|
||||
# script with executable bit means activated
|
||||
|
|
@ -3707,6 +3827,8 @@ fi
|
|||
%{_libexecdir}/ctdb/ctdb_recovery_helper
|
||||
%{_libexecdir}/ctdb/ctdb_takeover_helper
|
||||
%{_libexecdir}/ctdb/smnotify
|
||||
%{_libexecdir}/ctdb/statd_callout
|
||||
%{_libexecdir}/ctdb/statd_callout_helper
|
||||
%{_libexecdir}/ctdb/tdb_mutex_check
|
||||
|
||||
%dir %{_localstatedir}/lib/ctdb/
|
||||
|
|
@ -3737,7 +3859,6 @@ fi
|
|||
%{_datadir}/ctdb/events/legacy/00.ctdb.script
|
||||
%{_datadir}/ctdb/events/legacy/01.reclock.script
|
||||
%{_datadir}/ctdb/events/legacy/05.system.script
|
||||
%{_datadir}/ctdb/events/legacy/06.nfs.script
|
||||
%{_datadir}/ctdb/events/legacy/10.interface.script
|
||||
%{_datadir}/ctdb/events/legacy/11.natgw.script
|
||||
%{_datadir}/ctdb/events/legacy/11.routing.script
|
||||
|
|
@ -3746,6 +3867,7 @@ fi
|
|||
%{_datadir}/ctdb/events/legacy/31.clamd.script
|
||||
%{_datadir}/ctdb/events/legacy/40.vsftpd.script
|
||||
%{_datadir}/ctdb/events/legacy/41.httpd.script
|
||||
%{_datadir}/ctdb/events/legacy/46.update-keytabs.script
|
||||
%{_datadir}/ctdb/events/legacy/47.samba-dcerpcd.script
|
||||
%{_datadir}/ctdb/events/legacy/48.netbios.script
|
||||
%{_datadir}/ctdb/events/legacy/49.winbind.script
|
||||
|
|
@ -3753,6 +3875,8 @@ fi
|
|||
%{_datadir}/ctdb/events/legacy/60.nfs.script
|
||||
%{_datadir}/ctdb/events/legacy/70.iscsi.script
|
||||
%{_datadir}/ctdb/events/legacy/91.lvs.script
|
||||
%dir %{_datadir}/ctdb/scripts
|
||||
%{_datadir}/ctdb/scripts/winbind_ctdb_updatekeytab.sh
|
||||
|
||||
%if %{with testsuite}
|
||||
%files -n ctdb-tests
|
||||
|
|
@ -4605,5 +4729,63 @@ fi
|
|||
%{_mandir}/man1/winexe.1.gz
|
||||
%endif
|
||||
|
||||
%files -n libldb
|
||||
%{_libdir}/libldb.so.*
|
||||
%dir %{_libdir}/samba
|
||||
%{_libdir}/samba/libldb-key-value-private-samba.so
|
||||
%{_libdir}/samba/libldb-tdb-err-map-private-samba.so
|
||||
%{_libdir}/samba/libldb-tdb-int-private-samba.so
|
||||
%if %{with lmdb}
|
||||
%{_libdir}/samba/libldb-mdb-int-private-samba.so
|
||||
%endif
|
||||
|
||||
%dir %{_libdir}/samba/ldb
|
||||
%{_libdir}/samba/ldb/asq.so
|
||||
%{_libdir}/samba/ldb/ldb.so
|
||||
%{_libdir}/samba/ldb/mdb.so
|
||||
%{_libdir}/samba/ldb/paged_searches.so
|
||||
%{_libdir}/samba/ldb/rdn_name.so
|
||||
%{_libdir}/samba/ldb/sample.so
|
||||
%{_libdir}/samba/ldb/server_sort.so
|
||||
%{_libdir}/samba/ldb/skel.so
|
||||
%{_libdir}/samba/ldb/tdb.so
|
||||
|
||||
%files -n libldb-devel
|
||||
%{_includedir}/samba-4.0/ldb_module.h
|
||||
%{_includedir}/samba-4.0/ldb_handlers.h
|
||||
%{_includedir}/samba-4.0/ldb_errors.h
|
||||
%{_includedir}/samba-4.0/ldb_version.h
|
||||
%{_includedir}/samba-4.0/ldb.h
|
||||
%{_libdir}/libldb.so
|
||||
|
||||
%{_libdir}/pkgconfig/ldb.pc
|
||||
%{_mandir}/man3/ldb*.gz
|
||||
%{_mandir}/man3/ldif*.gz
|
||||
|
||||
%files -n ldb-tools
|
||||
%{_bindir}/ldbadd
|
||||
%{_bindir}/ldbdel
|
||||
%{_bindir}/ldbedit
|
||||
%{_bindir}/ldbmodify
|
||||
%{_bindir}/ldbrename
|
||||
%{_bindir}/ldbsearch
|
||||
%{_libdir}/samba/libldb-cmdline-private-samba.so
|
||||
%{_mandir}/man1/ldbadd.1.*
|
||||
%{_mandir}/man1/ldbdel.1.*
|
||||
%{_mandir}/man1/ldbedit.1.*
|
||||
%{_mandir}/man1/ldbmodify.1.*
|
||||
%{_mandir}/man1/ldbrename.1.*
|
||||
%{_mandir}/man1/ldbsearch.1.*
|
||||
|
||||
%files -n python-ldb-devel-common
|
||||
#{_includedir}/pyldb.h
|
||||
%{_mandir}/man*/Py*.gz
|
||||
|
||||
%files -n python3-ldb
|
||||
%{python3_sitearch}/ldb.cpython-*.so
|
||||
%{_libdir}/samba/libpyldb-util.cpython-*-private-samba.so
|
||||
%{python3_sitearch}/_ldb_text.py
|
||||
%{python3_sitearch}/__pycache__/_ldb_text.cpython-*.py*
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
|
|
|||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (samba-4.20.4.tar.xz) = 390805d006c380e83f0a0f6f0c00cd6605c32c937f4cf11e7ac5b177abd4538b0be40c505d72c500855f28a625f60aaa007c4466c316c3f93bfb5baa583f384f
|
||||
SHA512 (samba-4.20.4.tar.asc) = ff8369bf307e56fe842a101b05dcbf382779a3812763e67b573449412195777fce25864ca4e0d89c126bc46cf3a2d359c5d5bda68b60af8849cd91f9d418ee98
|
||||
SHA512 (samba-4.21.0rc2.tar.xz) = c561a1cff99fd23baa738ce304efacfab1f7033880c6b5da6c6d2fc821a751be4f3a11b6e98700192490df17a87b9d9ba24e1ce7ed17bf6710a80d3a24ee3639
|
||||
SHA512 (samba-4.21.0rc2.tar.asc) = 415abad180a9771765a3f17978b9aa8008088ef60aee4fa98a278a8d21fa8fc2cdde4d8b8b6b23ff7476d63f642ba2a0d028e63d12f8d27eddd66030dc1068b2
|
||||
|
|
|
|||
91
sync_machine_password_script_install.patch
Normal file
91
sync_machine_password_script_install.patch
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
From 7fedd0925965705e435a4bd411fdbd0e73d8b6a6 Mon Sep 17 00:00:00 2001
|
||||
From: Anoop C S <anoopcs@samba.org>
|
||||
Date: Wed, 14 Aug 2024 19:47:35 +0530
|
||||
Subject: [PATCH 1/2] source3/script: Fix installation of
|
||||
winbind_ctdb_updatekeytab.sh
|
||||
|
||||
winbind_ctdb_updatekeytab.sh assumes the presence `onnode` utility to
|
||||
execute `net ads` command on all nodes in the cluster. But `onnode`
|
||||
is only built when configured with clustering support. Therefore perform
|
||||
the script installation only with ctdb configuration. Also fix the
|
||||
installation path to /usr/share/ctdb/scripts.
|
||||
|
||||
Signed-off-by: Anoop C S <anoopcs@samba.org>
|
||||
Reviewed-by: Guenther Deschner <gd@samba.org>
|
||||
---
|
||||
source3/script/wscript_build | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/source3/script/wscript_build b/source3/script/wscript_build
|
||||
index 2b0643b0876..a634ece7ec1 100644
|
||||
--- a/source3/script/wscript_build
|
||||
+++ b/source3/script/wscript_build
|
||||
@@ -6,7 +6,8 @@ bld.INSTALL_FILES('${BINDIR}',
|
||||
'smbtar',
|
||||
chmod=MODE_755, flat=True)
|
||||
bld.INSTALL_FILES('${BINDIR}', 'samba-log-parser', chmod=MODE_755, flat=True)
|
||||
-bld.INSTALL_FILES('${DATADIR}', 'winbind_ctdb_updatekeytab.sh', chmod=MODE_755, flat=True)
|
||||
+if conf.env.with_ctdb:
|
||||
+ bld.INSTALL_FILES(bld.env.CTDB_DATADIR+"/scripts", 'winbind_ctdb_updatekeytab.sh', chmod=MODE_755, flat=True)
|
||||
|
||||
# Callout scripts for use in selftest environment
|
||||
bld.SAMBA_SCRIPT('smbaddshare', pattern='smbaddshare', installdir='.')
|
||||
--
|
||||
2.46.0
|
||||
|
||||
|
||||
From 24d5b7d711566297ce5db92ebc2f56ec100b1dca Mon Sep 17 00:00:00 2001
|
||||
From: Anoop C S <anoopcs@samba.org>
|
||||
Date: Wed, 14 Aug 2024 19:49:04 +0530
|
||||
Subject: [PATCH 2/2] docs-xml: Fix script location in
|
||||
syncmachinepasswordscript.xml
|
||||
|
||||
Update the change in installation path for winbind_ctdb_updatekeytab.sh
|
||||
from SAMBA_DATADIR to newly defined CTDB_DATADIR.
|
||||
|
||||
Signed-off-by: Anoop C S <anoopcs@samba.org>
|
||||
Reviewed-by: Guenther Deschner <gd@samba.org>
|
||||
---
|
||||
docs-xml/smbdotconf/security/syncmachinepasswordscript.xml | 4 ++--
|
||||
dynconfig/wscript | 5 +++++
|
||||
2 files changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/docs-xml/smbdotconf/security/syncmachinepasswordscript.xml b/docs-xml/smbdotconf/security/syncmachinepasswordscript.xml
|
||||
index 9a7731930d5..df98610cf36 100644
|
||||
--- a/docs-xml/smbdotconf/security/syncmachinepasswordscript.xml
|
||||
+++ b/docs-xml/smbdotconf/security/syncmachinepasswordscript.xml
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
<para>
|
||||
If keytabs should be generated in clustered environments it is recommended to update them on all nodes.
|
||||
- You can set the config option to &pathconfig.SAMBA_DATADIR;/scripts/winbind_ctdb_updatekeytab.sh in clustering case.
|
||||
+ You can set the config option to &pathconfig.CTDB_DATADIR;/scripts/winbind_ctdb_updatekeytab.sh in clustering case.
|
||||
It is also needed to activate the <constant>46.update-keytabs.script</constant> in ctdb,
|
||||
it re-creates the keytab during the ctdb recovered event:
|
||||
<programlisting>
|
||||
@@ -22,5 +22,5 @@
|
||||
</description>
|
||||
|
||||
<value type="default"/>
|
||||
-<value type="example">&pathconfig.SAMBA_DATADIR;/scripts/winbind_ctdb_updatekeytab.sh</value>
|
||||
+<value type="example">&pathconfig.CTDB_DATADIR;/scripts/winbind_ctdb_updatekeytab.sh</value>
|
||||
</samba:parameter>
|
||||
diff --git a/dynconfig/wscript b/dynconfig/wscript
|
||||
index 2041d881546..a784dac4e6c 100644
|
||||
--- a/dynconfig/wscript
|
||||
+++ b/dynconfig/wscript
|
||||
@@ -105,6 +105,11 @@ dynconfig = {
|
||||
'FHS-PATH': '${DATADIR}',
|
||||
'OVERWRITE': True,
|
||||
},
|
||||
+ 'CTDB_DATADIR' : {
|
||||
+ 'STD-PATH': '${DATADIR}/ctdb',
|
||||
+ 'FHS-PATH': '${DATADIR}/ctdb',
|
||||
+ 'OVERWRITE': True,
|
||||
+ },
|
||||
'SAMBA_DATADIR' : {
|
||||
'STD-PATH': '${DATADIR}/samba',
|
||||
'FHS-PATH': '${DATADIR}/samba',
|
||||
--
|
||||
2.46.0
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue