/[smeserver]/rpms/samba/sme10/samba.spec
ViewVC logotype

Diff of /rpms/samba/sme10/samba.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by vip-ire, Wed Oct 5 16:45:27 2016 UTC Revision 1.17 by jpp, Thu Aug 10 02:20:35 2023 UTC
# Line 1  Line 1 
1  # rpmbuild --rebuild --with testsuite --without clustering samba.src.rpm  # rpmbuild --rebuild --with testsuite --without clustering samba.src.rpm
2  #  #
3  # The testsuite is disabled by default. Set --with testsuite or %bcond_without  # The testsuite is disabled by default. Set --with testsuite or bcond_without
4  # to run the Samba torture testsuite.  # to run the Samba torture testsuite.
5  %bcond_with testsuite  %bcond_with testsuite
6  # ctdb is enabled by default, you can disable it with: --without clustering  # ctdb is enabled by default, you can disable it with: --without clustering
7  %bcond_without clustering  %bcond_without clustering
8    
9  %define main_release 7.1  %define main_release 24.1
10    
11  %define samba_version 4.2.10  %define samba_version 4.10.16
12  %define talloc_version 2.1.2  %define talloc_version 2.1.16
13  %define ntdb_version 1.0  %define tdb_version 1.3.18
14  %define tdb_version 1.3.4  %define tevent_version 0.9.39
15  %define tevent_version 0.9.24  %define ldb_version 1.5.4
 %define ldb_version 1.1.20  
16  # This should be rc1 or nil  # This should be rc1 or nil
17  %define pre_release %nil  %define pre_release %nil
18    
# Line 23  Line 22 
22  %define samba_release %{main_release}%{?dist}  %define samba_release %{main_release}%{?dist}
23  %endif  %endif
24    
25  # This is a network daemon, do a hardened build.  # This is a network daemon, do a hardened build
26  # Enables PIE and full RELRO protection  # Enables PIE and full RELRO protection
27  %global _hardened_build 1  %global _hardened_build 1
28    # Samba cannot be linked with -Wl,-z,defs (from hardened build config)
29    # For exmple the samba-cluster-support library is marked to allow undefined
30    # symbols in the samba build.
31    #
32    # https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md
33    %undefine _strict_symbol_defs_build
34    
35  %global with_libsmbclient 1  %global with_libsmbclient 1
36  %global with_libwbclient 1  %global with_libwbclient 1
37    
 %global with_pam_smbpass 0  
38  %global with_internal_talloc 0  %global with_internal_talloc 0
39  %global with_internal_tevent 0  %global with_internal_tevent 0
40  %global with_internal_tdb 0  %global with_internal_tdb 0
 %global with_internal_ntdb 1  
41  %global with_internal_ldb 0  %global with_internal_ldb 0
42    
43  %global with_profiling 1  %global with_profiling 1
44    
 %global with_vfs_cephfs 1  
 %if 0%{?rhel}  
45  %global with_vfs_cephfs 0  %global with_vfs_cephfs 0
46    %if 0%{?fedora}
47    %ifarch aarch64 ppc64le s390x x86_64
48    %global with_vfs_cephfs 1
49    %endif
50  %endif  %endif
51    
52  %global with_vfs_glusterfs 1  %global with_vfs_glusterfs 1
# Line 53  Line 58 
58  %endif  %endif
59  %endif  %endif
60    
61  %global libwbc_alternatives_version 0.12  %global with_intel_aes_accel 0
62    %ifarch x86_64
63    %global with_intel_aes_accel 1
64    %endif
65    
66    %global libwbc_alternatives_version 0.15
67  %global libwbc_alternatives_suffix %nil  %global libwbc_alternatives_suffix %nil
68  %if 0%{?__isa_bits} == 64  %if 0%{?__isa_bits} == 64
69  %global libwbc_alternatives_suffix -64  %global libwbc_alternatives_suffix -64
70  %endif  %endif
71    
72  %global with_mitkrb5 0  %global with_mitkrb5 1
73  %global with_dc 1  %global with_dc 1
74    
75    %if 0%{?rhel}
76    %global with_dc 0
77    %endif
78    
79  %if %{with testsuite}  %if %{with testsuite}
 # The testsuite only works with a full build right now.  
 %global with_mitkrb5 0  
80  %global with_dc 1  %global with_dc 1
81  %endif  %endif
82    
83    %global required_mit_krb5 1.15.1
84    
85  %global with_clustering_support 0  %global with_clustering_support 0
86    
87  %if %{with clustering}  %if %{with clustering}
88  %global with_clustering_support 1  %global with_clustering_support 1
89  %endif  %endif
90    
91  %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}  %define __python %{__python2}
92    %{!?python_sitearch: %define python_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
93    
94    %global _systemd_extra "Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba"
95    
96  Name:           samba  Name:           samba
97  Version:        %{samba_version}  Version:        %{samba_version}
# Line 94  Epoch:          2 Line 111  Epoch:          2
111    
112  Summary:        Server and Client software to interoperate with Windows machines  Summary:        Server and Client software to interoperate with Windows machines
113  License:        GPLv3+ and LGPLv3+  License:        GPLv3+ and LGPLv3+
 Group:          System Environment/Daemons  
114  URL:            http://www.samba.org/  URL:            http://www.samba.org/
115    
116    # This is a xz recompressed file of https://ftp.samba.org/pub/samba/samba-%%{version}%%{pre_release}.tar.gz
117  Source0:        samba-%{version}%{pre_release}.tar.xz  Source0:        samba-%{version}%{pre_release}.tar.xz
118    Source1:        https://ftp.samba.org/pub/samba/samba-%{version}%{pre_release}.tar.asc
119    Source2:        gpgkey-52FBC0B86D954B0843324CDC6F33915B6568B7EA.gpg
120    
121  # Red Hat specific replacement-files  # Red Hat specific replacement-files
122  Source1: samba.log  Source10: samba.log
123  Source2: samba.xinetd  Source11: smb.conf.vendor
124  Source4: smb.conf.default  Source12: smb.conf.example
125  Source5: pam_winbind.conf  Source13: pam_winbind.conf
126  Source6: samba.pamd  Source14: samba.pamd
127    
128  Source200: README.dc  Source200: README.dc
129  Source201: README.downgrade  Source201: README.downgrade
130    
131  Patch1:     samba-4.2.10-ldap-sasl-win2003.patch  # Backport bug fixes to https://gitlab.com/samba-redhat/samba/-/tree/v4-10-redhat
132  Patch3:     samba-4.2.3-document_netbios_length.patch  # This will give us CI and makes it easy to generate patchsets.
133  Patch4:     samba-4.2.3-fix_net_ads_keytab_segfault.patch  #
134  Patch5:     samba-4.2.10-s3-parm-clean-up-defaults-when-removing-global-param.patch  # Generate the patchset using: git fpstd -N > samba-4.10-redhat.patch
135  Patch6:     samba-4.2.10-s3-winbind-make-sure-domain-member-can-talk-to-trust.patch  Patch0:    samba-4.10-redhat.patch
136  Patch7:     samba-4.2.10-badlock-bugfixes.patch  
137  Patch8:     samba-4.2.10-fix_rpcclient_ipc_signing.patch  # Set the libldb requirement back to 1.5.4, we don't need a newer version as
138  Patch9:     samba-4.2.10-fix_ntlm_auth_issues.patch  # we only build Samba FS.
139  Patch10:    samba-4.2.10-fix_msrpc_parse.patch  Patch1000:    libldb-require-version-1.5.4.patch
 Patch11:    samba-4.2.10-fix_anon_with_singing_mandatory.patch  
 Patch12:    samba-4.2.99-fix_idmap_hash_with_other_modules.path  
 Patch13:    samba-4.2.99-net_ads_join_fix_keytab_generation.patch  
 Patch14:    CVE-2016-2119-v4-2.patch  
140    
141  BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)  Patch99999:    trust.patch
142    
143  Requires(pre): /usr/sbin/groupadd  Requires(pre): /usr/sbin/groupadd
144  Requires(post): systemd  Requires(post): systemd
# Line 137  Requires: %{name}-common-tools = %{samba Line 152  Requires: %{name}-common-tools = %{samba
152  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
153  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
154  %if %with_libwbclient  %if %with_libwbclient
155    Requires(post): libwbclient = %{samba_depver}
156  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
157  %endif  %endif
158    
# Line 146  Provides: samba4 = %{samba_depver} Line 162  Provides: samba4 = %{samba_depver}
162  Obsoletes: samba4 < %{samba_depver}  Obsoletes: samba4 < %{samba_depver}
163    
164  # We don't build it outdated docs anymore  # We don't build it outdated docs anymore
165  Obsoletes: samba-doc  Provides: samba-doc = %{samba_depver}
166    Obsoletes: samba-doc < %{samba_depver}
167    
168  # Is not supported yet  # Is not supported yet
169  Obsoletes: samba-domainjoin-gui  Provides: samba-domainjoin-gui = %{samba_depver}
170    Obsoletes: samba-domainjoin-gui < %{samba_depver}
171    
172  # SWAT been deprecated and removed from samba  # SWAT been deprecated and removed from samba
173  Obsoletes: samba-swat  Provides: samba-swat = %{samba_depver}
174  Obsoletes: samba4-swat  Obsoletes: samba-swat < %{samba_depver}
175    
176    Provides: samba4-swat = %{samba_depver}
177    Obsoletes: samba4-swat < %{samba_depver}
178    
179    BuildRequires: avahi-devel
180  BuildRequires: cups-devel  BuildRequires: cups-devel
181  BuildRequires: dbus-devel  BuildRequires: dbus-devel
182  BuildRequires: docbook-style-xsl  BuildRequires: docbook-style-xsl
183  BuildRequires: e2fsprogs-devel  BuildRequires: e2fsprogs-devel
184  BuildRequires: gawk  BuildRequires: gawk
185  BuildRequires: krb5-devel >= 1.10  BuildRequires: gnupg2
186    BuildRequires: jansson-devel
187    BuildRequires: krb5-devel >= %{required_mit_krb5}
188  BuildRequires: libacl-devel  BuildRequires: libacl-devel
189  BuildRequires: libaio-devel  BuildRequires: libaio-devel
190  BuildRequires: libarchive-devel  BuildRequires: libarchive-devel
191  BuildRequires: libattr-devel  BuildRequires: libattr-devel
192  BuildRequires: libcap-devel  BuildRequires: libcap-devel
193    # should not pull from epel BuildRequires: libcmocka-devel
194  BuildRequires: libuuid-devel  BuildRequires: libuuid-devel
195  BuildRequires: libxslt  BuildRequires: libxslt
196  BuildRequires: ncurses-devel  BuildRequires: ncurses-devel
197  BuildRequires: openldap-devel  BuildRequires: openldap-devel
198  BuildRequires: pam-devel  BuildRequires: pam-devel
199    BuildRequires: perl-interpreter
200    BuildRequires: perl(Test::More)
201  BuildRequires: perl(ExtUtils::MakeMaker)  BuildRequires: perl(ExtUtils::MakeMaker)
202  BuildRequires: perl(Parse::Yapp)  BuildRequires: perl(Parse::Yapp)
203  BuildRequires: popt-devel  BuildRequires: popt-devel
204  BuildRequires: python-devel  BuildRequires: python2-devel
205  BuildRequires: python-tevent  BuildRequires: python-dns
206    # This is required to avoid packaging the in tree
207    # copy of Samba
208    BuildRequires: python-iso8601
209    %if %{with testsuite}
210    BuildRequires: python2-pygpgme
211    BuildRequires: python2-markdown
212    %endif
213  BuildRequires: quota-devel  BuildRequires: quota-devel
214  BuildRequires: readline-devel  BuildRequires: readline-devel
215  BuildRequires: sed  BuildRequires: sed
216    BuildRequires: libtasn1-devel
217    BuildRequires: libtasn1-tools
218  BuildRequires: xfsprogs-devel  BuildRequires: xfsprogs-devel
219    BuildRequires: xz
220  BuildRequires: zlib-devel >= 1.2.3  BuildRequires: zlib-devel >= 1.2.3
221    
 BuildRequires: pkgconfig(libsystemd-daemon)  
222  BuildRequires: pkgconfig(libsystemd)  BuildRequires: pkgconfig(libsystemd)
223    
224  %if %{with_vfs_glusterfs}  %if %{with_vfs_glusterfs}
# Line 188  BuildRequires: glusterfs-api-devel >= 3. Line 226  BuildRequires: glusterfs-api-devel >= 3.
226  BuildRequires: glusterfs-devel >= 3.4.0.16  BuildRequires: glusterfs-devel >= 3.4.0.16
227  %endif  %endif
228  %if %{with_vfs_cephfs}  %if %{with_vfs_cephfs}
229  BuildRequires: libcephfs1-devel  BuildRequires: libcephfs-devel
230  %endif  %endif
231  %if %{with_dc}  %if %{with_dc}
232  BuildRequires: gnutls-devel  BuildRequires: gnutls-devel >= 3.4.7
233    # Required by samba-tool to run tests
234    BuildRequires: python2-crypto
235    %else
236    BuildRequires: gnutls-devel >= 3.2.0
237  %endif  %endif
238    
239  # pidl requirements  # pidl requirements
240  BuildRequires: perl(Parse::Yapp)  BuildRequires: perl(Parse::Yapp)
241    
242  %if ! %with_internal_talloc  %if ! %with_internal_talloc
243  %global libtalloc_version 2.1.2  %global libtalloc_version 2.1.9
244    
245  BuildRequires: libtalloc-devel >= %{libtalloc_version}  BuildRequires: libtalloc-devel >= %{libtalloc_version}
246  BuildRequires: pytalloc-devel >= %{libtalloc_version}  BuildRequires: pytalloc-devel >= %{libtalloc_version}
247  %endif  %endif
248    
249  %if ! %with_internal_tevent  %if ! %with_internal_tevent
250  %global libtevent_version 0.9.22  %global libtevent_version 0.9.33
251    
252  BuildRequires: libtevent-devel >= %{libtevent_version}  BuildRequires: libtevent-devel >= %{libtevent_version}
253  BuildRequires: python-tevent >= %{libtevent_version}  BuildRequires: python-tevent >= %{libtevent_version}
254  %endif  %endif
255    
256  %if ! %with_internal_ldb  %if ! %with_internal_ldb
257  %global libldb_version 1.1.20  %global libldb_version 1.2.2
258    
259  BuildRequires: libldb-devel >= %{libldb_version}  BuildRequires: libldb-devel >= %{libldb_version}
260  BuildRequires: pyldb-devel >= %{libldb_version}  BuildRequires: pyldb-devel >= %{libldb_version}
261  %endif  %endif
262    
263  %if ! %with_internal_tdb  %if ! %with_internal_tdb
264  %global libtdb_version 1.3.4  %global libtdb_version 1.3.14
265    
266  BuildRequires: libtdb-devel >= %{libtdb_version}  BuildRequires: libtdb-devel >= %{libtdb_version}
267  BuildRequires: python-tdb >= %{libtdb_version}  BuildRequires: python-tdb >= %{libtdb_version}
# Line 227  BuildRequires: python-tdb >= %{libtdb_ve Line 269  BuildRequires: python-tdb >= %{libtdb_ve
269    
270  %if %{with testsuite}  %if %{with testsuite}
271  BuildRequires: ldb-tools  BuildRequires: ldb-tools
272    BuildRequires: tdb-tools
273    BuildRequires: python2-pygpgme
274    %endif
275    
276    %if %{with_dc}
277    BuildRequires: krb5-server >= %{required_mit_krb5}
278    BuildRequires: bind
279  %endif  %endif
280    
281  # filter out perl requirements pulled in from examples in the docdir.  # filter out perl requirements pulled in from examples in the docdir.
282  %{?filter_setup:  %global __requires_exclude_from ^%{_docdir}/.*$
283  %filter_provides_in %{_docdir}  %global __provides_exclude_from ^%{_docdir}/.*$
 %filter_requires_in %{_docdir}  
 %filter_setup  
 }  
284    
285  ### SAMBA  ### SAMBA
286  %description  %description
287  Samba is the standard Windows interoperability suite of programs for Linux and Unix.  Samba is the standard Windows interoperability suite of programs for Linux and
288    Unix.
289    
290  ### CLIENT  ### CLIENT
291  %package client  %package client
292  Summary: Samba client programs  Summary: Samba client programs
 Group: Applications/System  
293  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
294  Requires: %{name}-common = %{samba_depver}  Requires: %{name}-common = %{samba_depver}
295  Requires: %{name}-common-libs = %{samba_depver}  Requires: %{name}-common-libs = %{samba_depver}
# Line 251  Requires: %{name}-client-libs = %{samba_ Line 297  Requires: %{name}-client-libs = %{samba_
297  %if %with_libsmbclient  %if %with_libsmbclient
298  Requires: libsmbclient = %{samba_depver}  Requires: libsmbclient = %{samba_depver}
299  %endif  %endif
300    %if %with_libwbclient
301    Requires: libwbclient = %{samba_depver}
302    %endif
303    
304  Provides: samba4-client = %{samba_depver}  Provides: samba4-client = %{samba_depver}
305  Obsoletes: samba4-client < %{samba_depver}  Obsoletes: samba4-client < %{samba_depver}
306    
307    Requires(post): %{_sbindir}/update-alternatives
308    Requires(postun): %{_sbindir}/update-alternatives
309    
310  %description client  %description client
311  The samba4-client package provides some SMB/CIFS clients to complement  The %{name}-client package provides some SMB/CIFS clients to complement
312  the built-in SMB/CIFS filesystem in Linux. These clients allow access  the built-in SMB/CIFS filesystem in Linux. These clients allow access
313  of SMB/CIFS shares and printing to SMB/CIFS printers.  of SMB/CIFS shares and printing to SMB/CIFS printers.
314    
315  ### CLIENT-LIBS  ### CLIENT-LIBS
316  %package client-libs  %package client-libs
317  Summary: Samba client libraries  Summary: Samba client libraries
 Group: Applications/System  
318  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
319  Requires: %{name}-common = %{samba_depver}  Requires: %{name}-common = %{samba_depver}
320    Requires: samba-common-libs = %{samba_depver}
321  %if %with_libwbclient  %if %with_libwbclient
322  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
323  %endif  %endif
324    Requires: krb5-libs >= %{required_mit_krb5}
325    
326  %description client-libs  %description client-libs
327  The samba-client-libs package contains internal libraries needed by the  The samba-client-libs package contains internal libraries needed by the
# Line 277  SMB/CIFS clients. Line 330  SMB/CIFS clients.
330  ### COMMON  ### COMMON
331  %package common  %package common
332  Summary: Files used by both Samba servers and clients  Summary: Files used by both Samba servers and clients
 Group: Applications/System  
333  BuildArch: noarch  BuildArch: noarch
334    
335  Requires(post): systemd  Requires(post): systemd
 Requires: samba-common-tools = %{samba_depver}  
336    
337  Provides: samba4-common = %{samba_depver}  Provides: samba4-common = %{samba_depver}
338  Obsoletes: samba4-common < %{samba_depver}  Obsoletes: samba4-common < %{samba_depver}
# Line 293  packages of Samba. Line 344  packages of Samba.
344  ### COMMON-LIBS  ### COMMON-LIBS
345  %package common-libs  %package common-libs
346  Summary: Libraries used by both Samba servers and clients  Summary: Libraries used by both Samba servers and clients
 Group: Applications/System  
347  Requires(pre): samba-common = %{samba_depver}  Requires(pre): samba-common = %{samba_depver}
348  Requires: samba-common = %{samba_depver}  Requires: samba-common = %{samba_depver}
349  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
# Line 308  SMB/CIFS clients. Line 358  SMB/CIFS clients.
358  ### COMMON-TOOLS  ### COMMON-TOOLS
359  %package common-tools  %package common-tools
360  Summary: Tools for Samba servers and clients  Summary: Tools for Samba servers and clients
 Group: Applications/System  
361  Requires: samba-common-libs = %{samba_depver}  Requires: samba-common-libs = %{samba_depver}
362  Requires: samba-client-libs = %{samba_depver}  Requires: samba-client-libs = %{samba_depver}
363  Requires: samba-libs = %{samba_depver}  Requires: samba-libs = %{samba_depver}
# Line 323  SMB/CIFS clients. Line 372  SMB/CIFS clients.
372  ### DC  ### DC
373  %package dc  %package dc
374  Summary: Samba AD Domain Controller  Summary: Samba AD Domain Controller
375  Group: Applications/System  Requires: %{name} = %{samba_depver}
376  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
377  Requires: %{name}-dc-libs = %{samba_depver}  Requires: %{name}-dc-libs = %{samba_depver}
378  Requires: %{name}-python = %{samba_depver}  Requires: %{name}-winbind = %{samba_depver}
379    %if %{with_libwbclient}
380    Requires(post): libwbclient = %{samba_depver}
381    Requires: libwbclient = %{samba_depver}
382    %endif
383    %if %{with_dc}
384    # samba-tool requirements, explicitly require python2 right now
385    Requires: python2
386    Requires: python2-%{name} = %{samba_depver}
387    Requires: python2-crypto
388    
389    ### Note that samba-dc right now cannot be used with Python 3
390    ### so we should make sure it does use python2 explicitly
391    %if 0
392    Requires: python3-crypto
393    Requires: python3-%{name} = %{samba_depver}
394    %endif
395    Requires: krb5-server >= %{required_mit_krb5}
396    %endif
397    
398  Provides: samba4-dc = %{samba_depver}  Provides: samba4-dc = %{samba_depver}
399  Obsoletes: samba4-dc < %{samba_depver}  Obsoletes: samba4-dc < %{samba_depver}
# Line 337  The samba-dc package provides AD Domain Line 404  The samba-dc package provides AD Domain
404  ### DC-LIBS  ### DC-LIBS
405  %package dc-libs  %package dc-libs
406  Summary: Samba AD Domain Controller Libraries  Summary: Samba AD Domain Controller Libraries
 Group: Applications/System  
407  Requires: %{name}-common-libs = %{samba_depver}  Requires: %{name}-common-libs = %{samba_depver}
408  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
409    
# Line 345  Provides: samba4-dc-libs = %{samba_depve Line 411  Provides: samba4-dc-libs = %{samba_depve
411  Obsoletes: samba4-dc-libs < %{samba_depver}  Obsoletes: samba4-dc-libs < %{samba_depver}
412    
413  %description dc-libs  %description dc-libs
414  The samba4-dc-libs package contains the libraries needed by the DC to  The %{name}-dc-libs package contains the libraries needed by the DC to
415  link against the SMB, RPC and other protocols.  link against the SMB, RPC and other protocols.
416    
417    ### DC-BIND
418    %if %with_dc
419    %package dc-bind-dlz
420    Summary: Bind DLZ module for Samba AD
421    Requires: %{name}-common = %{samba_depver}
422    Requires: %{name}-dc-libs = %{samba_depver}
423    Requires: %{name}-dc = %{samba_depver}
424    Requires: bind
425    
426    %description dc-bind-dlz
427    The %{name}-dc-bind-dlz package contains the libraries for bind to manage all
428    name server related details of Samba AD.
429    %endif # with_dc
430    
431  ### DEVEL  ### DEVEL
432  %package devel  %package devel
433  Summary: Developer tools for Samba libraries  Summary: Developer tools for Samba libraries
 Group: Development/Libraries  
434  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
435  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
436    
# Line 359  Provides: samba4-devel = %{samba_depver} Line 438  Provides: samba4-devel = %{samba_depver}
438  Obsoletes: samba4-devel < %{samba_depver}  Obsoletes: samba4-devel < %{samba_depver}
439    
440  %description devel  %description devel
441  The samba4-devel package contains the header files for the libraries  The %{name}-devel package contains the header files for the libraries
442  needed to develop programs that link against the SMB, RPC and other  needed to develop programs that link against the SMB, RPC and other
443  libraries in the Samba suite.  libraries in the Samba suite.
444    
# Line 367  libraries in the Samba suite. Line 446  libraries in the Samba suite.
446  %if %{with_vfs_cephfs}  %if %{with_vfs_cephfs}
447  %package vfs-cephfs  %package vfs-cephfs
448  Summary: Samba VFS module for Ceph distributed storage system  Summary: Samba VFS module for Ceph distributed storage system
 Group: Applications/System  
 Requires: libcephfs1  
449  Requires: %{name} = %{samba_depver}  Requires: %{name} = %{samba_depver}
450  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
451    
# Line 380  Samba VFS module for Ceph distributed st Line 457  Samba VFS module for Ceph distributed st
457  %if %{with_vfs_glusterfs}  %if %{with_vfs_glusterfs}
458  %package vfs-glusterfs  %package vfs-glusterfs
459  Summary: Samba VFS module for GlusterFS  Summary: Samba VFS module for GlusterFS
 Group: Applications/System  
460  Requires: glusterfs-api >= 3.4.0.16  Requires: glusterfs-api >= 3.4.0.16
461  Requires: glusterfs >= 3.4.0.16  Requires: glusterfs >= 3.4.0.16
462  Requires: %{name} = %{samba_depver}  Requires: %{name} = %{samba_depver}
463  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
464  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
465    
466  Obsoletes: samba-glusterfs  Obsoletes: samba-glusterfs < %{samba_depver}
467  Provides: samba-glusterfs  Provides: samba-glusterfs = %{samba_depver}
468    
469  %description vfs-glusterfs  %description vfs-glusterfs
470  Samba VFS module for GlusterFS integration.  Samba VFS module for GlusterFS integration.
471  %endif  %endif
472    
473    ### KRB5-PRINTING
474    %package krb5-printing
475    Summary: Samba CUPS backend for printing with Kerberos
476    Requires(pre): %{name}-client
477    Requires: %{name}-client
478    Requires: %{name}-client-libs
479    
480    Requires(post): %{_sbindir}/update-alternatives
481    Requires(postun): %{_sbindir}/update-alternatives
482    
483    %description krb5-printing
484    If you need Kerberos for print jobs to a printer connection to cups via the SMB
485    backend, then you need to install that package. It will allow cups to access
486    the Kerberos credentials cache of the user issuing the print job.
487    
488  ### LIBS  ### LIBS
489  %package libs  %package libs
490  Summary: Samba libraries  Summary: Samba libraries
 Group: Applications/System  
 Requires: krb5-libs >= 1.10  
 Requires: libldb  
491  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
492  %if %with_libwbclient  %if %with_libwbclient
493  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
# Line 409  Provides: samba4-libs = %{samba_depver} Line 497  Provides: samba4-libs = %{samba_depver}
497  Obsoletes: samba4-libs < %{samba_depver}  Obsoletes: samba4-libs < %{samba_depver}
498    
499  %description libs  %description libs
500  The samba4-libs package contains the libraries needed by programs that  The %{name}-libs package contains the libraries needed by programs that link
501  link against the SMB, RPC and other protocols provided by the Samba suite.  against the SMB, RPC and other protocols provided by the Samba suite.
502    
503  ### LIBSMBCLIENT  ### LIBSMBCLIENT
504  %if %with_libsmbclient  %if %with_libsmbclient
505  %package -n libsmbclient  %package -n libsmbclient
506  Summary: The SMB client library  Summary: The SMB client library
 Group: Applications/System  
507  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
508  Requires: %{name}-common = %{samba_depver}  Requires: %{name}-common = %{samba_depver}
509    Requires: %{name}-common-libs = %{samba_depver}
510  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
511    %if %with_libwbclient
512    Requires: libwbclient = %{samba_depver}
513    %endif
514    
515  %description -n libsmbclient  %description -n libsmbclient
516  The libsmbclient contains the SMB client library from the Samba suite.  The libsmbclient contains the SMB client library from the Samba suite.
517    
518  %package -n libsmbclient-devel  %package -n libsmbclient-devel
519  Summary: Developer tools for the SMB client library  Summary: Developer tools for the SMB client library
 Group: Development/Libraries  
520  Requires: libsmbclient = %{samba_depver}  Requires: libsmbclient = %{samba_depver}
521    
522  %description -n libsmbclient-devel  %description -n libsmbclient-devel
523  The libsmbclient-devel package contains the header files and libraries needed to  The libsmbclient-devel package contains the header files and libraries needed
524  develop programs that link against the SMB client library in the Samba suite.  to develop programs that link against the SMB client library in the Samba
525    suite.
526  %endif # with_libsmbclient  %endif # with_libsmbclient
527    
528  ### LIBWBCLIENT  ### LIBWBCLIENT
529  %if %with_libwbclient  %if %with_libwbclient
530  %package -n libwbclient  %package -n libwbclient
531  Summary: The winbind client library  Summary: The winbind client library
 Group: Applications/System  
532  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
533    
534  %description -n libwbclient  %description -n libwbclient
535  The libwbclient package contains the winbind client library from the Samba suite.  The libwbclient package contains the winbind client library from the Samba
536    suite.
537    
538  %package -n libwbclient-devel  %package -n libwbclient-devel
539  Summary: Developer tools for the winbind library  Summary: Developer tools for the winbind library
 Group: Development/Libraries  
540  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
541  Obsoletes: samba-winbind-devel  
542  Provides: samba-winbind-devel  Provides: samba-winbind-devel = %{samba_depver}
543    Obsoletes: samba-winbind-devel < %{samba_depver}
544    
545  %description -n libwbclient-devel  %description -n libwbclient-devel
546  The libwbclient-devel package provides developer tools for the wbclient library.  The libwbclient-devel package provides developer tools for the wbclient
547    library.
548  %endif # with_libwbclient  %endif # with_libwbclient
549    
550  ### PYTHON  ### PYTHON
551  %package python  %package python
552  Summary: Samba Python libraries  Summary: Samba Python libraries
 Group: Applications/System  
553  Requires: %{name} = %{samba_depver}  Requires: %{name} = %{samba_depver}
554  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
555  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
556    %if %with_libwbclient
557    Requires: libwbclient = %{samba_depver}
558    %endif
559    %if %with_libsmbclient
560    Requires: libsmbclient = %{samba_depver}
561    %endif
562  Requires: python-tevent  Requires: python-tevent
563  Requires: python-tdb  Requires: python-tdb
564  Requires: pyldb  Requires: pyldb
565  Requires: pytalloc  Requires: pytalloc
566    Requires: python-dns
567    
568  Provides: samba4-python = %{samba_depver}  Provides: samba4-python = %{samba_depver}
569  Obsoletes: samba4-python < %{samba_depver}  Obsoletes: samba4-python < %{samba_depver}
570    
571  %description python  %description python
572  The samba4-python package contains the Python libraries needed by programs  The %{name}-python package contains the Python libraries needed by programs
573  that use SMB, RPC and other Samba provided protocols in Python programs.  that use SMB, RPC and other Samba provided protocols in Python programs.
574    
575    %package python-test
576    Summary: Samba Python libraries
577    Requires: samba-python = %{samba_depver}
578    
579    %description python-test
580    The %{name}-python-test package contains the Python libraries used by the test suite of Samba.
581    If you want to run full set of Samba tests, you need to install this package.
582    
583    %if %{with_dc}
584    %package python-dc
585    Summary: Samba Python libraries for Samba AD
586    Requires: samba-python = %{samba_depver}
587    
588    %description python-dc
589    The %{name}-python-dc package contains the Python libraries needed by programs
590    managing Samba AD.
591    %endif
592    
593  ### PIDL  ### PIDL
594  %package pidl  %package pidl
595  Summary: Perl IDL compiler  Summary: Perl IDL compiler
596  Group: Development/Tools  Requires: perl-interpreter
597  Requires: perl(Parse::Yapp)  Requires: perl(Parse::Yapp)
598  Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))  Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
599  BuildArch: noarch  BuildArch: noarch
# Line 492  and Wireshark to parse IDL and similar p Line 608  and Wireshark to parse IDL and similar p
608  ### TEST  ### TEST
609  %package test  %package test
610  Summary: Testing tools for Samba servers and clients  Summary: Testing tools for Samba servers and clients
 Group: Applications/System  
611  Requires: %{name} = %{samba_depver}  Requires: %{name} = %{samba_depver}
612  Requires: %{name}-common = %{samba_depver}  Requires: %{name}-common = %{samba_depver}
613  Requires: %{name}-winbind = %{samba_depver}  Requires: %{name}-winbind = %{samba_depver}
# Line 520  packages of Samba. Line 635  packages of Samba.
635    
636  ### TEST-LIBS  ### TEST-LIBS
637  %package test-libs  %package test-libs
638  Summary: Libraries need by teh testing tools for Samba servers and clients  Summary: Libraries need by the testing tools for Samba servers and clients
 Group: Applications/System  
639  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
640  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
641    %if %with_libwbclient
642    Requires: libwbclient = %{samba_depver}
643    %endif
644    
645    Provides: %{name}-test-devel = %{samba_depver}
646    Obsoletes: %{name}-test-devel < %{samba_depver}
647    
648  %description test-libs  %description test-libs
649  %{name}-test-libs provides libraries required by the testing tools.  %{name}-test-libs provides libraries required by the testing tools.
650    
 ### TEST-DEVEL  
 %package test-devel  
 Summary: Testing devel files for Samba servers and clients  
 Group: Applications/System  
 Requires: %{name}-libs = %{samba_depver}  
 Requires: %{name}-test-libs = %{samba_depver}  
   
 %description test-devel  
 samba-test-devel provides testing devel files for both the server and client  
 packages of Samba.  
   
651  ### WINBIND  ### WINBIND
652  %package winbind  %package winbind
653  Summary: Samba winbind  Summary: Samba winbind
 Group: Applications/System  
654  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
655  Requires: %{name}-common = %{samba_depver}  Requires: %{name}-common = %{samba_depver}
656  Requires: %{name}-common-libs = %{samba_depver}  Requires: %{name}-common-libs = %{samba_depver}
# Line 550  Requires: %{name}-common-tools = %{samba Line 658  Requires: %{name}-common-tools = %{samba
658  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
659  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
660  Requires: %{name}-winbind-modules = %{samba_depver}  Requires: %{name}-winbind-modules = %{samba_depver}
661    %if %with_libwbclient
662    Requires(post): libwbclient = %{samba_depver}
663    Requires: libwbclient = %{samba_depver}
664    %endif
665    
666  Provides: samba4-winbind = %{samba_depver}  Provides: samba4-winbind = %{samba_depver}
667  Obsoletes: samba4-winbind < %{samba_depver}  Obsoletes: samba4-winbind < %{samba_depver}
668    
669  %description winbind  %description winbind
670  The samba-winbind package provides the winbind NSS library, and some  The samba-winbind package provides the winbind NSS library, and some client
671  client tools.  Winbind enables Linux to be a full member in Windows  tools.  Winbind enables Linux to be a full member in Windows domains and to use
672  domains and to use Windows user and group accounts on Linux.  Windows user and group accounts on Linux.
673    
674  ### WINBIND-CLIENTS  ### WINBIND-CLIENTS
675  %package winbind-clients  %package winbind-clients
676  Summary: Samba winbind clients  Summary: Samba winbind clients
 Group: Applications/System  
677  Requires: %{name}-common = %{samba_depver}  Requires: %{name}-common = %{samba_depver}
678  Requires: %{name}-common-libs = %{samba_depver}  Requires: %{name}-common-libs = %{samba_depver}
679  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
# Line 582  tool. Line 693  tool.
693  ### WINBIND-KRB5-LOCATOR  ### WINBIND-KRB5-LOCATOR
694  %package winbind-krb5-locator  %package winbind-krb5-locator
695  Summary: Samba winbind krb5 locator  Summary: Samba winbind krb5 locator
 Group: Applications/System  
696  %if %with_libwbclient  %if %with_libwbclient
697  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
698    Requires: %{name}-client-libs = %{samba_depver}
699  Requires: %{name}-winbind = %{samba_depver}  Requires: %{name}-winbind = %{samba_depver}
700  %else  %else
701  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
# Line 609  the local kerberos library to use the sa Line 720  the local kerberos library to use the sa
720  ### WINBIND-MODULES  ### WINBIND-MODULES
721  %package winbind-modules  %package winbind-modules
722  Summary: Samba winbind modules  Summary: Samba winbind modules
 Group: Applications/System  
723  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
724  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
725  %if %with_libwbclient  %if %with_libwbclient
# Line 618  Requires: libwbclient = %{samba_depver} Line 728  Requires: libwbclient = %{samba_depver}
728  Requires: pam  Requires: pam
729    
730  %description winbind-modules  %description winbind-modules
731  The samba-winbind-modules package provides the NSS library and a PAM  The samba-winbind-modules package provides the NSS library and a PAM module
732  module necessary to communicate to the Winbind Daemon  necessary to communicate to the Winbind Daemon
733    
734  ### CTDB  ### CTDB
735  %if %with_clustering_support  %if %with_clustering_support
736  %package -n ctdb  %package -n ctdb
737  Summary: A Clustered Database based on Samba's Trivial Database (TDB)  Summary: A Clustered Database based on Samba's Trivial Database (TDB)
 Group: System Environment/Daemons  
738    
739  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
740    
741  Requires: coreutils  Requires: coreutils
 Requires: fileutils  
742  # for ps and killall  # for ps and killall
743  Requires: psmisc  Requires: psmisc
744  Requires: sed  Requires: sed
# Line 657  projects to store temporary data. If an Line 765  projects to store temporary data. If an
765  temporary data it is very easy to convert that application to be cluster aware  temporary data it is very easy to convert that application to be cluster aware
766  and use CTDB instead.  and use CTDB instead.
767    
 ### CTDB-DEVEL  
 %package -n ctdb-devel  
 Summary: CTDB clustered database development package  
 Group: Development/Libraries  
   
 Requires: ctdb = %{samba_depver}  
 Provides: ctdb-static = %{samba_depver}  
   
 %description -n ctdb-devel  
 Libraries, include files, etc you can use to develop CTDB applications.  
 CTDB is a cluster implementation of the TDB database used by Samba and other  
 projects to store temporary data. If an application is already using TDB for  
 temporary data it is very easy to convert that application to be cluster aware  
 and use CTDB instead.  
   
768  ### CTDB-TEST  ### CTDB-TEST
769  %package -n ctdb-tests  %package -n ctdb-tests
770  Summary: CTDB clustered database test suite  Summary: CTDB clustered database test suite
 Group: Development/Tools  
771    
772  Requires: samba-client-libs = %{samba_depver}  Requires: samba-client-libs = %{samba_depver}
773    
774  Requires: ctdb = %{samba_depver}  Requires: ctdb = %{samba_depver}
775  Requires: nc  Requires: nc
776    
777    Provides: ctdb-devel = %{samba_depver}
778    Obsoletes: ctdb-devel < %{samba_depver}
779    
780  %description -n ctdb-tests  %description -n ctdb-tests
781  Test suite for CTDB.  Test suite for CTDB.
782  CTDB is a cluster implementation of the TDB database used by Samba and other  CTDB is a cluster implementation of the TDB database used by Samba and other
# Line 693  and use CTDB instead. Line 788  and use CTDB instead.
788    
789    
790  %prep  %prep
791  %setup -q -n samba-%{version}%{pre_release}  xzcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
792    %autosetup -n samba-%{version}%{pre_release} -p1
 %patch1 -p1 -b .samba-4.2.10-ldap-sasl-win2003.patch  
 %patch3 -p1 -b .samba-4.2.3-document_netbios_length.patch  
 %patch4 -p1 -b .samba-4.2.3-fix_net_ads_keytab_segfault.patch  
 %patch5 -p1 -b .samba-4.2.10-s3-parm-clean-up-defaults-when-removing-global-param.patch  
 %patch6 -p1 -b .samba-4.2.10-s3-winbind-make-sure-domain-member-can-talk-to-trust.patch  
 %patch7 -p1 -b .samba-4.2.10-badlock-bugfixes.patch  
 %patch8 -p1 -b .samba-4.2.10-fix_rpcclient_ipc_signing.patch  
 %patch9 -p1 -b .samba-4.2.10-fix_ntlm_auth_issues.patch  
 %patch10 -p1 -b .samba-4.2.10-fix_msrpc_parse.patch  
 %patch11 -p1 -b .samba-4.2.10-fix_anon_with_singing_mandatory.patch  
 %patch12 -p1 -b .samba-4.2.99-fix_idmap_hash_with_other_modules.path  
 %patch13 -p1 -b .samba-4.2.99-net_ads_join_fix_keytab_generation.patch  
 %patch14 -p1 -b .CVE-2016-2119-v4-2.patch  
793    
794  %build  %build
795  %global _talloc_lib ,talloc,pytalloc,pytalloc-util  %global _talloc_lib ,talloc,pytalloc,pytalloc-util
796  %global _tevent_lib ,tevent,pytevent  %global _tevent_lib ,tevent,pytevent
797  %global _tdb_lib ,tdb,pytdb  %global _tdb_lib ,tdb,pytdb
798  %global _ldb_lib ,ldb,pyldb  %global _ldb_lib ,ldb,pyldb,pyldb-util
799    
800  %if ! %{with_internal_talloc}  %if ! %{with_internal_talloc}
801  %global _talloc_lib ,!talloc,!pytalloc,!pytalloc-util  %global _talloc_lib ,!talloc,!pytalloc,!pytalloc-util
# Line 728  and use CTDB instead. Line 810  and use CTDB instead.
810  %endif  %endif
811    
812  %if ! %{with_internal_ldb}  %if ! %{with_internal_ldb}
813  %global _ldb_lib ,!ldb,!pyldb  %global _ldb_lib ,!ldb,!pyldb,!pyldb-util
814  %endif  %endif
815    
816  %global _samba4_libraries heimdal,!zlib,!popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib}  %global _samba_libraries !zlib,!popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib}
817    
818  %global _samba4_idmap_modules idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2  %global _samba_idmap_modules idmap_ad,idmap_rid,idmap_ldap,idmap_hash,idmap_tdb2
819  %global _samba4_pdb_modules pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4  %global _samba_pdb_modules pdb_tdbsam,pdb_ldap,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4
820  %global _samba4_auth_modules auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4  %global _samba_auth_modules auth_wbc,auth_unix,auth_server,auth_script,auth_samba4
821    %global _samba_vfs_modules vfs_dfs_samba4
822    
823  %global _samba4_modules %{_samba4_idmap_modules},%{_samba4_pdb_modules},%{_samba4_auth_modules}  %global _samba_modules %{_samba_idmap_modules},%{_samba_pdb_modules},%{_samba_auth_modules},%{_samba_vfs_modules}
824    
825  %global _libsmbclient %nil  %global _libsmbclient %nil
826  %global _libwbclient %nil  %global _libwbclient %nil
# Line 750  and use CTDB instead. Line 833  and use CTDB instead.
833  %global _libwbclient wbclient,  %global _libwbclient wbclient,
834  %endif  %endif
835    
836  %global _samba4_private_libraries %{_libsmbclient}%{_libwbclient}  %global _samba_private_libraries %{_libsmbclient}%{_libwbclient}
837    
838    export PYTHON=/usr/bin/python2
839  %configure \  %configure \
840          --enable-fhs \          --enable-fhs \
841          --with-piddir=/run \          --with-piddir=/run \
842          --with-sockets-dir=/run/samba \          --with-sockets-dir=/run/samba \
843          --with-modulesdir=%{_libdir}/samba \          --with-modulesdir=%{_libdir}/samba \
844          --with-pammodulesdir=%{_libdir}/security \          --with-pammodulesdir=%{_libdir}/security \
845          --with-lockdir=/var/lib/samba \          --with-lockdir=/var/lib/samba/lock \
846            --with-statedir=/var/lib/samba \
847          --with-cachedir=/var/lib/samba \          --with-cachedir=/var/lib/samba \
848          --disable-rpath-install \          --disable-rpath-install \
849          --with-shared-modules=%{_samba4_modules} \          --with-shared-modules=%{_samba_modules} \
850          --bundled-libraries=%{_samba4_libraries} \          --bundled-libraries=%{_samba_libraries} \
851          --with-pam \          --with-pam \
852          --with-pie \          --with-pie \
853          --with-relro \          --with-relro \
854          --without-fam \          --without-fam \
855  %if (! %with_libsmbclient) || (! %with_libwbclient)  %if (! %with_libsmbclient) || (! %with_libwbclient)
856          --private-libraries=%{_samba4_private_libraries} \          --private-libraries=%{_samba_private_libraries} \
857  %endif  %endif
858  %if %with_mitkrb5  %if %with_mitkrb5
859          --with-system-mitkrb5 \          --with-system-mitkrb5 \
# Line 788  and use CTDB instead. Line 873  and use CTDB instead.
873  %if %{with testsuite}  %if %{with testsuite}
874          --enable-selftest \          --enable-selftest \
875  %endif  %endif
876  %if ! %with_pam_smbpass  %if %with_intel_aes_accel
877          --without-pam_smbpass \          --accel-aes=intelaesni \
878  %endif  %endif
879          --with-systemd          --with-systemd \
880            --systemd-install-services \
881            --with-systemddir=/usr/lib/systemd/system \
882            --systemd-smb-extra=%{_systemd_extra} \
883            --systemd-nmb-extra=%{_systemd_extra} \
884            --systemd-winbind-extra=%{_systemd_extra} \
885            --systemd-samba-extra=%{_systemd_extra}
886    
887  make %{?_smp_mflags}  make %{?_smp_mflags}
888    
889  %install  %install
890  rm -rf %{buildroot}  PYTHON=/usr/bin/python2 \
891  make %{?_smp_mflags} install DESTDIR=%{buildroot}  make %{?_smp_mflags} install DESTDIR=%{buildroot}
892    
893    export PYTHON=%{__python2}
894    # Workaround: make sure all general Python shebangs are pointing to Python 2
895    # otherwise it will not work when default python is different from Python 2.
896    # Samba tools aren't ready for Python 3 yet.
897    for i in %{buildroot}%{_bindir} %{buildroot}%{_sbindir} ; do
898            find $i \
899                    ! -name '*.pyc' -a \
900                    ! -name '*.pyo' -a \
901                    -type f -exec grep -qsm1 '^#!.*\bpython' {} \; \
902                    -exec sed -i -e '1 s|^#!.*\bpython[^ ]*|#!%{__python2}|' {} \;
903    done
904    
905  install -d -m 0755 %{buildroot}/usr/{sbin,bin}  install -d -m 0755 %{buildroot}/usr/{sbin,bin}
906  install -d -m 0755 %{buildroot}%{_libdir}/security  install -d -m 0755 %{buildroot}%{_libdir}/security
907  install -d -m 0755 %{buildroot}/var/lib/samba  install -d -m 0755 %{buildroot}/var/lib/samba
908    install -d -m 0755 %{buildroot}/var/lib/samba/drivers
909    install -d -m 0755 %{buildroot}/var/lib/samba/lock
910  install -d -m 0755 %{buildroot}/var/lib/samba/private  install -d -m 0755 %{buildroot}/var/lib/samba/private
 install -d -m 0755 %{buildroot}/var/lib/samba/winbindd_privileged  
911  install -d -m 0755 %{buildroot}/var/lib/samba/scripts  install -d -m 0755 %{buildroot}/var/lib/samba/scripts
912  install -d -m 0755 %{buildroot}/var/lib/samba/sysvol  install -d -m 0755 %{buildroot}/var/lib/samba/sysvol
913    install -d -m 0755 %{buildroot}/var/lib/samba/winbindd_privileged
914  install -d -m 0755 %{buildroot}/var/log/samba/old  install -d -m 0755 %{buildroot}/var/log/samba/old
915  install -d -m 0755 %{buildroot}/var/spool/samba  install -d -m 0755 %{buildroot}/var/spool/samba
916  install -d -m 0755 %{buildroot}/var/run/samba  install -d -m 0755 %{buildroot}/run/samba
917  install -d -m 0755 %{buildroot}/var/run/winbindd  install -d -m 0755 %{buildroot}/run/winbindd
918  install -d -m 0755 %{buildroot}/%{_libdir}/samba  install -d -m 0755 %{buildroot}/%{_libdir}/samba
919    install -d -m 0755 %{buildroot}/%{_libdir}/samba/ldb
920  install -d -m 0755 %{buildroot}/%{_libdir}/pkgconfig  install -d -m 0755 %{buildroot}/%{_libdir}/pkgconfig
921    
922  # Move libwbclient.so* into private directory, it cannot be just libdir/samba  # Move libwbclient.so* into private directory, it cannot be just libdir/samba
# Line 823  then Line 929  then
929      exit -1      exit -1
930  fi  fi
931    
932    
933    touch %{buildroot}%{_libexecdir}/samba/cups_backend_smb
934    
935  # Install other stuff  # Install other stuff
936  install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d  install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
937  install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/samba  install -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/logrotate.d/samba
938    
939  install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/samba/smb.conf  install -m 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/samba/smb.conf
940    install -m 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/samba/smb.conf.example
941    
942  install -d -m 0755 %{buildroot}%{_sysconfdir}/security  install -d -m 0755 %{buildroot}%{_sysconfdir}/security
943  install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf  install -m 0644 %{SOURCE13} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf
944    
945  install -d -m 0755 %{buildroot}%{_sysconfdir}/pam.d  install -d -m 0755 %{buildroot}%{_sysconfdir}/pam.d
946  install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/pam.d/samba  install -m 0644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/samba
947    
948  echo 127.0.0.1 localhost > %{buildroot}%{_sysconfdir}/samba/lmhosts  echo 127.0.0.1 localhost > %{buildroot}%{_sysconfdir}/samba/lmhosts
949    
# Line 843  install -m644 examples/LDAP/samba.schema Line 953  install -m644 examples/LDAP/samba.schema
953    
954  install -m 0744 packaging/printing/smbprint %{buildroot}%{_bindir}/smbprint  install -m 0744 packaging/printing/smbprint %{buildroot}%{_bindir}/smbprint
955    
956  install -d -m 0755 %{buildroot}%{_prefix}/lib/tmpfiles.d/  install -d -m 0755 %{buildroot}%{_tmpfilesdir}
957  install -m644 packaging/systemd/samba.conf.tmp %{buildroot}%{_prefix}/lib/tmpfiles.d/samba.conf  # Create /run/samba too.
958  # create /run/samba too.  echo "d /run/samba  755 root root" > %{buildroot}%{_tmpfilesdir}/samba.conf
 echo "d /run/samba  755 root root" >> %{buildroot}%{_prefix}/lib/tmpfiles.d/samba.conf  
959  %if %with_clustering_support  %if %with_clustering_support
960  echo "d /run/ctdb 755 root root" >> %{buildroot}%{_tmpfilesdir}/ctdb.conf  echo "d /run/ctdb 755 root root" > %{buildroot}%{_tmpfilesdir}/ctdb.conf
961  %endif  %endif
962    
963  install -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig  install -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig
964  install -m 0644 packaging/systemd/samba.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/samba  install -m 0644 packaging/systemd/samba.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/samba
965  %if %with_clustering_support  %if %with_clustering_support
966  install -m 0644 ctdb/config/ctdb.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/ctdb  cat > %{buildroot}%{_sysconfdir}/sysconfig/ctdb <<EOF
967    # CTDB configuration is now in %{_sysconfdir}/ctdb/ctdb.conf
968    EOF
969    
970    install -d -m 0755 %{buildroot}%{_sysconfdir}/ctdb
971    install -m 0644 ctdb/config/ctdb.conf %{buildroot}%{_sysconfdir}/ctdb/ctdb.conf
972  %endif  %endif
973    
974  install -m 0644 %{SOURCE201} packaging/README.downgrade  install -m 0644 %{SOURCE201} packaging/README.downgrade
# Line 864  install -m 0644 %{SOURCE200} packaging/R Line 978  install -m 0644 %{SOURCE200} packaging/R
978  install -m 0644 %{SOURCE200} packaging/README.dc-libs  install -m 0644 %{SOURCE200} packaging/README.dc-libs
979  %endif  %endif
980    
 install -d -m 0755 %{buildroot}%{_unitdir}  
 for i in nmb smb winbind samba ; do  
     cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=/run/samba/krb5cc_samba@g' >tmp$i.service  
     install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service  
 done  
981  %if %with_clustering_support  %if %with_clustering_support
982  install -m 0755 ctdb/config/ctdb.service %{buildroot}%{_unitdir}  install -m 0644 ctdb/config/ctdb.service %{buildroot}%{_unitdir}
983  %endif  %endif
984    
985  # NetworkManager online/offline script  # NetworkManager online/offline script
# Line 883  install -d -m 0755 %{buildroot}%{_libdir Line 992  install -d -m 0755 %{buildroot}%{_libdir
992  touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so  touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
993    
994  %if ! %with_dc  %if ! %with_dc
995  for i in %{_libdir}/samba/libdfs-server-ad-samba4.so \  for i in \
996           %{_libdir}/samba/libdnsserver-common-samba4.so \      %{_libdir}/samba/libdfs-server-ad-samba4.so \
997           %{_mandir}/man8/samba.8 \      %{_libdir}/samba/libdnsserver-common-samba4.so \
998           %{_mandir}/man8/samba-tool.8 \      %{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so \
999           %{_libdir}/samba/ldb/ildap.so \      %{_libdir}/samba/ldb/ildap.so \
1000           %{_libdir}/samba/ldb/ldbsamba_extensions.so ; do      %{_libdir}/samba/ldb/ldbsamba_extensions.so \
1001          rm -f %{buildroot}$i      %{_mandir}/man8/samba.8 \
1002        %{_mandir}/man8/samba-tool.8 \
1003        %{_mandir}/man8/samba-gpupdate.8 \
1004        %{_sbindir}/samba-gpupdate \
1005        %{_libdir}/libsamba-policy.so \
1006        %{_libdir}/pkgconfig/samba-policy.pc \
1007        %{python_sitearch}/samba/colour.py* \
1008        %{python_sitearch}/samba/domain_update.py* \
1009        %{python_sitearch}/samba/forest_update.py* \
1010        %{python_sitearch}/samba/gpclass.py* \
1011        %{python_sitearch}/samba/graph.py* \
1012        %{python_sitearch}/samba/ms_forest_updates_markdown.py* \
1013        %{python_sitearch}/samba/ms_schema_markdown.py* \
1014        %{python_sitearch}/samba/gpo.so \
1015        %{python_sitearch}/samba/dcerpc/dnsserver.so \
1016        %{python_sitearch}/samba/netcmd/fsmo.py* \
1017        %{python_sitearch}/samba/netcmd/rodc.py* \
1018        %{python_sitearch}/samba/netcmd/visualize.py* \
1019        %{python_sitearch}/samba/kcc/__init__.py* \
1020        %{python_sitearch}/samba/kcc/debug.py* \
1021        %{python_sitearch}/samba/kcc/graph.py* \
1022        %{python_sitearch}/samba/kcc/graph_utils.py* \
1023        %{python_sitearch}/samba/kcc/kcc_utils.py* \
1024        %{python_sitearch}/samba/kcc/ldif_import_export.py* \
1025        %{python_sitearch}/samba/provision/__init__.py* \
1026        %{python_sitearch}/samba/provision/backend.py* \
1027        %{python_sitearch}/samba/provision/common.py* \
1028        %{python_sitearch}/samba/provision/kerberos.py* \
1029        %{python_sitearch}/samba/provision/kerberos_implementation.py* \
1030        %{python_sitearch}/samba/provision/sambadns.py* \
1031        %{python_sitearch}/samba/web_server/__init__.py* \
1032        %{python_sitearch}/samba/dckeytab.so \
1033        %{python_sitearch}/samba/dnsserver.py* \
1034        %{python_sitearch}/samba/drs_utils.py* \
1035        %{python_sitearch}/samba/dsdb.so \
1036        %{python_sitearch}/samba/dsdb_dns.so \
1037        %{python_sitearch}/samba/samdb.py* \
1038        %{python_sitearch}/samba/schema.py* \
1039        %{python_sitearch}/samba/tests/krb5_credentials.py* \
1040        %{python_sitearch}/samba/tests/ldap_raw.py* \
1041        %{python_sitearch}/samba/tests/password_quality.py* \
1042        %{python_sitearch}/samba/gp_sec_ext.py* \
1043        %{python_sitearch}/samba/mdb_util.py* \
1044        %{python_sitearch}/samba/tests/audit_log_base.py* \
1045        %{python_sitearch}/samba/tests/audit_log_dsdb.py* \
1046        %{python_sitearch}/samba/tests/audit_log_pass_change.py* \
1047        %{python_sitearch}/samba/tests/dckeytab.py* \
1048        %{python_sitearch}/samba/tests/dns_invalid.py* \
1049        %{python_sitearch}/samba/tests/domain_backup.py* \
1050        %{python_sitearch}/samba/tests/getdcname.py* \
1051        %{python_sitearch}/samba/tests/gpo.py* \
1052        %{python_sitearch}/samba/tests/group_audit.py* \
1053        %{python_sitearch}/samba/tests/loadparm.py* \
1054        %{python_sitearch}/samba/tests/netbios.py* \
1055        %{python_sitearch}/samba/tests/ntacls_backup.py* \
1056        %{python_sitearch}/samba/tests/password_test.py* \
1057        %{python_sitearch}/samba/tests/pso.py* \
1058        %{python_sitearch}/samba/tests/s3idmapdb.py* \
1059        %{python_sitearch}/samba/tests/s3param.py* \
1060        %{python_sitearch}/samba/tests/s3passdb.py* \
1061        %{python_sitearch}/samba/tests/s3registry.py* \
1062        %{python_sitearch}/samba/tests/s3windb.py* \
1063        %{python_sitearch}/samba/tests/samba_tool/computer.py* \
1064        %{python_sitearch}/samba/tests/samba_tool/demote.py* \
1065        %{python_sitearch}/samba/tests/samba_tool/forest.py* \
1066        %{python_sitearch}/samba/tests/samba_tool/ou.py* \
1067        %{python_sitearch}/samba/tests/samba_tool/passwordsettings.py* \
1068        %{python_sitearch}/samba/tests/samba_tool/schema.py* \
1069        %{python_sitearch}/samba/tests/samdb_api.py* \
1070        %{python_sitearch}/samba/tests/smb.py* \
1071        %{_unitdir}/samba.service \
1072        ; do
1073        rm -f %{buildroot}$i
1074  done  done
1075  %endif  %endif
1076    
# Line 897  done Line 1078  done
1078  # the ldconfig-created links be recorded in the RPM.  # the ldconfig-created links be recorded in the RPM.
1079  /sbin/ldconfig -N -n %{buildroot}%{_libdir}  /sbin/ldconfig -N -n %{buildroot}%{_libdir}
1080    
1081    # FIXME
1082    find %{buildroot}%{python2_sitearch} -name "*.pyc" -print -delete
1083    
1084    
1085  %if %{with testsuite}  %if %{with testsuite}
1086  %check  %check
1087  TDB_NO_FSYNC=1 make %{?_smp_mflags} test  PYTHON=/usr/bin/python2 TDB_NO_FSYNC=1 make %{?_smp_mflags} test
1088  %endif  %endif
1089    
1090  %post  %post
# Line 914  TDB_NO_FSYNC=1 make %{?_smp_mflags} test Line 1099  TDB_NO_FSYNC=1 make %{?_smp_mflags} test
1099  %systemd_postun_with_restart smb.service  %systemd_postun_with_restart smb.service
1100  %systemd_postun_with_restart nmb.service  %systemd_postun_with_restart nmb.service
1101    
1102    %pre common
1103    getent group printadmin >/dev/null || groupadd -r printadmin || :
1104    
1105  %post common  %post common
1106  /sbin/ldconfig  /sbin/ldconfig
1107  /usr/bin/systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/samba.conf  /usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf
1108  if [ -d /var/cache/samba ]; then  if [ -d /var/cache/samba ]; then
1109      mv /var/cache/samba/netsamlogon_cache.tdb /var/lib/samba/ 2>/dev/null      mv /var/cache/samba/netsamlogon_cache.tdb /var/lib/samba/ 2>/dev/null
1110      mv /var/cache/samba/winbindd_cache.tdb /var/lib/samba/ 2>/dev/null      mv /var/cache/samba/winbindd_cache.tdb /var/lib/samba/ 2>/dev/null
# Line 924  if [ -d /var/cache/samba ]; then Line 1112  if [ -d /var/cache/samba ]; then
1112      ln -sf /var/cache/samba /var/lib/samba/      ln -sf /var/cache/samba /var/lib/samba/
1113  fi  fi
1114    
1115  %postun common -p /sbin/ldconfig  %post client
1116    %{_sbindir}/update-alternatives --install %{_libexecdir}/samba/cups_backend_smb \
1117        cups_backend_smb \
1118        %{_bindir}/smbspool 10
1119    
1120    %postun client
1121    if [ $1 -eq 0 ] ; then
1122        %{_sbindir}/update-alternatives --remove cups_backend_smb %{_bindir}/smbspool
1123    fi
1124    
1125    %post client-libs -p /sbin/ldconfig
1126    
1127    %postun client-libs -p /sbin/ldconfig
1128    
1129    %post common-libs -p /sbin/ldconfig
1130    
1131    %postun common-libs -p /sbin/ldconfig
1132    
1133  %if %with_dc  %if %with_dc
1134  %post dc-libs -p /sbin/ldconfig  %post dc-libs -p /sbin/ldconfig
1135    
1136  %postun dc-libs -p /sbin/ldconfig  %postun dc-libs -p /sbin/ldconfig
1137  %endif # with_dc  
1138    %post dc
1139    %systemd_post samba.service
1140    
1141    %preun dc
1142    %systemd_preun samba.service
1143    
1144    %postun dc
1145    %systemd_postun_with_restart samba.service
1146    %endif
1147    
1148    %post krb5-printing
1149    %{_sbindir}/update-alternatives --install %{_libexecdir}/samba/cups_backend_smb \
1150            cups_backend_smb \
1151            %{_libexecdir}/samba/smbspool_krb5_wrapper 50
1152    
1153    %postun krb5-printing
1154    if [ $1 -eq 0 ] ; then
1155            %{_sbindir}/update-alternatives --remove cups_backend_smb %{_libexecdir}/samba/smbspool_krb5_wrapper
1156    fi
1157    
1158  %post libs -p /sbin/ldconfig  %post libs -p /sbin/ldconfig
1159    
# Line 940  fi Line 1163  fi
1163  %post -n libsmbclient -p /sbin/ldconfig  %post -n libsmbclient -p /sbin/ldconfig
1164    
1165  %postun -n libsmbclient -p /sbin/ldconfig  %postun -n libsmbclient -p /sbin/ldconfig
1166  %endif # with_libsmbclient  %endif
1167    
1168  %if %with_libwbclient  %if %with_libwbclient
1169  %posttrans -n libwbclient  %posttrans -n libwbclient
1170  # It has to be posttrans here to make sure all files of a previous version  # It has to be posttrans here to make sure all files of a previous version
1171  # without alternatives support are removed  # without alternatives support are removed
1172  %{_sbindir}/update-alternatives --install %{_libdir}/libwbclient.so.%{libwbc_alternatives_version} \  %{_sbindir}/update-alternatives \
1173                                  libwbclient.so.%{libwbc_alternatives_version}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_alternatives_version} 10          --install \
1174            %{_libdir}/libwbclient.so.%{libwbc_alternatives_version} \
1175            libwbclient.so.%{libwbc_alternatives_version}%{libwbc_alternatives_suffix} \
1176            %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_alternatives_version} \
1177            10
1178  /sbin/ldconfig  /sbin/ldconfig
1179    
1180  %preun -n libwbclient  %preun -n libwbclient
1181  %{_sbindir}/update-alternatives --remove libwbclient.so.%{libwbc_alternatives_version}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_alternatives_version}  if [ $1 -eq 0 ]; then
1182        %{_sbindir}/update-alternatives \
1183                --remove \
1184                libwbclient.so.%{libwbc_alternatives_version}%{libwbc_alternatives_suffix} \
1185                %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_alternatives_version}
1186    fi
1187  /sbin/ldconfig  /sbin/ldconfig
1188    
1189  %posttrans -n libwbclient-devel  %posttrans -n libwbclient-devel
1190  %{_sbindir}/update-alternatives --install %{_libdir}/libwbclient.so \  %{_sbindir}/update-alternatives \
1191                                  libwbclient.so%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so 10          --install %{_libdir}/libwbclient.so \
1192            libwbclient.so%{libwbc_alternatives_suffix} \
1193            %{_libdir}/samba/wbclient/libwbclient.so \
1194            10
1195    
1196  %preun -n libwbclient-devel  %preun -n libwbclient-devel
1197  # alternatives checks if the file which should be removed is a link or not, but  # alternatives checks if the file which should be removed is a link or not, but
# Line 964  fi Line 1199  fi
1199  # When downgrading to a version where alternatives is not used and  # When downgrading to a version where alternatives is not used and
1200  # libwbclient.so is a link and not a file it will be removed. The following  # libwbclient.so is a link and not a file it will be removed. The following
1201  # check removes the alternatives files manually if that is the case.  # check removes the alternatives files manually if that is the case.
1202  if [ "`readlink %{_libdir}/libwbclient.so`" == "libwbclient.so.%{libwbc_alternatives_version}" ]; then  if [ $1 -eq 0 ]; then
1203      /bin/rm -f /etc/alternatives/libwbclient.so%{libwbc_alternatives_suffix} /var/lib/alternatives/libwbclient.so%{libwbc_alternatives_suffix} 2> /dev/null      if [ "`readlink %{_libdir}/libwbclient.so`" == "libwbclient.so.%{libwbc_alternatives_version}" ]; then
1204  else          /bin/rm -f /etc/alternatives/libwbclient.so%{libwbc_alternatives_suffix} /var/lib/alternatives/libwbclient.so%{libwbc_alternatives_suffix} 2> /dev/null
1205      %{_sbindir}/update-alternatives --remove libwbclient.so%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so      else
1206            %{_sbindir}/update-alternatives --remove libwbclient.so%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so
1207        fi
1208  fi  fi
1209    
1210  %endif # with_libwbclient  %endif # with_libwbclient
# Line 986  fi Line 1223  fi
1223  %systemd_preun winbind.service  %systemd_preun winbind.service
1224    
1225  %postun winbind  %postun winbind
1226  %systemd_postun_with_restart smb.service  %systemd_postun_with_restart winbind.service
 %systemd_postun_with_restart nmb.service  
1227    
1228  %postun winbind-krb5-locator  %postun winbind-krb5-locator
1229  if [ "$1" -ge "1" ]; then  if [ "$1" -ge "1" ]; then
1230          if [ "`readlink %{_sysconfdir}/alternatives/winbind_krb5_locator.so`" == "%{_libdir}/winbind_krb5_locator.so" ]; then          if [ "`readlink %{_sysconfdir}/alternatives/winbind_krb5_locator.so`" == "%{_libdir}/samba/krb5/winbind_krb5_locator.so" ]; then
1231                  %{_sbindir}/update-alternatives --set winbind_krb5_locator.so %{_libdir}/winbind_krb5_locator.so                  %{_sbindir}/update-alternatives --set winbind_krb5_locator.so %{_libdir}/samba/krb5/winbind_krb5_locator.so
1232          fi          fi
1233  fi  fi
1234    
1235  %post winbind-krb5-locator  %post winbind-krb5-locator
1236  %{_sbindir}/update-alternatives --install %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so \  %{_sbindir}/update-alternatives --install %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so \
1237                                  winbind_krb5_locator.so %{_libdir}/winbind_krb5_locator.so 10                                  winbind_krb5_locator.so %{_libdir}/samba/krb5/winbind_krb5_locator.so 10
1238    
1239  %preun winbind-krb5-locator  %preun winbind-krb5-locator
1240  if [ $1 -eq 0 ]; then  if [ $1 -eq 0 ]; then
1241          %{_sbindir}/update-alternatives --remove winbind_krb5_locator.so %{_libdir}/winbind_krb5_locator.so          %{_sbindir}/update-alternatives --remove winbind_krb5_locator.so %{_libdir}/samba/krb5/winbind_krb5_locator.so
1242  fi  fi
1243    
1244  %post winbind-modules -p /sbin/ldconfig  %post winbind-modules -p /sbin/ldconfig
# Line 1011  fi Line 1247  fi
1247    
1248  %if %with_clustering_support  %if %with_clustering_support
1249  %post -n ctdb  %post -n ctdb
1250  /usr/bin/systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/ctdb.conf  /usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/ctdb.conf
1251  %systemd_post ctdb.service  %systemd_post ctdb.service
1252    
1253  %preun -n ctdb  %preun -n ctdb
# Line 1028  rm -rf %{buildroot} Line 1264  rm -rf %{buildroot}
1264  ### SAMBA  ### SAMBA
1265  %files  %files
1266  %defattr(-,root,root,-)  %defattr(-,root,root,-)
1267  %doc COPYING README WHATSNEW.txt  %license COPYING
1268    %doc README.md WHATSNEW.txt
1269  %doc examples/autofs examples/LDAP examples/misc  %doc examples/autofs examples/LDAP examples/misc
1270  %doc examples/printer-accounting examples/printing  %doc examples/printer-accounting examples/printing
1271  %doc packaging/README.downgrade  %doc packaging/README.downgrade
1272  %{_bindir}/smbstatus  %{_bindir}/smbstatus
1273  %{_bindir}/eventlogadm  %{_sbindir}/eventlogadm
1274  %{_sbindir}/nmbd  %{_sbindir}/nmbd
1275  %{_sbindir}/smbd  %{_sbindir}/smbd
1276    %if %with_dc
1277    # This is only used by vfs_dfs_samba4
1278    %{_libdir}/samba/libdfs-server-ad-samba4.so
1279    %endif
1280  %dir %{_libdir}/samba/auth  %dir %{_libdir}/samba/auth
1281  %{_libdir}/samba/auth/script.so  %{_libdir}/samba/auth/script.so
1282  %{_libdir}/samba/auth/unix.so  %{_libdir}/samba/auth/unix.so
 %{_libdir}/samba/auth/wbc.so  
1283  %dir %{_libdir}/samba/vfs  %dir %{_libdir}/samba/vfs
1284  %{_libdir}/samba/vfs/acl_tdb.so  %{_libdir}/samba/vfs/acl_tdb.so
1285  %{_libdir}/samba/vfs/acl_xattr.so  %{_libdir}/samba/vfs/acl_xattr.so
1286  %{_libdir}/samba/vfs/aio_fork.so  %{_libdir}/samba/vfs/aio_fork.so
 %{_libdir}/samba/vfs/aio_linux.so  
 %{_libdir}/samba/vfs/aio_posix.so  
1287  %{_libdir}/samba/vfs/aio_pthread.so  %{_libdir}/samba/vfs/aio_pthread.so
1288  %{_libdir}/samba/vfs/audit.so  %{_libdir}/samba/vfs/audit.so
1289  %{_libdir}/samba/vfs/btrfs.so  %{_libdir}/samba/vfs/btrfs.so
# Line 1054  rm -rf %{buildroot} Line 1292  rm -rf %{buildroot}
1292  %{_libdir}/samba/vfs/commit.so  %{_libdir}/samba/vfs/commit.so
1293  %{_libdir}/samba/vfs/crossrename.so  %{_libdir}/samba/vfs/crossrename.so
1294  %{_libdir}/samba/vfs/default_quota.so  %{_libdir}/samba/vfs/default_quota.so
1295    %if %with_dc
1296    %{_libdir}/samba/vfs/dfs_samba4.so
1297    %endif
1298  %{_libdir}/samba/vfs/dirsort.so  %{_libdir}/samba/vfs/dirsort.so
1299  %{_libdir}/samba/vfs/expand_msdfs.so  %{_libdir}/samba/vfs/expand_msdfs.so
1300  %{_libdir}/samba/vfs/extd_audit.so  %{_libdir}/samba/vfs/extd_audit.so
# Line 1061  rm -rf %{buildroot} Line 1302  rm -rf %{buildroot}
1302  %{_libdir}/samba/vfs/fileid.so  %{_libdir}/samba/vfs/fileid.so
1303  %{_libdir}/samba/vfs/fruit.so  %{_libdir}/samba/vfs/fruit.so
1304  %{_libdir}/samba/vfs/full_audit.so  %{_libdir}/samba/vfs/full_audit.so
1305    %{_libdir}/samba/vfs/glusterfs_fuse.so
1306  %{_libdir}/samba/vfs/linux_xfs_sgid.so  %{_libdir}/samba/vfs/linux_xfs_sgid.so
1307  %{_libdir}/samba/vfs/media_harmony.so  %{_libdir}/samba/vfs/media_harmony.so
1308  %{_libdir}/samba/vfs/netatalk.so  %{_libdir}/samba/vfs/netatalk.so
1309    %{_libdir}/samba/vfs/offline.so
1310  %{_libdir}/samba/vfs/preopen.so  %{_libdir}/samba/vfs/preopen.so
1311  %{_libdir}/samba/vfs/readahead.so  %{_libdir}/samba/vfs/readahead.so
1312  %{_libdir}/samba/vfs/readonly.so  %{_libdir}/samba/vfs/readonly.so
1313  %{_libdir}/samba/vfs/recycle.so  %{_libdir}/samba/vfs/recycle.so
 %{_libdir}/samba/vfs/scannedonly.so  
1314  %{_libdir}/samba/vfs/shadow_copy.so  %{_libdir}/samba/vfs/shadow_copy.so
1315  %{_libdir}/samba/vfs/shadow_copy2.so  %{_libdir}/samba/vfs/shadow_copy2.so
1316  %{_libdir}/samba/vfs/smb_traffic_analyzer.so  %{_libdir}/samba/vfs/shell_snap.so
1317  %{_libdir}/samba/vfs/snapper.so  %{_libdir}/samba/vfs/snapper.so
1318  %{_libdir}/samba/vfs/streams_depot.so  %{_libdir}/samba/vfs/streams_depot.so
1319  %{_libdir}/samba/vfs/streams_xattr.so  %{_libdir}/samba/vfs/streams_xattr.so
1320  %{_libdir}/samba/vfs/syncops.so  %{_libdir}/samba/vfs/syncops.so
1321  %{_libdir}/samba/vfs/time_audit.so  %{_libdir}/samba/vfs/time_audit.so
1322    %{_libdir}/samba/vfs/unityed_media.so
1323    %{_libdir}/samba/vfs/virusfilter.so
1324  %{_libdir}/samba/vfs/worm.so  %{_libdir}/samba/vfs/worm.so
1325  %{_libdir}/samba/vfs/xattr_tdb.so  %{_libdir}/samba/vfs/xattr_tdb.so
1326    
# Line 1084  rm -rf %{buildroot} Line 1328  rm -rf %{buildroot}
1328  %{_unitdir}/smb.service  %{_unitdir}/smb.service
1329  %attr(1777,root,root) %dir /var/spool/samba  %attr(1777,root,root) %dir /var/spool/samba
1330  %dir %{_sysconfdir}/openldap/schema  %dir %{_sysconfdir}/openldap/schema
1331  %{_sysconfdir}/openldap/schema/samba.schema  %config %{_sysconfdir}/openldap/schema/samba.schema
1332  %{_sysconfdir}/pam.d/samba  %config(noreplace) %{_sysconfdir}/pam.d/samba
1333  %{_mandir}/man1/smbstatus.1*  %{_mandir}/man1/smbstatus.1*
1334  %{_mandir}/man8/eventlogadm.8*  %{_mandir}/man8/eventlogadm.8*
1335  %{_mandir}/man8/smbd.8*  %{_mandir}/man8/smbd.8*
1336  %{_mandir}/man8/nmbd.8*  %{_mandir}/man8/nmbd.8*
 #%{_mandir}/man8/vfs_*.8*  
1337  %{_mandir}/man8/vfs_acl_tdb.8*  %{_mandir}/man8/vfs_acl_tdb.8*
1338  %{_mandir}/man8/vfs_acl_xattr.8*  %{_mandir}/man8/vfs_acl_xattr.8*
1339  %{_mandir}/man8/vfs_aio_fork.8*  %{_mandir}/man8/vfs_aio_fork.8*
 %{_mandir}/man8/vfs_aio_linux.8*  
1340  %{_mandir}/man8/vfs_aio_pthread.8*  %{_mandir}/man8/vfs_aio_pthread.8*
1341  %{_mandir}/man8/vfs_audit.8*  %{_mandir}/man8/vfs_audit.8*
1342  %{_mandir}/man8/vfs_btrfs.8*  %{_mandir}/man8/vfs_btrfs.8*
 %{_mandir}/man8/vfs_cacheprime.8*  
1343  %{_mandir}/man8/vfs_cap.8*  %{_mandir}/man8/vfs_cap.8*
1344  %{_mandir}/man8/vfs_catia.8*  %{_mandir}/man8/vfs_catia.8*
1345  %{_mandir}/man8/vfs_commit.8*  %{_mandir}/man8/vfs_commit.8*
# Line 1110  rm -rf %{buildroot} Line 1351  rm -rf %{buildroot}
1351  %{_mandir}/man8/vfs_fileid.8*  %{_mandir}/man8/vfs_fileid.8*
1352  %{_mandir}/man8/vfs_fruit.8*  %{_mandir}/man8/vfs_fruit.8*
1353  %{_mandir}/man8/vfs_full_audit.8*  %{_mandir}/man8/vfs_full_audit.8*
1354  %{_mandir}/man8/vfs_gpfs.8*  %{_mandir}/man8/vfs_glusterfs_fuse.8*
1355  %{_mandir}/man8/vfs_linux_xfs_sgid.8*  %{_mandir}/man8/vfs_linux_xfs_sgid.8*
1356  %{_mandir}/man8/vfs_media_harmony.8*  %{_mandir}/man8/vfs_media_harmony.8*
1357  %{_mandir}/man8/vfs_netatalk.8*  %{_mandir}/man8/vfs_netatalk.8*
1358  %{_mandir}/man8/vfs_notify_fam.8*  %{_mandir}/man8/vfs_offline.8*
 %{_mandir}/man8/vfs_prealloc.8*  
1359  %{_mandir}/man8/vfs_preopen.8*  %{_mandir}/man8/vfs_preopen.8*
1360  %{_mandir}/man8/vfs_readahead.8*  %{_mandir}/man8/vfs_readahead.8*
1361  %{_mandir}/man8/vfs_readonly.8*  %{_mandir}/man8/vfs_readonly.8*
1362  %{_mandir}/man8/vfs_recycle.8*  %{_mandir}/man8/vfs_recycle.8*
 %{_mandir}/man8/vfs_scannedonly.8*  
1363  %{_mandir}/man8/vfs_shadow_copy.8*  %{_mandir}/man8/vfs_shadow_copy.8*
1364  %{_mandir}/man8/vfs_shadow_copy2.8*  %{_mandir}/man8/vfs_shadow_copy2.8*
1365  %{_mandir}/man8/vfs_smb_traffic_analyzer.8*  %{_mandir}/man8/vfs_shell_snap.8*
1366  %{_mandir}/man8/vfs_snapper.8*  %{_mandir}/man8/vfs_snapper.8*
1367  %{_mandir}/man8/vfs_streams_depot.8*  %{_mandir}/man8/vfs_streams_depot.8*
1368  %{_mandir}/man8/vfs_streams_xattr.8*  %{_mandir}/man8/vfs_streams_xattr.8*
1369  %{_mandir}/man8/vfs_syncops.8*  %{_mandir}/man8/vfs_syncops.8*
1370  %{_mandir}/man8/vfs_time_audit.8*  %{_mandir}/man8/vfs_time_audit.8*
1371  %{_mandir}/man8/vfs_tsmsm.8*  %{_mandir}/man8/vfs_unityed_media.8*
1372    %{_mandir}/man8/vfs_virusfilter.8*
1373  %{_mandir}/man8/vfs_worm.8*  %{_mandir}/man8/vfs_worm.8*
1374  %{_mandir}/man8/vfs_xattr_tdb.8*  %{_mandir}/man8/vfs_xattr_tdb.8*
1375    
# Line 1137  rm -rf %{buildroot} Line 1377  rm -rf %{buildroot}
1377  %exclude %{_mandir}/man8/vfs_glusterfs.8*  %exclude %{_mandir}/man8/vfs_glusterfs.8*
1378  %endif  %endif
1379    
1380  %if ! %{with_vfs_cephfs}  %attr(775,root,printadmin) %dir /var/lib/samba/drivers
 %exclude %{_mandir}/man8/vfs_ceph.8*  
 %endif  
1381    
1382  ### CLIENT  ### CLIENT
1383  %files client  %files client
1384  %defattr(-,root,root)  %defattr(-,root,root)
1385  %{_bindir}/cifsdd  %{_bindir}/cifsdd
1386  %{_bindir}/dbwrap_tool  %{_bindir}/dbwrap_tool
1387    %{_bindir}/findsmb
1388    %{_bindir}/mvxattr
1389  %{_bindir}/nmblookup  %{_bindir}/nmblookup
1390  %{_bindir}/oLschema2ldif  %{_bindir}/oLschema2ldif
1391  %{_bindir}/regdiff  %{_bindir}/regdiff
# Line 1159  rm -rf %{buildroot} Line 1399  rm -rf %{buildroot}
1399  %{_bindir}/smbclient  %{_bindir}/smbclient
1400  %{_bindir}/smbcquotas  %{_bindir}/smbcquotas
1401  %{_bindir}/smbget  %{_bindir}/smbget
 #%{_bindir}/smbiconv  
1402  %{_bindir}/smbprint  %{_bindir}/smbprint
1403  %{_bindir}/smbspool  %{_bindir}/smbspool
 %{_bindir}/smbta-util  
1404  %{_bindir}/smbtar  %{_bindir}/smbtar
1405  %{_bindir}/smbtree  %{_bindir}/smbtree
1406    %dir %{_libexecdir}/samba
1407    %ghost %{_libexecdir}/samba/cups_backend_smb
1408  %{_mandir}/man1/dbwrap_tool.1*  %{_mandir}/man1/dbwrap_tool.1*
1409  %{_mandir}/man1/nmblookup.1*  %{_mandir}/man1/nmblookup.1*
1410  %{_mandir}/man1/oLschema2ldif.1*  %{_mandir}/man1/oLschema2ldif.1*
# Line 1172  rm -rf %{buildroot} Line 1412  rm -rf %{buildroot}
1412  %{_mandir}/man1/regpatch.1*  %{_mandir}/man1/regpatch.1*
1413  %{_mandir}/man1/regshell.1*  %{_mandir}/man1/regshell.1*
1414  %{_mandir}/man1/regtree.1*  %{_mandir}/man1/regtree.1*
1415  %exclude %{_mandir}/man1/findsmb.1*  %{_mandir}/man1/findsmb.1*
1416  %{_mandir}/man1/log2pcap.1*  %{_mandir}/man1/log2pcap.1*
1417    %{_mandir}/man1/mvxattr.1*
1418  %{_mandir}/man1/rpcclient.1*  %{_mandir}/man1/rpcclient.1*
1419  %{_mandir}/man1/sharesec.1*  %{_mandir}/man1/sharesec.1*
1420  %{_mandir}/man1/smbcacls.1*  %{_mandir}/man1/smbcacls.1*
1421  %{_mandir}/man1/smbclient.1*  %{_mandir}/man1/smbclient.1*
1422  %{_mandir}/man1/smbcquotas.1*  %{_mandir}/man1/smbcquotas.1*
1423  %{_mandir}/man1/smbget.1*  %{_mandir}/man1/smbget.1*
 %{_mandir}/man3/ntdb.3*  
1424  %{_mandir}/man5/smbgetrc.5*  %{_mandir}/man5/smbgetrc.5*
1425  %{_mandir}/man1/smbtar.1*  %{_mandir}/man1/smbtar.1*
1426  %{_mandir}/man1/smbtree.1*  %{_mandir}/man1/smbtree.1*
1427  %{_mandir}/man8/ntdbbackup.8*  %{_mandir}/man7/traffic_learner.7.*
1428  %{_mandir}/man8/ntdbdump.8*  %{_mandir}/man7/traffic_replay.7.*
1429  %{_mandir}/man8/ntdbrestore.8*  %{_mandir}/man8/cifsdd.8.*
 %{_mandir}/man8/ntdbtool.8*  
1430  %{_mandir}/man8/samba-regedit.8*  %{_mandir}/man8/samba-regedit.8*
1431  %{_mandir}/man8/smbspool.8*  %{_mandir}/man8/smbspool.8*
 %{_mandir}/man8/smbta-util.8*  
   
 ## we don't build it for now  
 %if %{with_internal_ntdb}  
 %{_bindir}/ntdbbackup  
 %{_bindir}/ntdbdump  
 %{_bindir}/ntdbrestore  
 %{_bindir}/ntdbtool  
 %endif  
1432    
1433  %if %{with_internal_tdb}  %if %{with_internal_tdb}
1434  %{_bindir}/tdbbackup  %{_bindir}/tdbbackup
# Line 1218  rm -rf %{buildroot} Line 1448  rm -rf %{buildroot}
1448  %{_bindir}/ldbmodify  %{_bindir}/ldbmodify
1449  %{_bindir}/ldbrename  %{_bindir}/ldbrename
1450  %{_bindir}/ldbsearch  %{_bindir}/ldbsearch
1451  %{_libdir}/samba/libldb-cmdline.so  %{_libdir}/samba/libldb-cmdline-samba4.so
1452  %dir %{_libdir}/samba/ldb  %{_libdir}/samba/libldb-key-value-samba4.so
1453    %{_libdir}/samba/libldb-tdb-err-map-samba4.so
1454    %{_libdir}/samba/libldb-tdb-int-samba4.so
1455  %{_libdir}/samba/ldb/asq.so  %{_libdir}/samba/ldb/asq.so
1456  %{_libdir}/samba/ldb/paged_results.so  %{_libdir}/samba/ldb/ldb.so
1457  %{_libdir}/samba/ldb/paged_searches.so  %{_libdir}/samba/ldb/paged_searches.so
1458  %{_libdir}/samba/ldb/rdn_name.so  %{_libdir}/samba/ldb/rdn_name.so
1459  %{_libdir}/samba/ldb/sample.so  %{_libdir}/samba/ldb/sample.so
# Line 1240  rm -rf %{buildroot} Line 1472  rm -rf %{buildroot}
1472  %files client-libs  %files client-libs
1473  %defattr(-,root,root)  %defattr(-,root,root)
1474  %{_libdir}/libdcerpc-binding.so.*  %{_libdir}/libdcerpc-binding.so.*
 %{_libdir}/libgensec.so.*  
1475  %{_libdir}/libndr.so.*  %{_libdir}/libndr.so.*
1476  %{_libdir}/libndr-krb5pac.so.*  %{_libdir}/libndr-krb5pac.so.*
1477  %{_libdir}/libndr-nbt.so.*  %{_libdir}/libndr-nbt.so.*
1478  %{_libdir}/libndr-standard.so.*  %{_libdir}/libndr-standard.so.*
1479  %{_libdir}/libnetapi.so.*  %{_libdir}/libnetapi.so.*
1480  %{_libdir}/libsamba-credentials.so.*  %{_libdir}/libsamba-credentials.so.*
1481    %{_libdir}/libsamba-errors.so.*
1482  %{_libdir}/libsamba-passdb.so.*  %{_libdir}/libsamba-passdb.so.*
1483  %{_libdir}/libsamba-util.so.*  %{_libdir}/libsamba-util.so.*
1484  %{_libdir}/libsamba-hostconfig.so.*  %{_libdir}/libsamba-hostconfig.so.*
1485  %{_libdir}/libsamdb.so.*  %{_libdir}/libsamdb.so.*
1486  %{_libdir}/libsmbconf.so.*  %{_libdir}/libsmbconf.so.*
 %{_libdir}/libsmbclient-raw.so.*  
1487  %{_libdir}/libsmbldap.so.*  %{_libdir}/libsmbldap.so.*
1488  %{_libdir}/libtevent-util.so.*  %{_libdir}/libtevent-util.so.*
 %{_libdir}/libregistry.so.*  
1489  %{_libdir}/libdcerpc.so.*  %{_libdir}/libdcerpc.so.*
1490    
1491  %dir %{_libdir}/samba  %dir %{_libdir}/samba
1492  %{_libdir}/samba/libCHARSET3-samba4.so  %{_libdir}/samba/libCHARSET3-samba4.so
1493    %{_libdir}/samba/libMESSAGING-SEND-samba4.so
1494  %{_libdir}/samba/libaddns-samba4.so  %{_libdir}/samba/libaddns-samba4.so
1495  %{_libdir}/samba/libads-samba4.so  %{_libdir}/samba/libads-samba4.so
1496  %{_libdir}/samba/libasn1util-samba4.so  %{_libdir}/samba/libasn1util-samba4.so
 %{_libdir}/samba/libauth-sam-reply-samba4.so  
1497  %{_libdir}/samba/libauth-samba4.so  %{_libdir}/samba/libauth-samba4.so
1498  %{_libdir}/samba/libauthkrb5-samba4.so  %{_libdir}/samba/libauthkrb5-samba4.so
 %{_libdir}/samba/libccan-samba4.so  
1499  %{_libdir}/samba/libcli-cldap-samba4.so  %{_libdir}/samba/libcli-cldap-samba4.so
1500  %{_libdir}/samba/libcli-ldap-common-samba4.so  %{_libdir}/samba/libcli-ldap-common-samba4.so
1501  %{_libdir}/samba/libcli-ldap-samba4.so  %{_libdir}/samba/libcli-ldap-samba4.so
# Line 1274  rm -rf %{buildroot} Line 1503  rm -rf %{buildroot}
1503  %{_libdir}/samba/libcli-smb-common-samba4.so  %{_libdir}/samba/libcli-smb-common-samba4.so
1504  %{_libdir}/samba/libcli-spoolss-samba4.so  %{_libdir}/samba/libcli-spoolss-samba4.so
1505  %{_libdir}/samba/libcliauth-samba4.so  %{_libdir}/samba/libcliauth-samba4.so
1506    %{_libdir}/samba/libclidns-samba4.so
1507  %{_libdir}/samba/libcmdline-credentials-samba4.so  %{_libdir}/samba/libcmdline-credentials-samba4.so
1508    %{_libdir}/samba/libcommon-auth-samba4.so
1509    %{_libdir}/samba/libctdb-event-client-samba4.so
1510  %{_libdir}/samba/libdbwrap-samba4.so  %{_libdir}/samba/libdbwrap-samba4.so
1511  %{_libdir}/samba/libdcerpc-samba-samba4.so  %{_libdir}/samba/libdcerpc-samba-samba4.so
 %{_libdir}/samba/liberrors-samba4.so  
1512  %{_libdir}/samba/libevents-samba4.so  %{_libdir}/samba/libevents-samba4.so
1513  %{_libdir}/samba/libflag-mapping-samba4.so  %{_libdir}/samba/libflag-mapping-samba4.so
1514  %{_libdir}/samba/libgpo-samba4.so  %{_libdir}/samba/libgenrand-samba4.so
1515    %{_libdir}/samba/libgensec-samba4.so
1516    %{_libdir}/samba/libgpext-samba4.so
1517  %{_libdir}/samba/libgse-samba4.so  %{_libdir}/samba/libgse-samba4.so
1518  %{_libdir}/samba/libhttp-samba4.so  %{_libdir}/samba/libhttp-samba4.so
1519  %{_libdir}/samba/libinterfaces-samba4.so  %{_libdir}/samba/libinterfaces-samba4.so
1520    %{_libdir}/samba/libiov-buf-samba4.so
1521  %{_libdir}/samba/libkrb5samba-samba4.so  %{_libdir}/samba/libkrb5samba-samba4.so
1522  %{_libdir}/samba/libldbsamba-samba4.so  %{_libdir}/samba/libldbsamba-samba4.so
1523  %{_libdir}/samba/liblibcli-lsa3-samba4.so  %{_libdir}/samba/liblibcli-lsa3-samba4.so
1524  %{_libdir}/samba/liblibcli-netlogon3-samba4.so  %{_libdir}/samba/liblibcli-netlogon3-samba4.so
1525  %{_libdir}/samba/liblibsmb-samba4.so  %{_libdir}/samba/liblibsmb-samba4.so
1526    %{_libdir}/samba/libmessages-dgm-samba4.so
1527    %{_libdir}/samba/libmessages-util-samba4.so
1528    %{_libdir}/samba/libmsghdr-samba4.so
1529  %{_libdir}/samba/libmsrpc3-samba4.so  %{_libdir}/samba/libmsrpc3-samba4.so
1530  %{_libdir}/samba/libndr-samba-samba4.so  %{_libdir}/samba/libndr-samba-samba4.so
1531  %{_libdir}/samba/libndr-samba4.so  %{_libdir}/samba/libndr-samba4.so
1532  %{_libdir}/samba/libnet-keytab-samba4.so  %{_libdir}/samba/libnet-keytab-samba4.so
1533  %{_libdir}/samba/libnetif-samba4.so  %{_libdir}/samba/libnetif-samba4.so
1534  %{_libdir}/samba/libnpa-tstream-samba4.so  %{_libdir}/samba/libnpa-tstream-samba4.so
1535    %{_libdir}/samba/libposix-eadb-samba4.so
1536  %{_libdir}/samba/libprinting-migrate-samba4.so  %{_libdir}/samba/libprinting-migrate-samba4.so
1537  %{_libdir}/samba/libreplace-samba4.so  %{_libdir}/samba/libreplace-samba4.so
1538    %{_libdir}/samba/libregistry-samba4.so
1539  %{_libdir}/samba/libsamba-cluster-support-samba4.so  %{_libdir}/samba/libsamba-cluster-support-samba4.so
1540  %{_libdir}/samba/libsamba-debug-samba4.so  %{_libdir}/samba/libsamba-debug-samba4.so
1541  %{_libdir}/samba/libsamba-modules-samba4.so  %{_libdir}/samba/libsamba-modules-samba4.so
# Line 1305  rm -rf %{buildroot} Line 1544  rm -rf %{buildroot}
1544  %{_libdir}/samba/libsamba3-util-samba4.so  %{_libdir}/samba/libsamba3-util-samba4.so
1545  %{_libdir}/samba/libsamdb-common-samba4.so  %{_libdir}/samba/libsamdb-common-samba4.so
1546  %{_libdir}/samba/libsecrets3-samba4.so  %{_libdir}/samba/libsecrets3-samba4.so
1547    %{_libdir}/samba/libserver-id-db-samba4.so
1548  %{_libdir}/samba/libserver-role-samba4.so  %{_libdir}/samba/libserver-role-samba4.so
1549  %{_libdir}/samba/libsmb-transport-samba4.so  %{_libdir}/samba/libsmb-transport-samba4.so
1550    %{_libdir}/samba/libsmbclient-raw-samba4.so
1551  %{_libdir}/samba/libsmbd-base-samba4.so  %{_libdir}/samba/libsmbd-base-samba4.so
1552  %{_libdir}/samba/libsmbd-conn-samba4.so  %{_libdir}/samba/libsmbd-conn-samba4.so
1553  %{_libdir}/samba/libsmbd-shim-samba4.so  %{_libdir}/samba/libsmbd-shim-samba4.so
1554  %{_libdir}/samba/libsmbldaphelper-samba4.so  %{_libdir}/samba/libsmbldaphelper-samba4.so
1555  %{_libdir}/samba/libsmbregistry-samba4.so  %{_libdir}/samba/libsys-rw-samba4.so
1556  %{_libdir}/samba/libsocket-blocking-samba4.so  %{_libdir}/samba/libsocket-blocking-samba4.so
1557    %{_libdir}/samba/libtalloc-report-samba4.so
1558  %{_libdir}/samba/libtdb-wrap-samba4.so  %{_libdir}/samba/libtdb-wrap-samba4.so
1559    %{_libdir}/samba/libtime-basic-samba4.so
1560    %{_libdir}/samba/libtorture-samba4.so
1561  %{_libdir}/samba/libtrusts-util-samba4.so  %{_libdir}/samba/libtrusts-util-samba4.so
1562  %{_libdir}/samba/libutil-cmdline-samba4.so  %{_libdir}/samba/libutil-cmdline-samba4.so
 %{_libdir}/samba/libutil-ntdb-samba4.so  
1563  %{_libdir}/samba/libutil-reg-samba4.so  %{_libdir}/samba/libutil-reg-samba4.so
1564  %{_libdir}/samba/libutil-setid-samba4.so  %{_libdir}/samba/libutil-setid-samba4.so
1565  %{_libdir}/samba/libutil-tdb-samba4.so  %{_libdir}/samba/libutil-tdb-samba4.so
# Line 1331  rm -rf %{buildroot} Line 1574  rm -rf %{buildroot}
1574  %{_mandir}/man7/libsmbclient.7*  %{_mandir}/man7/libsmbclient.7*
1575  %endif # ! with_libsmbclient  %endif # ! with_libsmbclient
1576    
 %if %{with_internal_ntdb}  
 %{_libdir}/samba/libntdb.so.1  
 %{_libdir}/samba/libntdb.so.%{ntdb_version}  
 %endif  
   
1577  %if %{with_internal_talloc}  %if %{with_internal_talloc}
1578  %{_libdir}/samba/libtalloc.so.2  %{_libdir}/samba/libtalloc.so.2
1579  %{_libdir}/samba/libtalloc.so.%{talloc_version}  %{_libdir}/samba/libtalloc.so.%{talloc_version}
# Line 1357  rm -rf %{buildroot} Line 1595  rm -rf %{buildroot}
1595  %if %{with_internal_ldb}  %if %{with_internal_ldb}
1596  %{_libdir}/samba/libldb.so.1  %{_libdir}/samba/libldb.so.1
1597  %{_libdir}/samba/libldb.so.%{ldb_version}  %{_libdir}/samba/libldb.so.%{ldb_version}
1598    %{_libdir}/samba/libpyldb-util.so.1
1599    %{_libdir}/samba/libpyldb-util.so.%{ldb_version}
1600  %{_mandir}/man3/ldb.3.gz  %{_mandir}/man3/ldb.3.gz
1601  %endif  %endif
1602    
1603  ### COMMON  ### COMMON
1604  %files common  %files common
1605  %defattr(-,root,root)  %defattr(-,root,root)
1606  %{_prefix}/lib/tmpfiles.d/samba.conf  %{_tmpfilesdir}/samba.conf
 %{_datadir}/samba/codepages  
1607  %dir %{_sysconfdir}/logrotate.d/  %dir %{_sysconfdir}/logrotate.d/
1608  %config(noreplace) %{_sysconfdir}/logrotate.d/samba  %config(noreplace) %{_sysconfdir}/logrotate.d/samba
1609  %attr(0700,root,root) %dir /var/log/samba  %attr(0700,root,root) %dir /var/log/samba
1610  %attr(0700,root,root) %dir /var/log/samba/old  %attr(0700,root,root) %dir /var/log/samba/old
1611  %attr(0755,root,root) %dir /var/lib/samba  %ghost %dir /run/samba
1612  %ghost %dir /var/run/samba  %ghost %dir /run/winbindd
1613  %ghost %dir /var/run/winbindd  %dir /var/lib/samba
1614  %attr(700,root,root) %dir /var/lib/samba/private  %attr(700,root,root) %dir /var/lib/samba/private
1615    %dir /var/lib/samba/lock
1616  %attr(755,root,root) %dir %{_sysconfdir}/samba  %attr(755,root,root) %dir %{_sysconfdir}/samba
1617  %config(noreplace) %{_sysconfdir}/samba/smb.conf  %config(noreplace) %{_sysconfdir}/samba/smb.conf
1618    %{_sysconfdir}/samba/smb.conf.example
1619  %config(noreplace) %{_sysconfdir}/samba/lmhosts  %config(noreplace) %{_sysconfdir}/samba/lmhosts
1620  %config(noreplace) %{_sysconfdir}/sysconfig/samba  %config(noreplace) %{_sysconfdir}/sysconfig/samba
1621  %{_mandir}/man5/lmhosts.5*  %{_mandir}/man5/lmhosts.5*
# Line 1386  rm -rf %{buildroot} Line 1627  rm -rf %{buildroot}
1627  %files common-libs  %files common-libs
1628  %defattr(-,root,root)  %defattr(-,root,root)
1629  # common libraries  # common libraries
1630    %{_libdir}/samba/libcluster-samba4.so
1631    %{_libdir}/samba/libcmdline-contexts-samba4.so
1632    %{_libdir}/samba/libpopt-samba3-cmdline-samba4.so
1633  %{_libdir}/samba/libpopt-samba3-samba4.so  %{_libdir}/samba/libpopt-samba3-samba4.so
1634    %if %{with_intel_aes_accel}
1635    %{_libdir}/samba/libaesni-intel-samba4.so
1636    %endif
1637    
1638    %dir %{_libdir}/samba/ldb
1639    
1640  %dir %{_libdir}/samba/pdb  %dir %{_libdir}/samba/pdb
1641  %{_libdir}/samba/pdb/ldapsam.so  %{_libdir}/samba/pdb/ldapsam.so
1642  %{_libdir}/samba/pdb/smbpasswd.so  %{_libdir}/samba/pdb/smbpasswd.so
1643  %{_libdir}/samba/pdb/tdbsam.so  %{_libdir}/samba/pdb/tdbsam.so
 %{_libdir}/samba/pdb/wbc_sam.so  
   
 %if %with_pam_smbpass  
 %{_libdir}/security/pam_smbpass.so  
 %endif  
1644    
1645  %files common-tools  %files common-tools
1646  %defattr(-,root,root)  %defattr(-,root,root)
# Line 1418  rm -rf %{buildroot} Line 1662  rm -rf %{buildroot}
1662  %defattr(-,root,root)  %defattr(-,root,root)
1663    
1664  %if %with_dc  %if %with_dc
1665    %{_unitdir}/samba.service
1666  %{_bindir}/samba-tool  %{_bindir}/samba-tool
1667  %{_sbindir}/samba  %{_sbindir}/samba
1668  %{_sbindir}/samba_kcc  %{_sbindir}/samba_kcc
1669  %{_sbindir}/samba_dnsupdate  %{_sbindir}/samba_dnsupdate
1670    %{_sbindir}/samba_gpupdate
1671  %{_sbindir}/samba_spnupdate  %{_sbindir}/samba_spnupdate
1672  %{_sbindir}/samba_upgradedns  %{_sbindir}/samba_upgradedns
1673  %{_libdir}/mit_samba.so  
1674    %{_libdir}/krb5/plugins/kdb/samba.so
1675    
1676  %{_libdir}/samba/auth/samba4.so  %{_libdir}/samba/auth/samba4.so
 %{_libdir}/samba/bind9/dlz_bind9.so  
 %{_libdir}/samba/bind9/dlz_bind9_10.so  
 %{_libdir}/samba/libheimntlm-samba4.so.1  
 %{_libdir}/samba/libheimntlm-samba4.so.1.0.1  
 %{_libdir}/samba/libkdc-samba4.so.2  
 %{_libdir}/samba/libkdc-samba4.so.2.0.0  
1677  %{_libdir}/samba/libpac-samba4.so  %{_libdir}/samba/libpac-samba4.so
1678  %dir %{_libdir}/samba/gensec  %dir %{_libdir}/samba/gensec
1679  %{_libdir}/samba/gensec/krb5.so  %{_libdir}/samba/gensec/krb5.so
1680  %{_libdir}/samba/ldb/acl.so  %{_libdir}/samba/ldb/acl.so
1681  %{_libdir}/samba/ldb/aclread.so  %{_libdir}/samba/ldb/aclread.so
1682  %{_libdir}/samba/ldb/anr.so  %{_libdir}/samba/ldb/anr.so
1683    %{_libdir}/samba/ldb/audit_log.so
1684  %{_libdir}/samba/ldb/descriptor.so  %{_libdir}/samba/ldb/descriptor.so
1685  %{_libdir}/samba/ldb/dirsync.so  %{_libdir}/samba/ldb/dirsync.so
1686    %{_libdir}/samba/ldb/dns_notify.so
1687    %{_libdir}/samba/ldb/dsdb_notification.so
1688    %{_libdir}/samba/ldb/encrypted_secrets.so
1689  %{_libdir}/samba/ldb/extended_dn_in.so  %{_libdir}/samba/ldb/extended_dn_in.so
1690  %{_libdir}/samba/ldb/extended_dn_out.so  %{_libdir}/samba/ldb/extended_dn_out.so
1691  %{_libdir}/samba/ldb/extended_dn_store.so  %{_libdir}/samba/ldb/extended_dn_store.so
1692    %{_libdir}/samba/ldb/group_audit_log.so
1693  %{_libdir}/samba/ldb/ildap.so  %{_libdir}/samba/ldb/ildap.so
1694  %{_libdir}/samba/ldb/instancetype.so  %{_libdir}/samba/ldb/instancetype.so
1695  %{_libdir}/samba/ldb/lazy_commit.so  %{_libdir}/samba/ldb/lazy_commit.so
# Line 1473  rm -rf %{buildroot} Line 1720  rm -rf %{buildroot}
1720  %{_libdir}/samba/ldb/simple_ldap_map.so  %{_libdir}/samba/ldb/simple_ldap_map.so
1721  %{_libdir}/samba/ldb/subtree_delete.so  %{_libdir}/samba/ldb/subtree_delete.so
1722  %{_libdir}/samba/ldb/subtree_rename.so  %{_libdir}/samba/ldb/subtree_rename.so
1723    %{_libdir}/samba/ldb/tombstone_reanimate.so
1724    %{_libdir}/samba/ldb/unique_object_sids.so
1725  %{_libdir}/samba/ldb/update_keytab.so  %{_libdir}/samba/ldb/update_keytab.so
1726    %{_libdir}/samba/ldb/vlv.so
1727  %{_libdir}/samba/ldb/wins_ldb.so  %{_libdir}/samba/ldb/wins_ldb.so
1728  %{_libdir}/samba/vfs/posix_eadb.so  %{_libdir}/samba/vfs/posix_eadb.so
1729  %dir /var/lib/samba/sysvol  %dir /var/lib/samba/sysvol
1730  %{_datadir}/samba/setup  %{_datadir}/samba/setup
1731  %{_mandir}/man8/samba.8*  %{_mandir}/man8/samba.8*
1732  %{_mandir}/man8/samba-tool.8*  %{_mandir}/man8/samba-tool.8*
1733  %{_unitdir}/samba.service  %{_mandir}/man8/samba_gpupdate.8*
1734  %else # with_dc  %else # with_dc
1735  %doc packaging/README.dc  %doc packaging/README.dc
1736  %endif # with_dc  %endif # with_dc
# Line 1489  rm -rf %{buildroot} Line 1739  rm -rf %{buildroot}
1739  %files dc-libs  %files dc-libs
1740  %defattr(-,root,root)  %defattr(-,root,root)
1741  %if %with_dc  %if %with_dc
1742    %{_libdir}/samba/libdb-glue-samba4.so
1743  %{_libdir}/samba/libprocess-model-samba4.so  %{_libdir}/samba/libprocess-model-samba4.so
1744  %{_libdir}/samba/libservice-samba4.so  %{_libdir}/samba/libservice-samba4.so
1745  %dir %{_libdir}/samba/process_model  %dir %{_libdir}/samba/process_model
 %{_libdir}/samba/process_model/onefork.so  
1746  %{_libdir}/samba/process_model/prefork.so  %{_libdir}/samba/process_model/prefork.so
1747  %{_libdir}/samba/process_model/standard.so  %{_libdir}/samba/process_model/standard.so
1748  %dir %{_libdir}/samba/service  %dir %{_libdir}/samba/service
# Line 1507  rm -rf %{buildroot} Line 1757  rm -rf %{buildroot}
1757  %{_libdir}/samba/service/nbtd.so  %{_libdir}/samba/service/nbtd.so
1758  %{_libdir}/samba/service/ntp_signd.so  %{_libdir}/samba/service/ntp_signd.so
1759  %{_libdir}/samba/service/s3fs.so  %{_libdir}/samba/service/s3fs.so
 %{_libdir}/samba/service/smb.so  
1760  %{_libdir}/samba/service/web.so  %{_libdir}/samba/service/web.so
 %{_libdir}/samba/service/winbind.so  
1761  %{_libdir}/samba/service/winbindd.so  %{_libdir}/samba/service/winbindd.so
1762  %{_libdir}/samba/service/wrepl.so  %{_libdir}/samba/service/wrepl.so
1763  %{_libdir}/libdcerpc-server.so.*  %{_libdir}/libdcerpc-server.so.*
 %{_libdir}/samba/libdfs-server-ad-samba4.so  
1764  %{_libdir}/samba/libdnsserver-common-samba4.so  %{_libdir}/samba/libdnsserver-common-samba4.so
1765  %{_libdir}/samba/libdsdb-module-samba4.so  %{_libdir}/samba/libdsdb-module-samba4.so
1766  %{_libdir}/samba/libntvfs-samba4.so  %{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so
1767  %{_libdir}/samba/libposix-eadb-samba4.so  %{_libdir}/samba/libscavenge-dns-records-samba4.so
 %{_libdir}/samba/bind9/dlz_bind9_9.so  
1768  %else  %else
1769  %doc packaging/README.dc-libs  %doc packaging/README.dc-libs
1770  %endif # with_dc  %endif # with_dc
1771    
1772    ### DC-BIND
1773    %if %with_dc
1774    %files dc-bind-dlz
1775    %attr(770,root,named) %dir /var/lib/samba/bind-dns
1776    %dir %{_libdir}/samba/bind9
1777    %{_libdir}/samba/bind9/dlz_bind9.so
1778    %{_libdir}/samba/bind9/dlz_bind9_9.so
1779    %{_libdir}/samba/bind9/dlz_bind9_10.so
1780    %{_libdir}/samba/bind9/dlz_bind9_11.so
1781    %endif # with_dc
1782    
1783  ### DEVEL  ### DEVEL
1784  %files devel  %files devel
1785  %defattr(-,root,root)  %defattr(-,root,root)
# Line 1531  rm -rf %{buildroot} Line 1788  rm -rf %{buildroot}
1788  %{_includedir}/samba-4.0/core/error.h  %{_includedir}/samba-4.0/core/error.h
1789  %{_includedir}/samba-4.0/core/hresult.h  %{_includedir}/samba-4.0/core/hresult.h
1790  %{_includedir}/samba-4.0/core/ntstatus.h  %{_includedir}/samba-4.0/core/ntstatus.h
1791    %{_includedir}/samba-4.0/core/ntstatus_gen.h
1792  %{_includedir}/samba-4.0/core/werror.h  %{_includedir}/samba-4.0/core/werror.h
1793    %{_includedir}/samba-4.0/core/werror_gen.h
1794  %{_includedir}/samba-4.0/credentials.h  %{_includedir}/samba-4.0/credentials.h
1795  %{_includedir}/samba-4.0/dcerpc.h  %{_includedir}/samba-4.0/dcerpc.h
 %{_includedir}/samba-4.0/dlinklist.h  
1796  %{_includedir}/samba-4.0/domain_credentials.h  %{_includedir}/samba-4.0/domain_credentials.h
1797  %{_includedir}/samba-4.0/gen_ndr/atsvc.h  %{_includedir}/samba-4.0/gen_ndr/atsvc.h
1798  %{_includedir}/samba-4.0/gen_ndr/auth.h  %{_includedir}/samba-4.0/gen_ndr/auth.h
1799  %{_includedir}/samba-4.0/gen_ndr/dcerpc.h  %{_includedir}/samba-4.0/gen_ndr/dcerpc.h
 %{_includedir}/samba-4.0/gen_ndr/epmapper.h  
1800  %{_includedir}/samba-4.0/gen_ndr/krb5pac.h  %{_includedir}/samba-4.0/gen_ndr/krb5pac.h
1801  %{_includedir}/samba-4.0/gen_ndr/lsa.h  %{_includedir}/samba-4.0/gen_ndr/lsa.h
 %{_includedir}/samba-4.0/gen_ndr/mgmt.h  
1802  %{_includedir}/samba-4.0/gen_ndr/misc.h  %{_includedir}/samba-4.0/gen_ndr/misc.h
1803  %{_includedir}/samba-4.0/gen_ndr/nbt.h  %{_includedir}/samba-4.0/gen_ndr/nbt.h
1804  %{_includedir}/samba-4.0/gen_ndr/drsblobs.h  %{_includedir}/samba-4.0/gen_ndr/drsblobs.h
# Line 1550  rm -rf %{buildroot} Line 1806  rm -rf %{buildroot}
1806  %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h  %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h
1807  %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h  %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h
1808  %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h  %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h
 %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc_c.h  
1809  %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h  %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h
 %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper.h  
 %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper_c.h  
1810  %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h  %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h
 %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt.h  
 %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt_c.h  
1811  %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h  %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h
1812  %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h  %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h
1813  %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h  %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h
# Line 1568  rm -rf %{buildroot} Line 1819  rm -rf %{buildroot}
1819  %{_includedir}/samba-4.0/gen_ndr/security.h  %{_includedir}/samba-4.0/gen_ndr/security.h
1820  %{_includedir}/samba-4.0/gen_ndr/server_id.h  %{_includedir}/samba-4.0/gen_ndr/server_id.h
1821  %{_includedir}/samba-4.0/gen_ndr/svcctl.h  %{_includedir}/samba-4.0/gen_ndr/svcctl.h
 %{_includedir}/samba-4.0/gensec.h  
 %{_includedir}/samba-4.0/ldap-util.h  
 %{_includedir}/samba-4.0/ldap_errors.h  
 %{_includedir}/samba-4.0/ldap_message.h  
 %{_includedir}/samba-4.0/ldap_ndr.h  
1822  %{_includedir}/samba-4.0/ldb_wrap.h  %{_includedir}/samba-4.0/ldb_wrap.h
1823  %{_includedir}/samba-4.0/lookup_sid.h  %{_includedir}/samba-4.0/lookup_sid.h
1824  %{_includedir}/samba-4.0/machine_sid.h  %{_includedir}/samba-4.0/machine_sid.h
# Line 1581  rm -rf %{buildroot} Line 1827  rm -rf %{buildroot}
1827  %{_includedir}/samba-4.0/ndr/ndr_dcerpc.h  %{_includedir}/samba-4.0/ndr/ndr_dcerpc.h
1828  %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h  %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h
1829  %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h  %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h
1830    %{_includedir}/samba-4.0/ndr/ndr_krb5pac.h
1831  %{_includedir}/samba-4.0/ndr/ndr_svcctl.h  %{_includedir}/samba-4.0/ndr/ndr_svcctl.h
1832  %{_includedir}/samba-4.0/ndr/ndr_nbt.h  %{_includedir}/samba-4.0/ndr/ndr_nbt.h
1833  %{_includedir}/samba-4.0/netapi.h  %{_includedir}/samba-4.0/netapi.h
1834  %{_includedir}/samba-4.0/param.h  %{_includedir}/samba-4.0/param.h
1835  %{_includedir}/samba-4.0/passdb.h  %{_includedir}/samba-4.0/passdb.h
1836  %{_includedir}/samba-4.0/policy.h  %{_includedir}/samba-4.0/policy.h
 %{_includedir}/samba-4.0/read_smb.h  
 %{_includedir}/samba-4.0/registry.h  
 %{_includedir}/samba-4.0/roles.h  
1837  %{_includedir}/samba-4.0/rpc_common.h  %{_includedir}/samba-4.0/rpc_common.h
1838  %{_includedir}/samba-4.0/samba/session.h  %{_includedir}/samba-4.0/samba/session.h
1839  %{_includedir}/samba-4.0/samba/version.h  %{_includedir}/samba-4.0/samba/version.h
1840  %{_includedir}/samba-4.0/share.h  %{_includedir}/samba-4.0/share.h
 %{_includedir}/samba-4.0/smb2.h  
 %{_includedir}/samba-4.0/smb2_constants.h  
 %{_includedir}/samba-4.0/smb2_create_blob.h  
 %{_includedir}/samba-4.0/smb2_lease.h  
1841  %{_includedir}/samba-4.0/smb2_lease_struct.h  %{_includedir}/samba-4.0/smb2_lease_struct.h
 %{_includedir}/samba-4.0/smb2_signing.h  
 %{_includedir}/samba-4.0/smb_cli.h  
 %{_includedir}/samba-4.0/smb_cliraw.h  
 %{_includedir}/samba-4.0/smb_common.h  
 %{_includedir}/samba-4.0/smb_composite.h  
1842  %{_includedir}/samba-4.0/smbconf.h  %{_includedir}/samba-4.0/smbconf.h
 %{_includedir}/samba-4.0/smb_constants.h  
1843  %{_includedir}/samba-4.0/smb_ldap.h  %{_includedir}/samba-4.0/smb_ldap.h
1844  %{_includedir}/samba-4.0/smbldap.h  %{_includedir}/samba-4.0/smbldap.h
 %{_includedir}/samba-4.0/smb_raw.h  
 %{_includedir}/samba-4.0/smb_raw_interfaces.h  
 %{_includedir}/samba-4.0/smb_raw_signing.h  
 %{_includedir}/samba-4.0/smb_raw_trans2.h  
 %{_includedir}/samba-4.0/smb_request.h  
 %{_includedir}/samba-4.0/smb_seal.h  
 %{_includedir}/samba-4.0/smb_signing.h  
 %{_includedir}/samba-4.0/smb_unix_ext.h  
 %{_includedir}/samba-4.0/smb_util.h  
1845  %{_includedir}/samba-4.0/tdr.h  %{_includedir}/samba-4.0/tdr.h
1846  %{_includedir}/samba-4.0/tsocket.h  %{_includedir}/samba-4.0/tsocket.h
1847  %{_includedir}/samba-4.0/tsocket_internal.h  %{_includedir}/samba-4.0/tsocket_internal.h
 %{_includedir}/samba-4.0/tstream_smbXcli_np.h  
 %{_includedir}/samba-4.0/samba_util.h  
1848  %dir %{_includedir}/samba-4.0/util  %dir %{_includedir}/samba-4.0/util
1849  %{_includedir}/samba-4.0/util/attr.h  %{_includedir}/samba-4.0/util/attr.h
1850  %{_includedir}/samba-4.0/util/blocking.h  %{_includedir}/samba-4.0/util/blocking.h
1851  %{_includedir}/samba-4.0/util/byteorder.h  %{_includedir}/samba-4.0/util/byteorder.h
1852  %{_includedir}/samba-4.0/util/data_blob.h  %{_includedir}/samba-4.0/util/data_blob.h
1853  %{_includedir}/samba-4.0/util/debug.h  %{_includedir}/samba-4.0/util/debug.h
1854    %{_includedir}/samba-4.0/util/discard.h
1855  %{_includedir}/samba-4.0/util/fault.h  %{_includedir}/samba-4.0/util/fault.h
1856    %{_includedir}/samba-4.0/util/genrand.h
1857  %{_includedir}/samba-4.0/util/idtree.h  %{_includedir}/samba-4.0/util/idtree.h
1858  %{_includedir}/samba-4.0/util/idtree_random.h  %{_includedir}/samba-4.0/util/idtree_random.h
 %{_includedir}/samba-4.0/util/memory.h  
 %{_includedir}/samba-4.0/util/safe_string.h  
1859  %{_includedir}/samba-4.0/util/signal.h  %{_includedir}/samba-4.0/util/signal.h
1860  %{_includedir}/samba-4.0/util/string_wrappers.h  %{_includedir}/samba-4.0/util/string_wrappers.h
1861  %{_includedir}/samba-4.0/util/substitute.h  %{_includedir}/samba-4.0/util/substitute.h
 %{_includedir}/samba-4.0/util/talloc_stack.h  
1862  %{_includedir}/samba-4.0/util/tevent_ntstatus.h  %{_includedir}/samba-4.0/util/tevent_ntstatus.h
1863  %{_includedir}/samba-4.0/util/tevent_unix.h  %{_includedir}/samba-4.0/util/tevent_unix.h
1864  %{_includedir}/samba-4.0/util/tevent_werror.h  %{_includedir}/samba-4.0/util/tevent_werror.h
1865  %{_includedir}/samba-4.0/util/time.h  %{_includedir}/samba-4.0/util/time.h
1866  %{_includedir}/samba-4.0/util/xfile.h  %{_includedir}/samba-4.0/util/tfork.h
1867  %{_includedir}/samba-4.0/util_ldb.h  %{_includedir}/samba-4.0/util_ldb.h
 %{_libdir}/libdcerpc-atsvc.so  
1868  %{_libdir}/libdcerpc-binding.so  %{_libdir}/libdcerpc-binding.so
1869  %{_libdir}/libdcerpc-samr.so  %{_libdir}/libdcerpc-samr.so
1870  %{_libdir}/libdcerpc.so  %{_libdir}/libdcerpc.so
 %{_libdir}/libgensec.so  
1871  %{_libdir}/libndr-krb5pac.so  %{_libdir}/libndr-krb5pac.so
1872  %{_libdir}/libndr-nbt.so  %{_libdir}/libndr-nbt.so
1873  %{_libdir}/libndr-standard.so  %{_libdir}/libndr-standard.so
1874  %{_libdir}/libndr.so  %{_libdir}/libndr.so
1875  %{_libdir}/libnetapi.so  %{_libdir}/libnetapi.so
 %{_libdir}/libregistry.so  
1876  %{_libdir}/libsamba-credentials.so  %{_libdir}/libsamba-credentials.so
1877    %{_libdir}/libsamba-errors.so
1878  %{_libdir}/libsamba-hostconfig.so  %{_libdir}/libsamba-hostconfig.so
 %{_libdir}/libsamba-policy.so  
1879  %{_libdir}/libsamba-util.so  %{_libdir}/libsamba-util.so
1880  %{_libdir}/libsamdb.so  %{_libdir}/libsamdb.so
 %{_libdir}/libsmbclient-raw.so  
1881  %{_libdir}/libsmbconf.so  %{_libdir}/libsmbconf.so
1882  %{_libdir}/libtevent-util.so  %{_libdir}/libtevent-util.so
1883  %{_libdir}/pkgconfig/dcerpc.pc  %{_libdir}/pkgconfig/dcerpc.pc
 %{_libdir}/pkgconfig/dcerpc_atsvc.pc  
1884  %{_libdir}/pkgconfig/dcerpc_samr.pc  %{_libdir}/pkgconfig/dcerpc_samr.pc
 %{_libdir}/pkgconfig/gensec.pc  
1885  %{_libdir}/pkgconfig/ndr.pc  %{_libdir}/pkgconfig/ndr.pc
1886  %{_libdir}/pkgconfig/ndr_krb5pac.pc  %{_libdir}/pkgconfig/ndr_krb5pac.pc
1887  %{_libdir}/pkgconfig/ndr_nbt.pc  %{_libdir}/pkgconfig/ndr_nbt.pc
1888  %{_libdir}/pkgconfig/ndr_standard.pc  %{_libdir}/pkgconfig/ndr_standard.pc
1889  %{_libdir}/pkgconfig/netapi.pc  %{_libdir}/pkgconfig/netapi.pc
 %{_libdir}/pkgconfig/registry.pc  
1890  %{_libdir}/pkgconfig/samba-credentials.pc  %{_libdir}/pkgconfig/samba-credentials.pc
1891  %{_libdir}/pkgconfig/samba-hostconfig.pc  %{_libdir}/pkgconfig/samba-hostconfig.pc
 %{_libdir}/pkgconfig/samba-policy.pc  
1892  %{_libdir}/pkgconfig/samba-util.pc  %{_libdir}/pkgconfig/samba-util.pc
1893  %{_libdir}/pkgconfig/samdb.pc  %{_libdir}/pkgconfig/samdb.pc
 %{_libdir}/pkgconfig/smbclient-raw.pc  
1894  %{_libdir}/libsamba-passdb.so  %{_libdir}/libsamba-passdb.so
1895  %{_libdir}/libsmbldap.so  %{_libdir}/libsmbldap.so
1896    
# Line 1685  rm -rf %{buildroot} Line 1898  rm -rf %{buildroot}
1898  %{_includedir}/samba-4.0/dcerpc_server.h  %{_includedir}/samba-4.0/dcerpc_server.h
1899  %{_libdir}/libdcerpc-server.so  %{_libdir}/libdcerpc-server.so
1900  %{_libdir}/pkgconfig/dcerpc_server.pc  %{_libdir}/pkgconfig/dcerpc_server.pc
 %endif  
1901    
1902  %if %with_internal_talloc  %{_libdir}/libsamba-policy.so
1903  %{_includedir}/samba-4.0/pytalloc.h  %{_libdir}/pkgconfig/samba-policy.pc
1904  %endif  %endif
1905    
1906  %if ! %with_libsmbclient  %if ! %with_libsmbclient
# Line 1713  rm -rf %{buildroot} Line 1925  rm -rf %{buildroot}
1925  %{_mandir}/man8/vfs_glusterfs.8*  %{_mandir}/man8/vfs_glusterfs.8*
1926  %endif  %endif
1927    
1928    ### KRB5-PRINTING
1929    %files krb5-printing
1930    %defattr(-,root,root)
1931    %attr(0700,root,root) %{_libexecdir}/samba/smbspool_krb5_wrapper
1932    %{_mandir}/man8/smbspool_krb5_wrapper.8*
1933    
1934  ### LIBS  ### LIBS
1935  %files libs  %files libs
1936  %defattr(-,root,root)  %defattr(-,root,root)
 %{_libdir}/libdcerpc-atsvc.so.*  
1937  %{_libdir}/libdcerpc-samr.so.*  %{_libdir}/libdcerpc-samr.so.*
 %{_libdir}/libsamba-policy.so.*  
1938    
1939  # libraries needed by the public libraries  # libraries needed by the public libraries
1940  %{_libdir}/samba/libMESSAGING-samba4.so  %{_libdir}/samba/libMESSAGING-samba4.so
1941  %{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so  %{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
1942  %{_libdir}/samba/libauth4-samba4.so  %{_libdir}/samba/libauth4-samba4.so
1943  %{_libdir}/samba/libauth-unix-token-samba4.so  %{_libdir}/samba/libauth-unix-token-samba4.so
 %{_libdir}/samba/libcluster-samba4.so  
1944  %{_libdir}/samba/libdcerpc-samba4.so  %{_libdir}/samba/libdcerpc-samba4.so
1945  %{_libdir}/samba/libnon-posix-acls-samba4.so  %{_libdir}/samba/libnon-posix-acls-samba4.so
1946  %{_libdir}/samba/libsamba-net-samba4.so  %{_libdir}/samba/libsamba-net-samba4.so
1947  %{_libdir}/samba/libsamba-python-samba4.so  %{_libdir}/samba/libsamba-python-samba4.so
1948  %{_libdir}/samba/libshares-samba4.so  %{_libdir}/samba/libshares-samba4.so
1949  %{_libdir}/samba/libsmbpasswdparser-samba4.so  %{_libdir}/samba/libsmbpasswdparser-samba4.so
 %{_libdir}/samba/libtdb-compat-samba4.so  
1950  %{_libdir}/samba/libxattr-tdb-samba4.so  %{_libdir}/samba/libxattr-tdb-samba4.so
1951    
 %if %with_dc  
 %{_libdir}/samba/libdb-glue-samba4.so  
 %{_libdir}/samba/libHDB-SAMBA4-samba4.so  
 %{_libdir}/samba/libasn1-samba4.so.8  
 %{_libdir}/samba/libasn1-samba4.so.8.0.0  
 %{_libdir}/samba/libgssapi-samba4.so.2  
 %{_libdir}/samba/libgssapi-samba4.so.2.0.0  
 %{_libdir}/samba/libhcrypto-samba4.so.5  
 %{_libdir}/samba/libhcrypto-samba4.so.5.0.1  
 %{_libdir}/samba/libhdb-samba4.so.11  
 %{_libdir}/samba/libhdb-samba4.so.11.0.2  
 %{_libdir}/samba/libheimbase-samba4.so.1  
 %{_libdir}/samba/libheimbase-samba4.so.1.0.0  
 %{_libdir}/samba/libhx509-samba4.so.5  
 %{_libdir}/samba/libhx509-samba4.so.5.0.0  
 %{_libdir}/samba/libkrb5-samba4.so.26  
 %{_libdir}/samba/libkrb5-samba4.so.26.0.0  
 %{_libdir}/samba/libroken-samba4.so.19  
 %{_libdir}/samba/libroken-samba4.so.19.0.1  
 %{_libdir}/samba/libwind-samba4.so.0  
 %{_libdir}/samba/libwind-samba4.so.0.0.0  
 %endif  
   
1952  ### LIBSMBCLIENT  ### LIBSMBCLIENT
1953  %if %with_libsmbclient  %if %with_libsmbclient
1954  %files -n libsmbclient  %files -n libsmbclient
# Line 1830  rm -rf %{buildroot} Line 2021  rm -rf %{buildroot}
2021  ### PYTHON  ### PYTHON
2022  %files python  %files python
2023  %defattr(-,root,root,-)  %defattr(-,root,root,-)
2024  %{python_sitearch}/*  %{_libdir}/libsamba-policy.so.*
2025    
2026    %dir %{python_sitearch}/samba
2027    %{python_sitearch}/samba/__init__.py*
2028    %{python_sitearch}/samba/_glue.so
2029    %{python_sitearch}/samba/_ldb.so
2030    %{python_sitearch}/samba/auth.so
2031    %{python_sitearch}/samba/common.py*
2032    %{python_sitearch}/samba/compat.py*
2033    %{python_sitearch}/samba/credentials.so
2034    %{python_sitearch}/samba/crypto.so
2035    %{python_sitearch}/samba/dbchecker.py*
2036    %{python_sitearch}/samba/descriptor.py*
2037    %{python_sitearch}/samba/gensec.so
2038    %{python_sitearch}/samba/getopt.py*
2039    %{python_sitearch}/samba/gp_ext_loader.py*
2040    %{python_sitearch}/samba/hostconfig.py*
2041    %{python_sitearch}/samba/idmap.py*
2042    %{python_sitearch}/samba/join.py*
2043    %{python_sitearch}/samba/logger.py*
2044    %{python_sitearch}/samba/messaging.so
2045    %{python_sitearch}/samba/ms_display_specifiers.py*
2046    %{python_sitearch}/samba/ms_schema.py*
2047    %{python_sitearch}/samba/ndr.py*
2048    %{python_sitearch}/samba/net.so
2049    %{python_sitearch}/samba/netbios.so
2050    %{python_sitearch}/samba/ntacls.py*
2051    %{python_sitearch}/samba/ntstatus.so
2052    %{python_sitearch}/samba/param.so
2053    %{python_sitearch}/samba/policy.so
2054    %{python_sitearch}/samba/posix_eadb.so
2055    %{python_sitearch}/samba/registry.so
2056    %{python_sitearch}/samba/remove_dc.py*
2057    %{python_sitearch}/samba/sd_utils.py*
2058    %{python_sitearch}/samba/security.so
2059    %{python_sitearch}/samba/sites.py*
2060    %{python_sitearch}/samba/smb.so
2061    %{python_sitearch}/samba/subnets.py*
2062    
2063    %{python_sitearch}/samba/upgrade.py*
2064    %{python_sitearch}/samba/upgradehelpers.py*
2065    %{python_sitearch}/samba/uptodateness.py*
2066    %{python_sitearch}/samba/werror.so
2067    %{python_sitearch}/samba/xattr.py*
2068    %{python_sitearch}/samba/xattr_native.so
2069    %{python_sitearch}/samba/xattr_tdb.so
2070    
2071    %dir %{python_sitearch}/samba/dcerpc
2072    %{python_sitearch}/samba/dcerpc/__init__.py*
2073    %{python_sitearch}/samba/dcerpc/atsvc.so
2074    %{python_sitearch}/samba/dcerpc/auth.so
2075    %{python_sitearch}/samba/dcerpc/base.so
2076    %{python_sitearch}/samba/dcerpc/dcerpc.so
2077    %{python_sitearch}/samba/dcerpc/dfs.so
2078    %{python_sitearch}/samba/dcerpc/dns.so
2079    %{python_sitearch}/samba/dcerpc/dnsp.so
2080    %{python_sitearch}/samba/dcerpc/drsblobs.so
2081    %{python_sitearch}/samba/dcerpc/drsuapi.so
2082    %{python_sitearch}/samba/dcerpc/echo.so
2083    %{python_sitearch}/samba/dcerpc/epmapper.so
2084    %{python_sitearch}/samba/dcerpc/preg.so
2085    %{python_sitearch}/samba/dcerpc/idmap.so
2086    %{python_sitearch}/samba/dcerpc/initshutdown.so
2087    %{python_sitearch}/samba/dcerpc/irpc.so
2088    %{python_sitearch}/samba/dcerpc/krb5pac.so
2089    %{python_sitearch}/samba/dcerpc/lsa.so
2090    %{python_sitearch}/samba/dcerpc/messaging.so
2091    %{python_sitearch}/samba/dcerpc/mgmt.so
2092    %{python_sitearch}/samba/dcerpc/misc.so
2093    %{python_sitearch}/samba/dcerpc/nbt.so
2094    %{python_sitearch}/samba/dcerpc/netlogon.so
2095    %{python_sitearch}/samba/dcerpc/ntlmssp.so
2096    %{python_sitearch}/samba/dcerpc/samr.so
2097    %{python_sitearch}/samba/dcerpc/security.so
2098    %{python_sitearch}/samba/dcerpc/server_id.so
2099    %{python_sitearch}/samba/dcerpc/smb_acl.so
2100    %{python_sitearch}/samba/dcerpc/spoolss.so
2101    %{python_sitearch}/samba/dcerpc/srvsvc.so
2102    %{python_sitearch}/samba/dcerpc/svcctl.so
2103    %{python_sitearch}/samba/dcerpc/unixinfo.so
2104    %{python_sitearch}/samba/dcerpc/winbind.so
2105    %{python_sitearch}/samba/dcerpc/windows_event_ids.so
2106    %{python_sitearch}/samba/dcerpc/winreg.so
2107    %{python_sitearch}/samba/dcerpc/winspool.so
2108    %{python_sitearch}/samba/dcerpc/witness.so
2109    %{python_sitearch}/samba/dcerpc/wkssvc.so
2110    %{python_sitearch}/samba/dcerpc/xattr.so
2111    
2112    %dir %{python_sitearch}/samba/emulate
2113    %{python_sitearch}/samba/emulate/__init__.py*
2114    %{python_sitearch}/samba/emulate/traffic.py*
2115    %{python_sitearch}/samba/emulate/traffic_packets.py*
2116    
2117    %dir %{python_sitearch}/samba/gp_parse
2118    %{python_sitearch}/samba/gp_parse/__init__.py*
2119    %{python_sitearch}/samba/gp_parse/gp_aas.py*
2120    %{python_sitearch}/samba/gp_parse/gp_csv.py*
2121    %{python_sitearch}/samba/gp_parse/gp_inf.py*
2122    %{python_sitearch}/samba/gp_parse/gp_ini.py*
2123    %{python_sitearch}/samba/gp_parse/gp_pol.py*
2124    
2125    %dir %{python_sitearch}/samba/netcmd
2126    %{python_sitearch}/samba/netcmd/__init__.py*
2127    %{python_sitearch}/samba/netcmd/common.py*
2128    %{python_sitearch}/samba/netcmd/computer.py*
2129    %{python_sitearch}/samba/netcmd/dbcheck.py*
2130    %{python_sitearch}/samba/netcmd/delegation.py*
2131    %{python_sitearch}/samba/netcmd/dns.py*
2132    %{python_sitearch}/samba/netcmd/domain.py*
2133    %{python_sitearch}/samba/netcmd/domain_backup.py*
2134    %{python_sitearch}/samba/netcmd/drs.py*
2135    %{python_sitearch}/samba/netcmd/dsacl.py*
2136    %{python_sitearch}/samba/netcmd/forest.py*
2137    %{python_sitearch}/samba/netcmd/gpo.py*
2138    %{python_sitearch}/samba/netcmd/group.py*
2139    %{python_sitearch}/samba/netcmd/ldapcmp.py*
2140    %{python_sitearch}/samba/netcmd/main.py*
2141    %{python_sitearch}/samba/netcmd/nettime.py*
2142    %{python_sitearch}/samba/netcmd/ntacl.py*
2143    %{python_sitearch}/samba/netcmd/ou.py*
2144    %{python_sitearch}/samba/netcmd/processes.py*
2145    %{python_sitearch}/samba/netcmd/pso.py*
2146    %{python_sitearch}/samba/netcmd/schema.py*
2147    %{python_sitearch}/samba/netcmd/sites.py*
2148    %{python_sitearch}/samba/netcmd/spn.py*
2149    %{python_sitearch}/samba/netcmd/testparm.py*
2150    %{python_sitearch}/samba/netcmd/user.py*
2151    
2152    %dir %{python_sitearch}/samba/samba3
2153    %{python_sitearch}/samba/samba3/__init__.py*
2154    %{python_sitearch}/samba/samba3/libsmb_samba_internal.so
2155    %{python_sitearch}/samba/samba3/param.so
2156    %{python_sitearch}/samba/samba3/passdb.so
2157    %{python_sitearch}/samba/samba3/smbd.so
2158    
2159    %dir %{python_sitearch}/samba/subunit
2160    %{python_sitearch}/samba/subunit/__init__.py*
2161    %{python_sitearch}/samba/subunit/run.py*
2162    %{python_sitearch}/samba/tdb_util.py*
2163    
2164    %dir %{python_sitearch}/samba/third_party
2165    %{python_sitearch}/samba/third_party/__init__.py*
2166    
2167    %if %{with_dc}
2168    %files python-dc
2169    %defattr(-,root,root,-)
2170    %{python_sitearch}/samba/domain_update.py*
2171    %{python_sitearch}/samba/dckeytab.so
2172    %{python_sitearch}/samba/dsdb.so
2173    %{python_sitearch}/samba/dsdb_dns.so
2174    %{python_sitearch}/samba/dnsserver.py*
2175    %{python_sitearch}/samba/forest_update.py*
2176    %{python_sitearch}/samba/gpclass.py*
2177    %{python_sitearch}/samba/gpo.so
2178    %{python_sitearch}/samba/gp_sec_ext.py*
2179    %{python_sitearch}/samba/mdb_util.py*
2180    %{python_sitearch}/samba/ms_forest_updates_markdown.py*
2181    %{python_sitearch}/samba/ms_schema_markdown.py*
2182    %{python_sitearch}/samba/samdb.py*
2183    %{python_sitearch}/samba/schema.py*
2184    
2185    %{python_sitearch}/samba/dcerpc/dnsserver.so
2186    
2187    %dir %{python_sitearch}/samba/kcc
2188    %{python_sitearch}/samba/kcc/__init__.py*
2189    %{python_sitearch}/samba/kcc/debug.py*
2190    %{python_sitearch}/samba/kcc/graph.py*
2191    %{python_sitearch}/samba/kcc/graph_utils.py*
2192    %{python_sitearch}/samba/kcc/kcc_utils.py*
2193    %{python_sitearch}/samba/kcc/ldif_import_export.py*
2194    
2195    %dir %{python_sitearch}/samba/provision
2196    %{python_sitearch}/samba/provision/__init__.py*
2197    %{python_sitearch}/samba/provision/backend.py*
2198    %{python_sitearch}/samba/provision/common.py*
2199    %{python_sitearch}/samba/provision/kerberos.py*
2200    %{python_sitearch}/samba/provision/kerberos_implementation.py*
2201    %{python_sitearch}/samba/provision/sambadns.py*
2202    
2203    %dir %{python_sitearch}/samba/web_server
2204    %{python_sitearch}/samba/web_server/__init__.py*
2205    %endif
2206    
2207    %files python-test
2208    %defattr(-,root,root,-)
2209    %dir %{python_sitearch}/samba/tests
2210    %{python_sitearch}/samba/tests/__init__.py*
2211    %{python_sitearch}/samba/tests/auth.py*
2212    %{python_sitearch}/samba/tests/auth_log.py*
2213    %{python_sitearch}/samba/tests/auth_log_base.py*
2214    %{python_sitearch}/samba/tests/auth_log_ncalrpc.py*
2215    %{python_sitearch}/samba/tests/auth_log_netlogon.py*
2216    %{python_sitearch}/samba/tests/auth_log_netlogon_bad_creds.py*
2217    %{python_sitearch}/samba/tests/auth_log_pass_change.py*
2218    %{python_sitearch}/samba/tests/auth_log_samlogon.py*
2219    %{python_sitearch}/samba/tests/complex_expressions.py*
2220    %{python_sitearch}/samba/tests/common.py*
2221    %{python_sitearch}/samba/tests/core.py*
2222    %{python_sitearch}/samba/tests/credentials.py*
2223    %{python_sitearch}/samba/tests/dns.py*
2224    %{python_sitearch}/samba/tests/dns_base.py*
2225    %{python_sitearch}/samba/tests/dns_forwarder.py*
2226    %{python_sitearch}/samba/tests/dns_tkey.py*
2227    %{python_sitearch}/samba/tests/dns_wildcard.py*
2228    %{python_sitearch}/samba/tests/docs.py*
2229    %{python_sitearch}/samba/tests/dsdb.py*
2230    %{python_sitearch}/samba/tests/dsdb_lock.py*
2231    %{python_sitearch}/samba/tests/dsdb_schema_attributes.py*
2232    %{python_sitearch}/samba/tests/domain_backup_offline.py*
2233    %{python_sitearch}/samba/tests/encrypted_secrets.py*
2234    %{python_sitearch}/samba/tests/gensec.py*
2235    %{python_sitearch}/samba/tests/get_opt.py*
2236    %{python_sitearch}/samba/tests/glue.py*
2237    %{python_sitearch}/samba/tests/graph.py*
2238    %{python_sitearch}/samba/tests/hostconfig.py*
2239    %{python_sitearch}/samba/tests/ldap_referrals.py*
2240    %{python_sitearch}/samba/tests/libsmb.py*
2241    %{python_sitearch}/samba/tests/join.py*
2242    %{python_sitearch}/samba/tests/lsa_string.py*
2243    %{python_sitearch}/samba/tests/messaging.py*
2244    %{python_sitearch}/samba/tests/net_join.py*
2245    %{python_sitearch}/samba/tests/net_join_no_spnego.py*
2246    %{python_sitearch}/samba/tests/netcmd.py*
2247    %{python_sitearch}/samba/tests/netlogonsvc.py*
2248    %{python_sitearch}/samba/tests/ntacls.py*
2249    %{python_sitearch}/samba/tests/ntlm_auth.py*
2250    %{python_sitearch}/samba/tests/ntlm_auth_base.py*
2251    %{python_sitearch}/samba/tests/ntlm_auth_krb5.py*
2252    %{python_sitearch}/samba/tests/ntlmdisabled.py*
2253    %{python_sitearch}/samba/tests/pam_winbind.py*
2254    %{python_sitearch}/samba/tests/pam_winbind_chauthtok.py*
2255    %{python_sitearch}/samba/tests/pam_winbind_warn_pwd_expire.py*
2256    %{python_sitearch}/samba/tests/param.py*
2257    %{python_sitearch}/samba/tests/password_hash.py*
2258    %{python_sitearch}/samba/tests/password_hash_fl2003.py*
2259    %{python_sitearch}/samba/tests/password_hash_fl2008.py*
2260    %{python_sitearch}/samba/tests/password_hash_gpgme.py*
2261    %{python_sitearch}/samba/tests/password_hash_ldap.py*
2262    %{python_sitearch}/samba/tests/policy.py*
2263    %{python_sitearch}/samba/tests/posixacl.py*
2264    %{python_sitearch}/samba/tests/prefork_restart.py*
2265    %{python_sitearch}/samba/tests/process_limits.py*
2266    %{python_sitearch}/samba/tests/provision.py*
2267    %{python_sitearch}/samba/tests/py_credentials.py*
2268    %{python_sitearch}/samba/tests/registry.py*
2269    %{python_sitearch}/samba/tests/samba_upgradedns_lmdb*
2270    %{python_sitearch}/samba/tests/samba3sam.py*
2271    %{python_sitearch}/samba/tests/samdb.py*
2272    %{python_sitearch}/samba/tests/smbd_base.py*
2273    %{python_sitearch}/samba/tests/smbd_fuzztest.py*
2274    %{python_sitearch}/samba/tests/security.py*
2275    %{python_sitearch}/samba/tests/source.py*
2276    %{python_sitearch}/samba/tests/strings.py*
2277    %{python_sitearch}/samba/tests/subunitrun.py*
2278    %{python_sitearch}/samba/tests/tdb_util.py*
2279    %{python_sitearch}/samba/tests/upgrade.py*
2280    %{python_sitearch}/samba/tests/upgradeprovision.py*
2281    %{python_sitearch}/samba/tests/upgradeprovisionneeddc.py*
2282    %{python_sitearch}/samba/tests/xattr.py*
2283    
2284    %dir %{python_sitearch}/samba/tests/blackbox
2285    %{python_sitearch}/samba/tests/blackbox/__init__.py*
2286    %{python_sitearch}/samba/tests/blackbox/bug13653.py*
2287    %{python_sitearch}/samba/tests/blackbox/check_output.py*
2288    %{python_sitearch}/samba/tests/blackbox/netads_json.py*
2289    %{python_sitearch}/samba/tests/blackbox/ndrdump.py*
2290    %{python_sitearch}/samba/tests/blackbox/samba_dnsupdate.py*
2291    %{python_sitearch}/samba/tests/blackbox/smbcontrol.py*
2292    %{python_sitearch}/samba/tests/blackbox/smbcontrol_process.py*
2293    %{python_sitearch}/samba/tests/blackbox/traffic_learner.py*
2294    %{python_sitearch}/samba/tests/blackbox/traffic_replay.py*
2295    %{python_sitearch}/samba/tests/blackbox/traffic_summary.py*
2296    %{python_sitearch}/samba/tests/blackbox/undoguididx.py*
2297    
2298    %dir %{python_sitearch}/samba/tests/dcerpc
2299    %{python_sitearch}/samba/tests/dcerpc/__init__.py*
2300    %{python_sitearch}/samba/tests/dcerpc/array.py*
2301    %{python_sitearch}/samba/tests/dcerpc/bare.py*
2302    %{python_sitearch}/samba/tests/dcerpc/dnsserver.py*
2303    %{python_sitearch}/samba/tests/dcerpc/integer.py*
2304    %{python_sitearch}/samba/tests/dcerpc/misc.py*
2305    %{python_sitearch}/samba/tests/dcerpc/raw_protocol.py*
2306    %{python_sitearch}/samba/tests/dcerpc/raw_testcase.py*
2307    %{python_sitearch}/samba/tests/dcerpc/registry.py*
2308    %{python_sitearch}/samba/tests/dcerpc/rpc_talloc.py*
2309    %{python_sitearch}/samba/tests/dcerpc/rpcecho.py*
2310    %{python_sitearch}/samba/tests/dcerpc/sam.py*
2311    %{python_sitearch}/samba/tests/dcerpc/srvsvc.py*
2312    %{python_sitearch}/samba/tests/dcerpc/string_tests.py*
2313    %{python_sitearch}/samba/tests/dcerpc/testrpc.py*
2314    %{python_sitearch}/samba/tests/dcerpc/unix.py*
2315    
2316    %dir %{python_sitearch}/samba/tests/dns_forwarder_helpers
2317    %{python_sitearch}/samba/tests/dns_forwarder_helpers/server.py*
2318    %{python_sitearch}/samba/tests/dns_forwarder_helpers/dns_hub.py*
2319    
2320    %dir %{python_sitearch}/samba/tests/emulate
2321    %{python_sitearch}/samba/tests/emulate/__init__.py*
2322    %{python_sitearch}/samba/tests/emulate/traffic.py*
2323    %{python_sitearch}/samba/tests/emulate/traffic_packet.py*
2324    
2325    %dir %{python_sitearch}/samba/tests/kcc
2326    %{python_sitearch}/samba/tests/kcc/__init__.py*
2327    %{python_sitearch}/samba/tests/kcc/graph.py*
2328    %{python_sitearch}/samba/tests/kcc/graph_utils.py*
2329    %{python_sitearch}/samba/tests/kcc/kcc_utils.py*
2330    %{python_sitearch}/samba/tests/kcc/ldif_import_export.py*
2331    
2332    %dir %{python_sitearch}/samba/tests/samba_tool
2333    %{python_sitearch}/samba/tests/samba_tool/__init__.py*
2334    %{python_sitearch}/samba/tests/samba_tool/base.py*
2335    %{python_sitearch}/samba/tests/samba_tool/dnscmd.py*
2336    %{python_sitearch}/samba/tests/samba_tool/fsmo.py*
2337    %{python_sitearch}/samba/tests/samba_tool/gpo.py*
2338    %{python_sitearch}/samba/tests/samba_tool/group.py*
2339    %{python_sitearch}/samba/tests/samba_tool/help.py*
2340    %{python_sitearch}/samba/tests/samba_tool/join.py*
2341    %{python_sitearch}/samba/tests/samba_tool/ntacl.py*
2342    %{python_sitearch}/samba/tests/samba_tool/processes.py*
2343    %{python_sitearch}/samba/tests/samba_tool/provision_password_check.py*
2344    %{python_sitearch}/samba/tests/samba_tool/rodc.py*
2345    %{python_sitearch}/samba/tests/samba_tool/sites.py*
2346    %{python_sitearch}/samba/tests/samba_tool/timecmd.py*
2347    %{python_sitearch}/samba/tests/samba_tool/user.py*
2348    %{python_sitearch}/samba/tests/samba_tool/user_check_password_script.py*
2349    %{python_sitearch}/samba/tests/samba_tool/user_virtualCryptSHA.py*
2350    %{python_sitearch}/samba/tests/samba_tool/user_wdigest.py*
2351    %{python_sitearch}/samba/tests/samba_tool/visualize.py*
2352    %{python_sitearch}/samba/tests/samba_tool/visualize_drs.py*
2353    
2354  ### TEST  ### TEST
2355  %files test  %files test
# Line 1857  rm -rf %{buildroot} Line 2376  rm -rf %{buildroot}
2376  ### TEST-LIBS  ### TEST-LIBS
2377  %files test-libs  %files test-libs
2378  %defattr(-,root,root)  %defattr(-,root,root)
 %{_libdir}/libtorture.so.*  
 %{_libdir}/samba/libsubunit-samba4.so  
2379  %if %with_dc  %if %with_dc
2380  %{_libdir}/samba/libdlz-bind9-for-torture-samba4.so  %{_libdir}/samba/libdlz-bind9-for-torture-samba4.so
2381  %else  %else
2382  %{_libdir}/samba/libdsdb-module-samba4.so  %{_libdir}/samba/libdsdb-module-samba4.so
2383  %endif  %endif
2384    %{_libdir}/samba/libcmocka-samba4.so
 ### TEST-DEVEL  
 %files test-devel  
 %defattr(-,root,root)  
 %{_includedir}/samba-4.0/torture.h  
 %{_libdir}/libtorture.so  
 %{_libdir}/pkgconfig/torture.pc  
2385    
2386  ### WINBIND  ### WINBIND
2387  %files winbind  %files winbind
2388  %defattr(-,root,root)  %defattr(-,root,root)
 #%{_bindir}/wbinfo3  
2389  %{_libdir}/samba/idmap  %{_libdir}/samba/idmap
2390  %{_libdir}/samba/nss_info  %{_libdir}/samba/nss_info
2391  %{_libdir}/samba/libnss-info-samba4.so  %{_libdir}/samba/libnss-info-samba4.so
# Line 1892  rm -rf %{buildroot} Line 2402  rm -rf %{buildroot}
2402  %defattr(-,root,root)  %defattr(-,root,root)
2403  %{_bindir}/ntlm_auth  %{_bindir}/ntlm_auth
2404  %{_bindir}/wbinfo  %{_bindir}/wbinfo
2405    %{_libdir}/samba/krb5/winbind_krb5_localauth.so
2406  %{_mandir}/man1/ntlm_auth.1.gz  %{_mandir}/man1/ntlm_auth.1.gz
2407  %{_mandir}/man1/wbinfo.1*  %{_mandir}/man1/wbinfo.1*
2408    %{_mandir}/man8/winbind_krb5_localauth.8*
2409    
2410  ### WINBIND-KRB5-LOCATOR  ### WINBIND-KRB5-LOCATOR
2411  %files winbind-krb5-locator  %files winbind-krb5-locator
2412  %defattr(-,root,root)  %defattr(-,root,root)
2413  %ghost %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so  %ghost %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
2414  %{_libdir}/winbind_krb5_locator.so  %{_libdir}/samba/krb5/winbind_krb5_locator.so
2415  %{_mandir}/man7/winbind_krb5_locator.7*  %{_mandir}/man8/winbind_krb5_locator.8*
2416    
2417  ### WINBIND-MODULES  ### WINBIND-MODULES
2418  %files winbind-modules  %files winbind-modules
# Line 1916  rm -rf %{buildroot} Line 2428  rm -rf %{buildroot}
2428  %files -n ctdb  %files -n ctdb
2429  %defattr(-,root,root)  %defattr(-,root,root)
2430  %doc ctdb/README  %doc ctdb/README
2431  %config(noreplace) %{_sysconfdir}/sysconfig/ctdb  %doc ctdb/doc/examples
2432    # Obsolete
2433    %config(noreplace, missingok) %{_sysconfdir}/sysconfig/ctdb
2434    
2435    %dir %{_sysconfdir}/ctdb
2436    %config(noreplace) %{_sysconfdir}/ctdb/ctdb.conf
2437  %config(noreplace) %{_sysconfdir}/ctdb/notify.sh  %config(noreplace) %{_sysconfdir}/ctdb/notify.sh
2438  %config(noreplace) %{_sysconfdir}/ctdb/debug-hung-script.sh  %config(noreplace) %{_sysconfdir}/ctdb/debug-hung-script.sh
2439  %config(noreplace) %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh  %config(noreplace) %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh
 %config(noreplace) %{_sysconfdir}/ctdb/gcore_trace.sh  
 %config(noreplace) %{_sysconfdir}/ctdb/functions  
2440  %config(noreplace) %{_sysconfdir}/ctdb/debug_locks.sh  %config(noreplace) %{_sysconfdir}/ctdb/debug_locks.sh
 %dir %{_localstatedir}/lib/ctdb/  
 %{_tmpfilesdir}/%{name}.conf  
2441    
2442  %{_unitdir}/ctdb.service  %{_sysconfdir}/ctdb/functions
2443    %{_sysconfdir}/ctdb/nfs-linux-kernel-callout
 %dir %{_sysconfdir}/ctdb  
2444  %{_sysconfdir}/ctdb/statd-callout  %{_sysconfdir}/ctdb/statd-callout
2445  %dir %{_sysconfdir}/ctdb/nfs-rpc-checks.d  %config %{_sysconfdir}/sudoers.d/ctdb
2446  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/10.statd.check  
2447  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/20.nfsd.check  # CTDB scripts, no config files
2448  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/30.lockd.check  # script with executable bit means activated
2449  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/40.mountd.check  %dir %{_sysconfdir}/ctdb/events
2450  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/50.rquotad.check  %dir %{_sysconfdir}/ctdb/events/legacy
2451  %{_sysconfdir}/sudoers.d/ctdb  %dir %{_sysconfdir}/ctdb/events/notification
2452  %{_sysconfdir}/ctdb/events.d/  %{_sysconfdir}/ctdb/events/notification/README
2453  %dir %{_sysconfdir}/ctdb/notify.d  
2454  %{_sysconfdir}/ctdb/notify.d/README  # CTDB scripts, no config files
2455  %{_prefix}/lib/tmpfiles.d/ctdb.conf  # script with executable bit means activated
2456    %dir %{_sysconfdir}/ctdb/nfs-checks.d
2457    %{_sysconfdir}/ctdb/nfs-checks.d/README
2458    %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/00.portmapper.check
2459    %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/10.status.check
2460    %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/20.nfs.check
2461    %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/30.nlockmgr.check
2462    %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/40.mountd.check
2463    %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/50.rquotad.check
2464    
2465  %{_sbindir}/ctdbd  %{_sbindir}/ctdbd
2466  %{_sbindir}/ctdbd_wrapper  %{_sbindir}/ctdbd_wrapper
2467  %{_bindir}/ctdb  %{_bindir}/ctdb
2468  %{_bindir}/smnotify  %{_bindir}/ctdb_local_daemons
2469  %{_bindir}/ping_pong  %{_bindir}/ping_pong
2470  %{_bindir}/ltdbtool  %{_bindir}/ltdbtool
2471  %{_bindir}/ctdb_diagnostics  %{_bindir}/ctdb_diagnostics
2472  %{_bindir}/onnode  %{_bindir}/onnode
2473  %{_bindir}/ctdb_lock_helper  
2474  %{_bindir}/ctdb_event_helper  %dir %{_libexecdir}/ctdb
2475    %{_libexecdir}/ctdb/ctdb-config
2476    %{_libexecdir}/ctdb/ctdb-event
2477    %{_libexecdir}/ctdb/ctdb-eventd
2478    %{_libexecdir}/ctdb/ctdb_killtcp
2479    %{_libexecdir}/ctdb/ctdb_lock_helper
2480    %{_libexecdir}/ctdb/ctdb_lvs
2481    %{_libexecdir}/ctdb/ctdb_mutex_fcntl_helper
2482    %{_libexecdir}/ctdb/ctdb_natgw
2483    %{_libexecdir}/ctdb/ctdb-path
2484    %{_libexecdir}/ctdb/ctdb_recovery_helper
2485    %{_libexecdir}/ctdb/ctdb_takeover_helper
2486    %{_libexecdir}/ctdb/smnotify
2487    
2488    %dir %{_localstatedir}/lib/ctdb/
2489    %dir %{_localstatedir}/lib/ctdb/persistent
2490    %dir %{_localstatedir}/lib/ctdb/state
2491    %dir %{_localstatedir}/lib/ctdb/volatile
2492    
2493  %{_mandir}/man1/ctdb.1.gz  %{_mandir}/man1/ctdb.1.gz
2494    %{_mandir}/man1/ctdb_diagnostics.1.gz
2495  %{_mandir}/man1/ctdbd.1.gz  %{_mandir}/man1/ctdbd.1.gz
2496  %{_mandir}/man1/onnode.1.gz  %{_mandir}/man1/onnode.1.gz
2497  %{_mandir}/man1/ltdbtool.1.gz  %{_mandir}/man1/ltdbtool.1.gz
2498  %{_mandir}/man1/ping_pong.1.gz  %{_mandir}/man1/ping_pong.1.gz
2499  %{_mandir}/man1/ctdbd_wrapper.1.gz  %{_mandir}/man1/ctdbd_wrapper.1.gz
2500  %{_mandir}/man5/ctdbd.conf.5.gz  %{_mandir}/man5/ctdb.conf.5.gz
2501    %{_mandir}/man5/ctdb-script.options.5.gz
2502    %{_mandir}/man5/ctdb.sysconfig.5.gz
2503  %{_mandir}/man7/ctdb.7.gz  %{_mandir}/man7/ctdb.7.gz
2504  %{_mandir}/man7/ctdb-tunables.7.gz  %{_mandir}/man7/ctdb-tunables.7.gz
2505  %{_mandir}/man7/ctdb-statistics.7.gz  %{_mandir}/man7/ctdb-statistics.7.gz
2506    
2507  %files -n ctdb-devel  %{_tmpfilesdir}/ctdb.conf
2508  %defattr(-,root,root)  
2509  %{_includedir}/samba-4.0/ctdb.h  %{_unitdir}/ctdb.service
2510  %{_includedir}/samba-4.0/ctdb_client.h  
2511  %{_includedir}/samba-4.0/ctdb_protocol.h  %dir %{_datadir}/ctdb
2512  %{_includedir}/samba-4.0/ctdb_private.h  %dir %{_datadir}/ctdb/events
2513  %{_includedir}/samba-4.0/ctdb_typesafe_cb.h  %dir %{_datadir}/ctdb/events/legacy/
2514  %{_includedir}/samba-4.0/ctdb_version.h  %{_datadir}/ctdb/events/legacy/00.ctdb.script
2515  %{_libdir}/pkgconfig/ctdb.pc  %{_datadir}/ctdb/events/legacy/01.reclock.script
2516    %{_datadir}/ctdb/events/legacy/05.system.script
2517    %{_datadir}/ctdb/events/legacy/06.nfs.script
2518    %{_datadir}/ctdb/events/legacy/10.interface.script
2519    %{_datadir}/ctdb/events/legacy/11.natgw.script
2520    %{_datadir}/ctdb/events/legacy/11.routing.script
2521    %{_datadir}/ctdb/events/legacy/13.per_ip_routing.script
2522    %{_datadir}/ctdb/events/legacy/20.multipathd.script
2523    %{_datadir}/ctdb/events/legacy/31.clamd.script
2524    %{_datadir}/ctdb/events/legacy/40.vsftpd.script
2525    %{_datadir}/ctdb/events/legacy/41.httpd.script
2526    %{_datadir}/ctdb/events/legacy/49.winbind.script
2527    %{_datadir}/ctdb/events/legacy/50.samba.script
2528    %{_datadir}/ctdb/events/legacy/60.nfs.script
2529    %{_datadir}/ctdb/events/legacy/70.iscsi.script
2530    %{_datadir}/ctdb/events/legacy/91.lvs.script
2531    
2532  %files -n ctdb-tests  %files -n ctdb-tests
2533  %defattr(-,root,root)  %defattr(-,root,root)
2534  %dir %{_libdir}/ctdb-tests  %doc ctdb/tests/README
 %{_libdir}/ctdb-tests/ctdb_bench  
 %{_libdir}/ctdb-tests/ctdb_fetch  
 %{_libdir}/ctdb-tests/ctdb_fetch_one  
 %{_libdir}/ctdb-tests/ctdb_fetch_readonly_loop  
 %{_libdir}/ctdb-tests/ctdb_fetch_readonly_once  
 %{_libdir}/ctdb-tests/ctdb_functest  
 %{_libdir}/ctdb-tests/ctdb_lock_tdb  
 %{_libdir}/ctdb-tests/ctdb_persistent  
 %{_libdir}/ctdb-tests/ctdb_porting_tests  
 %{_libdir}/ctdb-tests/ctdb_randrec  
 %{_libdir}/ctdb-tests/ctdb_store  
 %{_libdir}/ctdb-tests/ctdb_stubtest  
 %{_libdir}/ctdb-tests/ctdb_takeover_tests  
 %{_libdir}/ctdb-tests/ctdb_trackingdb_test  
 %{_libdir}/ctdb-tests/ctdb_transaction  
 %{_libdir}/ctdb-tests/ctdb_traverse  
 %{_libdir}/ctdb-tests/ctdb_update_record  
 %{_libdir}/ctdb-tests/ctdb_update_record_persistent  
 %{_libdir}/ctdb-tests/rb_test  
2535  %{_bindir}/ctdb_run_tests  %{_bindir}/ctdb_run_tests
2536  %{_bindir}/ctdb_run_cluster_tests  %{_bindir}/ctdb_run_cluster_tests
 %dir %{_datadir}/ctdb-tests  
 %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/events.d  
 %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/functions  
 %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/nfs-rpc-checks.d  
 %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/statd-callout  
 %{_datadir}/ctdb-tests/scripts/common.sh  
 %{_datadir}/ctdb-tests/scripts/integration.bash  
 %{_datadir}/ctdb-tests/scripts/test_wrap  
 %{_datadir}/ctdb-tests/scripts/unit.sh  
 %doc ctdb/tests/README  
 %endif # with_clustering_support  
2537    
2538  %changelog  %dir %{_libexecdir}/ctdb
2539  * Wed Oct 5 2016 Daniel Berteaud <daniel@firewall-services.com> - 4.2.10-7.1.sme  %dir %{_libexecdir}/ctdb/tests
2540  - Rebuild with DC support (work from Greg Zartman) [SME: 9817]  %{_libexecdir}/ctdb/tests/cmdline_test
2541    %{_libexecdir}/ctdb/tests/comm_client_test
2542    %{_libexecdir}/ctdb/tests/comm_server_test
2543    %{_libexecdir}/ctdb/tests/comm_test
2544    %{_libexecdir}/ctdb/tests/conf_test
2545    %{_libexecdir}/ctdb/tests/ctdb_packet_parse
2546    %{_libexecdir}/ctdb/tests/ctdb_takeover_tests
2547    %{_libexecdir}/ctdb/tests/ctdb_io_test
2548    %{_libexecdir}/ctdb/tests/db_hash_test
2549    %{_libexecdir}/ctdb/tests/dummy_client
2550    %{_libexecdir}/ctdb/tests/errcode
2551    %{_libexecdir}/ctdb/tests/event_protocol_test
2552    %{_libexecdir}/ctdb/tests/event_script_test
2553    %{_libexecdir}/ctdb/tests/fake_ctdbd
2554    %{_libexecdir}/ctdb/tests/fetch_loop
2555    %{_libexecdir}/ctdb/tests/fetch_loop_key
2556    %{_libexecdir}/ctdb/tests/fetch_readonly
2557    %{_libexecdir}/ctdb/tests/fetch_readonly_loop
2558    %{_libexecdir}/ctdb/tests/fetch_ring
2559    %{_libexecdir}/ctdb/tests/g_lock_loop
2560    %{_libexecdir}/ctdb/tests/hash_count_test
2561    %{_libexecdir}/ctdb/tests/line_test
2562    %{_libexecdir}/ctdb/tests/lock_tdb
2563    %{_libexecdir}/ctdb/tests/message_ring
2564    %{_libexecdir}/ctdb/tests/pidfile_test
2565    %{_libexecdir}/ctdb/tests/pkt_read_test
2566    %{_libexecdir}/ctdb/tests/pkt_write_test
2567    %{_libexecdir}/ctdb/tests/porting_tests
2568    %{_libexecdir}/ctdb/tests/protocol_basic_test
2569    %{_libexecdir}/ctdb/tests/protocol_ctdb_compat_test
2570    %{_libexecdir}/ctdb/tests/protocol_ctdb_test
2571    %{_libexecdir}/ctdb/tests/protocol_types_compat_test
2572    %{_libexecdir}/ctdb/tests/protocol_types_test
2573    %{_libexecdir}/ctdb/tests/protocol_util_test
2574    %{_libexecdir}/ctdb/tests/rb_test
2575    %{_libexecdir}/ctdb/tests/reqid_test
2576    %{_libexecdir}/ctdb/tests/run_event_test
2577    %{_libexecdir}/ctdb/tests/run_proc_test
2578    %{_libexecdir}/ctdb/tests/sigcode
2579    %{_libexecdir}/ctdb/tests/sock_daemon_test
2580    %{_libexecdir}/ctdb/tests/sock_io_test
2581    %{_libexecdir}/ctdb/tests/srvid_test
2582    %{_libexecdir}/ctdb/tests/system_socket_test
2583    %{_libexecdir}/ctdb/tests/transaction_loop
2584    %{_libexecdir}/ctdb/tests/tunnel_cmd
2585    %{_libexecdir}/ctdb/tests/tunnel_test
2586    %{_libexecdir}/ctdb/tests/update_record
2587    %{_libexecdir}/ctdb/tests/update_record_persistent
2588    
2589    %dir %{_datadir}/ctdb/tests
2590    
2591    %dir %{_datadir}/ctdb/tests/complex
2592    %{_datadir}/ctdb/tests/complex/README
2593    %{_datadir}/ctdb/tests/complex/11_ctdb_delip_removes_ip.sh
2594    %{_datadir}/ctdb/tests/complex/18_ctdb_reloadips.sh
2595    %{_datadir}/ctdb/tests/complex/30_nfs_tickle_killtcp.sh
2596    %{_datadir}/ctdb/tests/complex/31_nfs_tickle.sh
2597    %{_datadir}/ctdb/tests/complex/32_cifs_tickle.sh
2598    %{_datadir}/ctdb/tests/complex/33_gratuitous_arp.sh
2599    %{_datadir}/ctdb/tests/complex/34_nfs_tickle_restart.sh
2600    %{_datadir}/ctdb/tests/complex/36_smb_reset_server.sh
2601    %{_datadir}/ctdb/tests/complex/37_nfs_reset_server.sh
2602    %{_datadir}/ctdb/tests/complex/41_failover_ping_discrete.sh
2603    %{_datadir}/ctdb/tests/complex/42_failover_ssh_hostname.sh
2604    %{_datadir}/ctdb/tests/complex/43_failover_nfs_basic.sh
2605    %{_datadir}/ctdb/tests/complex/44_failover_nfs_oneway.sh
2606    %{_datadir}/ctdb/tests/complex/45_failover_nfs_kill.sh
2607    %{_datadir}/ctdb/tests/complex/60_rogueip_releaseip.sh
2608    %{_datadir}/ctdb/tests/complex/61_rogueip_takeip.sh
2609    
2610    %dir %{_datadir}/ctdb/tests/complex/scripts
2611    %{_datadir}/ctdb/tests/complex/scripts/local.bash
2612    
2613    %dir %{_datadir}/ctdb/tests/cunit
2614    %{_datadir}/ctdb/tests/cunit/cmdline_test_001.sh
2615    %{_datadir}/ctdb/tests/cunit/comm_test_001.sh
2616    %{_datadir}/ctdb/tests/cunit/comm_test_002.sh
2617    %{_datadir}/ctdb/tests/cunit/conf_test_001.sh
2618    %{_datadir}/ctdb/tests/cunit/config_test_001.sh
2619    %{_datadir}/ctdb/tests/cunit/config_test_002.sh
2620    %{_datadir}/ctdb/tests/cunit/config_test_003.sh
2621    %{_datadir}/ctdb/tests/cunit/config_test_004.sh
2622    %{_datadir}/ctdb/tests/cunit/config_test_005.sh
2623    %{_datadir}/ctdb/tests/cunit/config_test_006.sh
2624    %{_datadir}/ctdb/tests/cunit/config_test_007.sh
2625    %{_datadir}/ctdb/tests/cunit/ctdb_io_test_001.sh
2626    %{_datadir}/ctdb/tests/cunit/db_hash_test_001.sh
2627    %{_datadir}/ctdb/tests/cunit/event_protocol_test_001.sh
2628    %{_datadir}/ctdb/tests/cunit/event_script_test_001.sh
2629    %{_datadir}/ctdb/tests/cunit/hash_count_test_001.sh
2630    %{_datadir}/ctdb/tests/cunit/line_test_001.sh
2631    %{_datadir}/ctdb/tests/cunit/path_tests_001.sh
2632    %{_datadir}/ctdb/tests/cunit/pidfile_test_001.sh
2633    %{_datadir}/ctdb/tests/cunit/pkt_read_001.sh
2634    %{_datadir}/ctdb/tests/cunit/pkt_write_001.sh
2635    %{_datadir}/ctdb/tests/cunit/porting_tests_001.sh
2636    %{_datadir}/ctdb/tests/cunit/protocol_test_001.sh
2637    %{_datadir}/ctdb/tests/cunit/protocol_test_002.sh
2638    %{_datadir}/ctdb/tests/cunit/protocol_test_012.sh
2639    %{_datadir}/ctdb/tests/cunit/protocol_test_101.sh
2640    %{_datadir}/ctdb/tests/cunit/protocol_test_111.sh
2641    %{_datadir}/ctdb/tests/cunit/protocol_test_201.sh
2642    %{_datadir}/ctdb/tests/cunit/rb_test_001.sh
2643    %{_datadir}/ctdb/tests/cunit/reqid_test_001.sh
2644    %{_datadir}/ctdb/tests/cunit/run_event_001.sh
2645    %{_datadir}/ctdb/tests/cunit/run_proc_001.sh
2646    %{_datadir}/ctdb/tests/cunit/sock_daemon_test_001.sh
2647    %{_datadir}/ctdb/tests/cunit/sock_io_test_001.sh
2648    %{_datadir}/ctdb/tests/cunit/srvid_test_001.sh
2649    %{_datadir}/ctdb/tests/cunit/system_socket_test_001.sh
2650    %dir %{_datadir}/ctdb/tests/etc-ctdb
2651    %dir %{_datadir}/ctdb/tests/etc-ctdb/events
2652    %dir %{_datadir}/ctdb/tests/etc-ctdb/events/legacy
2653    %{_datadir}/ctdb/tests/etc-ctdb/events/legacy/00.test.script
2654    %dir %{_datadir}/ctdb/tests/eventd
2655    %{_datadir}/ctdb/tests/eventd/README
2656    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb
2657    %{_datadir}/ctdb/tests/eventd/etc-ctdb/ctdb.conf
2658    %{_datadir}/ctdb/tests/eventd/etc-ctdb/debug-script.sh
2659    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb/events
2660    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/data
2661    %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/data/README
2662    %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/data/03.notalink.script
2663    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/empty
2664    %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/empty/README
2665    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/multi
2666    %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/multi/01.test.script
2667    %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/multi/02.test.script
2668    %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/multi/03.test.script
2669    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/random
2670    %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/random/01.disabled.script
2671    %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/random/02.enabled.script
2672    %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/random/README.script
2673    %{_datadir}/ctdb/tests/eventd/etc-ctdb/events/random/a.script
2674    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb/share
2675    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/
2676    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/data
2677    %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/data/01.dummy.script
2678    %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/data/02.disabled.script
2679    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/empty
2680    %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/empty/README
2681    %dir %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/random
2682    %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/random/01.disabled.script
2683    %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/random/02.enabled.script
2684    %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/random/a.script
2685    %{_datadir}/ctdb/tests/eventd/etc-ctdb/share/events/random/README.script
2686    %{_datadir}/ctdb/tests/eventd/eventd_001.sh
2687    %{_datadir}/ctdb/tests/eventd/eventd_002.sh
2688    %{_datadir}/ctdb/tests/eventd/eventd_003.sh
2689    %{_datadir}/ctdb/tests/eventd/eventd_004.sh
2690    %{_datadir}/ctdb/tests/eventd/eventd_005.sh
2691    %{_datadir}/ctdb/tests/eventd/eventd_006.sh
2692    %{_datadir}/ctdb/tests/eventd/eventd_007.sh
2693    %{_datadir}/ctdb/tests/eventd/eventd_008.sh
2694    %{_datadir}/ctdb/tests/eventd/eventd_009.sh
2695    %{_datadir}/ctdb/tests/eventd/eventd_011.sh
2696    %{_datadir}/ctdb/tests/eventd/eventd_012.sh
2697    %{_datadir}/ctdb/tests/eventd/eventd_013.sh
2698    %{_datadir}/ctdb/tests/eventd/eventd_014.sh
2699    %{_datadir}/ctdb/tests/eventd/eventd_021.sh
2700    %{_datadir}/ctdb/tests/eventd/eventd_022.sh
2701    %{_datadir}/ctdb/tests/eventd/eventd_023.sh
2702    %{_datadir}/ctdb/tests/eventd/eventd_024.sh
2703    %{_datadir}/ctdb/tests/eventd/eventd_031.sh
2704    %{_datadir}/ctdb/tests/eventd/eventd_032.sh
2705    %{_datadir}/ctdb/tests/eventd/eventd_033.sh
2706    %{_datadir}/ctdb/tests/eventd/eventd_041.sh
2707    %{_datadir}/ctdb/tests/eventd/eventd_042.sh
2708    %{_datadir}/ctdb/tests/eventd/eventd_043.sh
2709    %{_datadir}/ctdb/tests/eventd/eventd_044.sh
2710    %{_datadir}/ctdb/tests/eventd/eventd_051.sh
2711    %{_datadir}/ctdb/tests/eventd/eventd_052.sh
2712    %dir %{_datadir}/ctdb/tests/eventd/scripts
2713    %{_datadir}/ctdb/tests/eventd/scripts/local.sh
2714    
2715    %dir %{_datadir}/ctdb/tests/eventscripts
2716    %{_datadir}/ctdb/tests/eventscripts/README
2717    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.init.001.sh
2718    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.init.002.sh
2719    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.init.003.sh
2720    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.init.004.sh
2721    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.init.005.sh
2722    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.init.006.sh
2723    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.init.007.sh
2724    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.init.008.sh
2725    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.init.009.sh
2726    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.setup.001.sh
2727    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.setup.002.sh
2728    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.setup.003.sh
2729    %{_datadir}/ctdb/tests/eventscripts/00.ctdb.setup.004.sh
2730    %{_datadir}/ctdb/tests/eventscripts/01.reclock.monitor.001.sh
2731    %{_datadir}/ctdb/tests/eventscripts/01.reclock.monitor.002.sh
2732    %{_datadir}/ctdb/tests/eventscripts/01.reclock.monitor.003.sh
2733    %{_datadir}/ctdb/tests/eventscripts/01.reclock.monitor.004.sh
2734    %{_datadir}/ctdb/tests/eventscripts/01.reclock.monitor.005.sh
2735    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.001.sh
2736    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.002.sh
2737    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.003.sh
2738    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.004.sh
2739    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.005.sh
2740    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.006.sh
2741    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.007.sh
2742    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.011.sh
2743    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.012.sh
2744    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.013.sh
2745    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.014.sh
2746    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.015.sh
2747    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.016.sh
2748    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.017.sh
2749    %{_datadir}/ctdb/tests/eventscripts/05.system.monitor.018.sh
2750    %{_datadir}/ctdb/tests/eventscripts/06.nfs.releaseip.001.sh
2751    %{_datadir}/ctdb/tests/eventscripts/06.nfs.releaseip.002.sh
2752    %{_datadir}/ctdb/tests/eventscripts/06.nfs.takeip.001.sh
2753    %{_datadir}/ctdb/tests/eventscripts/06.nfs.takeip.002.sh
2754    %{_datadir}/ctdb/tests/eventscripts/10.interface.010.sh
2755    %{_datadir}/ctdb/tests/eventscripts/10.interface.011.sh
2756    %{_datadir}/ctdb/tests/eventscripts/10.interface.012.sh
2757    %{_datadir}/ctdb/tests/eventscripts/10.interface.013.sh
2758    %{_datadir}/ctdb/tests/eventscripts/10.interface.init.001.sh
2759    %{_datadir}/ctdb/tests/eventscripts/10.interface.init.002.sh
2760    %{_datadir}/ctdb/tests/eventscripts/10.interface.init.021.sh
2761    %{_datadir}/ctdb/tests/eventscripts/10.interface.init.022.sh
2762    %{_datadir}/ctdb/tests/eventscripts/10.interface.init.023.sh
2763    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.001.sh
2764    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.002.sh
2765    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.003.sh
2766    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.004.sh
2767    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.005.sh
2768    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.006.sh
2769    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.009.sh
2770    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.010.sh
2771    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.011.sh
2772    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.012.sh
2773    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.013.sh
2774    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.014.sh
2775    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.015.sh
2776    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.016.sh
2777    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.017.sh
2778    %{_datadir}/ctdb/tests/eventscripts/10.interface.monitor.018.sh
2779    %{_datadir}/ctdb/tests/eventscripts/10.interface.multi.001.sh
2780    %{_datadir}/ctdb/tests/eventscripts/10.interface.releaseip.001.sh
2781    %{_datadir}/ctdb/tests/eventscripts/10.interface.releaseip.002.sh
2782    %{_datadir}/ctdb/tests/eventscripts/10.interface.startup.001.sh
2783    %{_datadir}/ctdb/tests/eventscripts/10.interface.startup.002.sh
2784    %{_datadir}/ctdb/tests/eventscripts/10.interface.takeip.001.sh
2785    %{_datadir}/ctdb/tests/eventscripts/10.interface.takeip.002.sh
2786    %{_datadir}/ctdb/tests/eventscripts/10.interface.takeip.003.sh
2787    %{_datadir}/ctdb/tests/eventscripts/11.natgw.001.sh
2788    %{_datadir}/ctdb/tests/eventscripts/11.natgw.002.sh
2789    %{_datadir}/ctdb/tests/eventscripts/11.natgw.003.sh
2790    %{_datadir}/ctdb/tests/eventscripts/11.natgw.004.sh
2791    %{_datadir}/ctdb/tests/eventscripts/11.natgw.011.sh
2792    %{_datadir}/ctdb/tests/eventscripts/11.natgw.012.sh
2793    %{_datadir}/ctdb/tests/eventscripts/11.natgw.013.sh
2794    %{_datadir}/ctdb/tests/eventscripts/11.natgw.014.sh
2795    %{_datadir}/ctdb/tests/eventscripts/11.natgw.015.sh
2796    %{_datadir}/ctdb/tests/eventscripts/11.natgw.021.sh
2797    %{_datadir}/ctdb/tests/eventscripts/11.natgw.022.sh
2798    %{_datadir}/ctdb/tests/eventscripts/11.natgw.023.sh
2799    %{_datadir}/ctdb/tests/eventscripts/11.natgw.024.sh
2800    %{_datadir}/ctdb/tests/eventscripts/11.natgw.025.sh
2801    %{_datadir}/ctdb/tests/eventscripts/11.natgw.031.sh
2802    %{_datadir}/ctdb/tests/eventscripts/11.natgw.041.sh
2803    %{_datadir}/ctdb/tests/eventscripts/11.natgw.042.sh
2804    %{_datadir}/ctdb/tests/eventscripts/11.natgw.051.sh
2805    %{_datadir}/ctdb/tests/eventscripts/11.natgw.052.sh
2806    %{_datadir}/ctdb/tests/eventscripts/11.natgw.053.sh
2807    %{_datadir}/ctdb/tests/eventscripts/11.natgw.054.sh
2808    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.001.sh
2809    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.002.sh
2810    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.003.sh
2811    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.004.sh
2812    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.005.sh
2813    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.006.sh
2814    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.007.sh
2815    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.008.sh
2816    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.009.sh
2817    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.010.sh
2818    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.011.sh
2819    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.012.sh
2820    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.013.sh
2821    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.014.sh
2822    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.015.sh
2823    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.016.sh
2824    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.017.sh
2825    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.018.sh
2826    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.019.sh
2827    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.021.sh
2828    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.022.sh
2829    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.023.sh
2830    %{_datadir}/ctdb/tests/eventscripts/13.per_ip_routing.024.sh
2831    %{_datadir}/ctdb/tests/eventscripts/20.multipathd.monitor.001.sh
2832    %{_datadir}/ctdb/tests/eventscripts/20.multipathd.monitor.002.sh
2833    %{_datadir}/ctdb/tests/eventscripts/20.multipathd.monitor.003.sh
2834    %{_datadir}/ctdb/tests/eventscripts/20.multipathd.monitor.004.sh
2835    %{_datadir}/ctdb/tests/eventscripts/31.clamd.monitor.002.sh
2836    %{_datadir}/ctdb/tests/eventscripts/31.clamd.monitor.003.sh
2837    %{_datadir}/ctdb/tests/eventscripts/40.vsftpd.monitor.002.sh
2838    %{_datadir}/ctdb/tests/eventscripts/40.vsftpd.shutdown.002.sh
2839    %{_datadir}/ctdb/tests/eventscripts/40.vsftpd.startup.002.sh
2840    %{_datadir}/ctdb/tests/eventscripts/41.httpd.monitor.002.sh
2841    %{_datadir}/ctdb/tests/eventscripts/41.httpd.shutdown.002.sh
2842    %{_datadir}/ctdb/tests/eventscripts/41.httpd.startup.002.sh
2843    %{_datadir}/ctdb/tests/eventscripts/49.winbind.monitor.101.sh
2844    %{_datadir}/ctdb/tests/eventscripts/49.winbind.monitor.102.sh
2845    %{_datadir}/ctdb/tests/eventscripts/49.winbind.shutdown.002.sh
2846    %{_datadir}/ctdb/tests/eventscripts/49.winbind.startup.002.sh
2847    %{_datadir}/ctdb/tests/eventscripts/50.samba.monitor.101.sh
2848    %{_datadir}/ctdb/tests/eventscripts/50.samba.monitor.103.sh
2849    %{_datadir}/ctdb/tests/eventscripts/50.samba.monitor.104.sh
2850    %{_datadir}/ctdb/tests/eventscripts/50.samba.monitor.105.sh
2851    %{_datadir}/ctdb/tests/eventscripts/50.samba.monitor.106.sh
2852    %{_datadir}/ctdb/tests/eventscripts/50.samba.monitor.110.sh
2853    %{_datadir}/ctdb/tests/eventscripts/50.samba.monitor.111.sh
2854    %{_datadir}/ctdb/tests/eventscripts/50.samba.monitor.112.sh
2855    %{_datadir}/ctdb/tests/eventscripts/50.samba.monitor.113.sh
2856    %{_datadir}/ctdb/tests/eventscripts/50.samba.shutdown.001.sh
2857    %{_datadir}/ctdb/tests/eventscripts/50.samba.shutdown.002.sh
2858    %{_datadir}/ctdb/tests/eventscripts/50.samba.shutdown.011.sh
2859    %{_datadir}/ctdb/tests/eventscripts/50.samba.startup.011.sh
2860    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.101.sh
2861    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.102.sh
2862    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.103.sh
2863    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.104.sh
2864    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.105.sh
2865    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.106.sh
2866    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.107.sh
2867    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.108.sh
2868    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.109.sh
2869    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.111.sh
2870    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.112.sh
2871    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.113.sh
2872    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.114.sh
2873    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.121.sh
2874    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.122.sh
2875    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.131.sh
2876    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.132.sh
2877    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.141.sh
2878    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.142.sh
2879    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.143.sh
2880    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.144.sh
2881    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.151.sh
2882    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.152.sh
2883    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.153.sh
2884    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.161.sh
2885    %{_datadir}/ctdb/tests/eventscripts/60.nfs.monitor.162.sh
2886    %{_datadir}/ctdb/tests/eventscripts/60.nfs.multi.001.sh
2887    %{_datadir}/ctdb/tests/eventscripts/60.nfs.multi.002.sh
2888    %{_datadir}/ctdb/tests/eventscripts/60.nfs.releaseip.001.sh
2889    %{_datadir}/ctdb/tests/eventscripts/60.nfs.releaseip.002.sh
2890    %{_datadir}/ctdb/tests/eventscripts/60.nfs.shutdown.001.sh
2891    %{_datadir}/ctdb/tests/eventscripts/60.nfs.shutdown.002.sh
2892    %{_datadir}/ctdb/tests/eventscripts/60.nfs.startup.001.sh
2893    %{_datadir}/ctdb/tests/eventscripts/60.nfs.startup.002.sh
2894    %{_datadir}/ctdb/tests/eventscripts/60.nfs.takeip.001.sh
2895    %{_datadir}/ctdb/tests/eventscripts/60.nfs.takeip.002.sh
2896    %{_datadir}/ctdb/tests/eventscripts/91.lvs.001.sh
2897    %{_datadir}/ctdb/tests/eventscripts/91.lvs.ipreallocated.011.sh
2898    %{_datadir}/ctdb/tests/eventscripts/91.lvs.ipreallocated.012.sh
2899    %{_datadir}/ctdb/tests/eventscripts/91.lvs.ipreallocated.013.sh
2900    %{_datadir}/ctdb/tests/eventscripts/91.lvs.ipreallocated.014.sh
2901    %{_datadir}/ctdb/tests/eventscripts/91.lvs.monitor.001.sh
2902    %{_datadir}/ctdb/tests/eventscripts/91.lvs.monitor.002.sh
2903    %{_datadir}/ctdb/tests/eventscripts/91.lvs.monitor.003.sh
2904    %{_datadir}/ctdb/tests/eventscripts/91.lvs.shutdown.001.sh
2905    %{_datadir}/ctdb/tests/eventscripts/91.lvs.shutdown.002.sh
2906    %{_datadir}/ctdb/tests/eventscripts/91.lvs.startup.001.sh
2907    %{_datadir}/ctdb/tests/eventscripts/91.lvs.startup.002.sh
2908    %{_datadir}/ctdb/tests/eventscripts/statd-callout.001.sh
2909    %{_datadir}/ctdb/tests/eventscripts/statd-callout.002.sh
2910    %{_datadir}/ctdb/tests/eventscripts/statd-callout.003.sh
2911    %{_datadir}/ctdb/tests/eventscripts/statd-callout.004.sh
2912    %{_datadir}/ctdb/tests/eventscripts/statd-callout.005.sh
2913    %{_datadir}/ctdb/tests/eventscripts/statd-callout.006.sh
2914    %{_datadir}/ctdb/tests/eventscripts/statd-callout.007.sh
2915    
2916    %dir %{_datadir}/ctdb/tests/eventscripts/etc-ctdb
2917    %{_datadir}/ctdb/tests/eventscripts/etc-ctdb/public_addresses
2918    %{_datadir}/ctdb/tests/eventscripts/etc-ctdb/rc.local
2919    
2920    %dir %{_datadir}/ctdb/tests/eventscripts/etc
2921    %dir %{_datadir}/ctdb/tests/eventscripts/etc/init.d
2922    %{_datadir}/ctdb/tests/eventscripts/etc/init.d/nfs
2923    %{_datadir}/ctdb/tests/eventscripts/etc/init.d/nfslock
2924    
2925    %dir %{_datadir}/ctdb/tests/eventscripts/etc/samba
2926    %{_datadir}/ctdb/tests/eventscripts/etc/samba/smb.conf
2927    
2928    %dir %{_datadir}/ctdb/tests/eventscripts/etc/sysconfig
2929    %{_datadir}/ctdb/tests/eventscripts/etc/sysconfig/nfs
2930    
2931    %dir %{_datadir}/ctdb/tests/eventscripts/scripts
2932    %{_datadir}/ctdb/tests/eventscripts/scripts/local.sh
2933    %{_datadir}/ctdb/tests/eventscripts/scripts/00.ctdb.sh
2934    %{_datadir}/ctdb/tests/eventscripts/scripts/01.reclock.sh
2935    %{_datadir}/ctdb/tests/eventscripts/scripts/05.system.sh
2936    %{_datadir}/ctdb/tests/eventscripts/scripts/06.nfs.sh
2937    %{_datadir}/ctdb/tests/eventscripts/scripts/10.interface.sh
2938    %{_datadir}/ctdb/tests/eventscripts/scripts/11.natgw.sh
2939    %{_datadir}/ctdb/tests/eventscripts/scripts/13.per_ip_routing.sh
2940    %{_datadir}/ctdb/tests/eventscripts/scripts/20.multipathd.sh
2941    %{_datadir}/ctdb/tests/eventscripts/scripts/31.clamd.sh
2942    %{_datadir}/ctdb/tests/eventscripts/scripts/40.vsftpd.sh
2943    %{_datadir}/ctdb/tests/eventscripts/scripts/41.httpd.sh
2944    %{_datadir}/ctdb/tests/eventscripts/scripts/49.winbind.sh
2945    %{_datadir}/ctdb/tests/eventscripts/scripts/50.samba.sh
2946    %{_datadir}/ctdb/tests/eventscripts/scripts/60.nfs.sh
2947    %{_datadir}/ctdb/tests/eventscripts/scripts/91.lvs.sh
2948    %{_datadir}/ctdb/tests/eventscripts/scripts/statd-callout.sh
2949    
2950    %dir %{_datadir}/ctdb/tests/eventscripts/stubs
2951    %{_datadir}/ctdb/tests/eventscripts/stubs/ctdb
2952    %{_datadir}/ctdb/tests/eventscripts/stubs/ctdb-config
2953    %{_datadir}/ctdb/tests/eventscripts/stubs/ctdb_killtcp
2954    %{_datadir}/ctdb/tests/eventscripts/stubs/ctdb_lvs
2955    %{_datadir}/ctdb/tests/eventscripts/stubs/ctdb_natgw
2956    %{_datadir}/ctdb/tests/eventscripts/stubs/date
2957    %{_datadir}/ctdb/tests/eventscripts/stubs/df
2958    %{_datadir}/ctdb/tests/eventscripts/stubs/ethtool
2959    %{_datadir}/ctdb/tests/eventscripts/stubs/exportfs
2960    %{_datadir}/ctdb/tests/eventscripts/stubs/id
2961    %{_datadir}/ctdb/tests/eventscripts/stubs/ip
2962    %{_datadir}/ctdb/tests/eventscripts/stubs/ip6tables
2963    %{_datadir}/ctdb/tests/eventscripts/stubs/iptables
2964    %{_datadir}/ctdb/tests/eventscripts/stubs/ipvsadm
2965    %{_datadir}/ctdb/tests/eventscripts/stubs/kill
2966    %{_datadir}/ctdb/tests/eventscripts/stubs/killall
2967    %{_datadir}/ctdb/tests/eventscripts/stubs/multipath
2968    %{_datadir}/ctdb/tests/eventscripts/stubs/net
2969    %{_datadir}/ctdb/tests/eventscripts/stubs/pidof
2970    %{_datadir}/ctdb/tests/eventscripts/stubs/pkill
2971    %{_datadir}/ctdb/tests/eventscripts/stubs/ps
2972    %{_datadir}/ctdb/tests/eventscripts/stubs/rm
2973    %{_datadir}/ctdb/tests/eventscripts/stubs/rpc.lockd
2974    %{_datadir}/ctdb/tests/eventscripts/stubs/rpc.mountd
2975    %{_datadir}/ctdb/tests/eventscripts/stubs/rpc.rquotad
2976    %{_datadir}/ctdb/tests/eventscripts/stubs/rpc.statd
2977    %{_datadir}/ctdb/tests/eventscripts/stubs/rpcinfo
2978    %{_datadir}/ctdb/tests/eventscripts/stubs/service
2979    %{_datadir}/ctdb/tests/eventscripts/stubs/sleep
2980    %{_datadir}/ctdb/tests/eventscripts/stubs/smnotify
2981    %{_datadir}/ctdb/tests/eventscripts/stubs/ss
2982    %{_datadir}/ctdb/tests/eventscripts/stubs/tdbdump
2983    %{_datadir}/ctdb/tests/eventscripts/stubs/tdbtool
2984    %{_datadir}/ctdb/tests/eventscripts/stubs/testparm
2985    %{_datadir}/ctdb/tests/eventscripts/stubs/timeout
2986    %{_datadir}/ctdb/tests/eventscripts/stubs/wbinfo
2987    
2988    %dir %{_datadir}/ctdb/tests/onnode
2989    %{_datadir}/ctdb/tests/onnode/0001.sh
2990    %{_datadir}/ctdb/tests/onnode/0002.sh
2991    %{_datadir}/ctdb/tests/onnode/0003.sh
2992    %{_datadir}/ctdb/tests/onnode/0004.sh
2993    %{_datadir}/ctdb/tests/onnode/0005.sh
2994    %{_datadir}/ctdb/tests/onnode/0006.sh
2995    %{_datadir}/ctdb/tests/onnode/0010.sh
2996    %{_datadir}/ctdb/tests/onnode/0011.sh
2997    %{_datadir}/ctdb/tests/onnode/0070.sh
2998    %{_datadir}/ctdb/tests/onnode/0071.sh
2999    %{_datadir}/ctdb/tests/onnode/0072.sh
3000    %{_datadir}/ctdb/tests/onnode/0075.sh
3001    
3002    %dir %{_datadir}/ctdb/tests/onnode/etc-ctdb
3003    %{_datadir}/ctdb/tests/onnode/etc-ctdb/nodes
3004    
3005    %dir %{_datadir}/ctdb/tests/onnode/scripts
3006    %{_datadir}/ctdb/tests/onnode/scripts/local.sh
3007    
3008    %dir %{_datadir}/ctdb/tests/onnode/stubs
3009    %{_datadir}/ctdb/tests/onnode/stubs/ctdb
3010    %{_datadir}/ctdb/tests/onnode/stubs/ssh
3011    
3012    %dir %{_datadir}/ctdb/tests/scripts
3013    %{_datadir}/ctdb/tests/scripts/common.sh
3014    %{_datadir}/ctdb/tests/scripts/integration.bash
3015    %{_datadir}/ctdb/tests/scripts/script_install_paths.sh
3016    %{_datadir}/ctdb/tests/scripts/test_wrap
3017    %{_datadir}/ctdb/tests/scripts/unit.sh
3018    
3019    %dir %{_datadir}/ctdb/tests/shellcheck
3020    %{_datadir}/ctdb/tests/shellcheck/base_scripts.sh
3021    %{_datadir}/ctdb/tests/shellcheck/ctdb_helpers.sh
3022    %{_datadir}/ctdb/tests/shellcheck/ctdbd_wrapper.sh
3023    %{_datadir}/ctdb/tests/shellcheck/event_scripts.sh
3024    %{_datadir}/ctdb/tests/shellcheck/functions.sh
3025    %{_datadir}/ctdb/tests/shellcheck/init_script.sh
3026    %{_datadir}/ctdb/tests/shellcheck/tools.sh
3027    
3028    %dir %{_datadir}/ctdb/tests/shellcheck/scripts
3029    %{_datadir}/ctdb/tests/shellcheck/scripts/local.sh
3030    
3031    %dir %{_datadir}/ctdb/tests/simple
3032    %{_datadir}/ctdb/tests/simple/README
3033    %{_datadir}/ctdb/tests/simple/00_ctdb_onnode.sh
3034    %{_datadir}/ctdb/tests/simple/01_ctdb_reclock_command.sh
3035    %{_datadir}/ctdb/tests/simple/02_ctdb_tunables.sh
3036    %{_datadir}/ctdb/tests/simple/05_ctdb_listnodes.sh
3037    %{_datadir}/ctdb/tests/simple/06_ctdb_getpid.sh
3038    %{_datadir}/ctdb/tests/simple/07_ctdb_process_exists.sh
3039    %{_datadir}/ctdb/tests/simple/08_ctdb_isnotrecmaster.sh
3040    %{_datadir}/ctdb/tests/simple/09_ctdb_ping.sh
3041    %{_datadir}/ctdb/tests/simple/11_ctdb_ip.sh
3042    %{_datadir}/ctdb/tests/simple/12_ctdb_getdebug.sh
3043    %{_datadir}/ctdb/tests/simple/13_ctdb_setdebug.sh
3044    %{_datadir}/ctdb/tests/simple/14_ctdb_statistics.sh
3045    %{_datadir}/ctdb/tests/simple/15_ctdb_statisticsreset.sh
3046    %{_datadir}/ctdb/tests/simple/16_ctdb_config_add_ip.sh
3047    %{_datadir}/ctdb/tests/simple/17_ctdb_config_delete_ip.sh
3048    %{_datadir}/ctdb/tests/simple/18_ctdb_reloadips.sh
3049    %{_datadir}/ctdb/tests/simple/19_ip_takeover_noop.sh
3050    %{_datadir}/ctdb/tests/simple/20_delip_iface_gc.sh
3051    %{_datadir}/ctdb/tests/simple/21_ctdb_attach.sh
3052    %{_datadir}/ctdb/tests/simple/23_ctdb_moveip.sh
3053    %{_datadir}/ctdb/tests/simple/24_ctdb_getdbmap.sh
3054    %{_datadir}/ctdb/tests/simple/25_dumpmemory.sh
3055    %{_datadir}/ctdb/tests/simple/26_ctdb_config_check_error_on_unreachable_ctdb.sh
3056    %{_datadir}/ctdb/tests/simple/27_ctdb_detach.sh
3057    %{_datadir}/ctdb/tests/simple/28_zero_eventscripts.sh
3058    %{_datadir}/ctdb/tests/simple/32_ctdb_disable_enable.sh
3059    %{_datadir}/ctdb/tests/simple/35_ctdb_getreclock.sh
3060    %{_datadir}/ctdb/tests/simple/42_ctdb_stop_continue.sh
3061    %{_datadir}/ctdb/tests/simple/43_stop_recmaster_yield.sh
3062    %{_datadir}/ctdb/tests/simple/51_message_ring.sh
3063    %{_datadir}/ctdb/tests/simple/52_fetch_ring.sh
3064    %{_datadir}/ctdb/tests/simple/53_transaction_loop.sh
3065    %{_datadir}/ctdb/tests/simple/54_transaction_loop_recovery.sh
3066    %{_datadir}/ctdb/tests/simple/55_ctdb_ptrans.sh
3067    %{_datadir}/ctdb/tests/simple/56_replicated_transaction_recovery.sh
3068    %{_datadir}/ctdb/tests/simple/58_ctdb_restoredb.sh
3069    %{_datadir}/ctdb/tests/simple/60_recoverd_missing_ip.sh
3070    %{_datadir}/ctdb/tests/simple/69_recovery_resurrect_deleted.sh
3071    %{_datadir}/ctdb/tests/simple/70_recoverpdbbyseqnum.sh
3072    %{_datadir}/ctdb/tests/simple/71_ctdb_wipedb.sh
3073    %{_datadir}/ctdb/tests/simple/72_update_record_persistent.sh
3074    %{_datadir}/ctdb/tests/simple/73_tunable_NoIPTakeover.sh
3075    %{_datadir}/ctdb/tests/simple/75_readonly_records_basic.sh
3076    %{_datadir}/ctdb/tests/simple/76_ctdb_pdb_recovery.sh
3077    %{_datadir}/ctdb/tests/simple/77_ctdb_db_recovery.sh
3078    %{_datadir}/ctdb/tests/simple/78_ctdb_large_db_recovery.sh
3079    %{_datadir}/ctdb/tests/simple/79_volatile_db_traverse.sh
3080    %{_datadir}/ctdb/tests/simple/80_ctdb_traverse.sh
3081    %{_datadir}/ctdb/tests/simple/81_tunnel_ring.sh
3082    %{_datadir}/ctdb/tests/simple/90_debug_hung_script.sh
3083    
3084    %dir %{_datadir}/ctdb/tests/simple/scripts
3085    %{_datadir}/ctdb/tests/simple/scripts/local.bash
3086    %{_datadir}/ctdb/tests/simple/scripts/local_daemons.bash
3087    
3088    %dir %{_datadir}/ctdb/tests/takeover
3089    %{_datadir}/ctdb/tests/takeover/README
3090    %{_datadir}/ctdb/tests/takeover/det.001.sh
3091    %{_datadir}/ctdb/tests/takeover/det.002.sh
3092    %{_datadir}/ctdb/tests/takeover/det.003.sh
3093    %{_datadir}/ctdb/tests/takeover/lcp2.001.sh
3094    %{_datadir}/ctdb/tests/takeover/lcp2.002.sh
3095    %{_datadir}/ctdb/tests/takeover/lcp2.003.sh
3096    %{_datadir}/ctdb/tests/takeover/lcp2.004.sh
3097    %{_datadir}/ctdb/tests/takeover/lcp2.005.sh
3098    %{_datadir}/ctdb/tests/takeover/lcp2.006.sh
3099    %{_datadir}/ctdb/tests/takeover/lcp2.007.sh
3100    %{_datadir}/ctdb/tests/takeover/lcp2.008.sh
3101    %{_datadir}/ctdb/tests/takeover/lcp2.009.sh
3102    %{_datadir}/ctdb/tests/takeover/lcp2.010.sh
3103    %{_datadir}/ctdb/tests/takeover/lcp2.011.sh
3104    %{_datadir}/ctdb/tests/takeover/lcp2.012.sh
3105    %{_datadir}/ctdb/tests/takeover/lcp2.013.sh
3106    %{_datadir}/ctdb/tests/takeover/lcp2.014.sh
3107    %{_datadir}/ctdb/tests/takeover/lcp2.015.sh
3108    %{_datadir}/ctdb/tests/takeover/lcp2.016.sh
3109    %{_datadir}/ctdb/tests/takeover/lcp2.024.sh
3110    %{_datadir}/ctdb/tests/takeover/lcp2.025.sh
3111    %{_datadir}/ctdb/tests/takeover/lcp2.027.sh
3112    %{_datadir}/ctdb/tests/takeover/lcp2.028.sh
3113    %{_datadir}/ctdb/tests/takeover/lcp2.029.sh
3114    %{_datadir}/ctdb/tests/takeover/lcp2.030.sh
3115    %{_datadir}/ctdb/tests/takeover/lcp2.031.sh
3116    %{_datadir}/ctdb/tests/takeover/lcp2.032.sh
3117    %{_datadir}/ctdb/tests/takeover/lcp2.033.sh
3118    %{_datadir}/ctdb/tests/takeover/lcp2.034.sh
3119    %{_datadir}/ctdb/tests/takeover/lcp2.035.sh
3120    %{_datadir}/ctdb/tests/takeover/nondet.001.sh
3121    %{_datadir}/ctdb/tests/takeover/nondet.002.sh
3122    %{_datadir}/ctdb/tests/takeover/nondet.003.sh
3123    
3124    %dir %{_datadir}/ctdb/tests/takeover/scripts
3125    %{_datadir}/ctdb/tests/takeover/scripts/local.sh
3126    
3127    %dir %{_datadir}/ctdb/tests/takeover_helper
3128    %{_datadir}/ctdb/tests/takeover_helper/000.sh
3129    %{_datadir}/ctdb/tests/takeover_helper/010.sh
3130    %{_datadir}/ctdb/tests/takeover_helper/011.sh
3131    %{_datadir}/ctdb/tests/takeover_helper/012.sh
3132    %{_datadir}/ctdb/tests/takeover_helper/013.sh
3133    %{_datadir}/ctdb/tests/takeover_helper/014.sh
3134    %{_datadir}/ctdb/tests/takeover_helper/016.sh
3135    %{_datadir}/ctdb/tests/takeover_helper/017.sh
3136    %{_datadir}/ctdb/tests/takeover_helper/018.sh
3137    %{_datadir}/ctdb/tests/takeover_helper/019.sh
3138    %{_datadir}/ctdb/tests/takeover_helper/021.sh
3139    %{_datadir}/ctdb/tests/takeover_helper/022.sh
3140    %{_datadir}/ctdb/tests/takeover_helper/023.sh
3141    %{_datadir}/ctdb/tests/takeover_helper/024.sh
3142    %{_datadir}/ctdb/tests/takeover_helper/025.sh
3143    %{_datadir}/ctdb/tests/takeover_helper/026.sh
3144    %{_datadir}/ctdb/tests/takeover_helper/027.sh
3145    %{_datadir}/ctdb/tests/takeover_helper/028.sh
3146    %{_datadir}/ctdb/tests/takeover_helper/030.sh
3147    %{_datadir}/ctdb/tests/takeover_helper/031.sh
3148    %{_datadir}/ctdb/tests/takeover_helper/110.sh
3149    %{_datadir}/ctdb/tests/takeover_helper/111.sh
3150    %{_datadir}/ctdb/tests/takeover_helper/120.sh
3151    %{_datadir}/ctdb/tests/takeover_helper/121.sh
3152    %{_datadir}/ctdb/tests/takeover_helper/122.sh
3153    %{_datadir}/ctdb/tests/takeover_helper/130.sh
3154    %{_datadir}/ctdb/tests/takeover_helper/131.sh
3155    %{_datadir}/ctdb/tests/takeover_helper/132.sh
3156    %{_datadir}/ctdb/tests/takeover_helper/140.sh
3157    %{_datadir}/ctdb/tests/takeover_helper/150.sh
3158    %{_datadir}/ctdb/tests/takeover_helper/160.sh
3159    %{_datadir}/ctdb/tests/takeover_helper/210.sh
3160    %{_datadir}/ctdb/tests/takeover_helper/211.sh
3161    %{_datadir}/ctdb/tests/takeover_helper/220.sh
3162    %{_datadir}/ctdb/tests/takeover_helper/230.sh
3163    %{_datadir}/ctdb/tests/takeover_helper/240.sh
3164    %{_datadir}/ctdb/tests/takeover_helper/250.sh
3165    %{_datadir}/ctdb/tests/takeover_helper/260.sh
3166    
3167    %dir %{_datadir}/ctdb/tests/takeover_helper/scripts
3168    %{_datadir}/ctdb/tests/takeover_helper/scripts/local.sh
3169    
3170    %dir %{_datadir}/ctdb/tests/tool
3171    %{_datadir}/ctdb/tests/tool/README
3172    %{_datadir}/ctdb/tests/tool/ctdb.attach.001.sh
3173    %{_datadir}/ctdb/tests/tool/ctdb.attach.002.sh
3174    %{_datadir}/ctdb/tests/tool/ctdb.attach.003.sh
3175    %{_datadir}/ctdb/tests/tool/ctdb.ban.001.sh
3176    %{_datadir}/ctdb/tests/tool/ctdb.ban.002.sh
3177    %{_datadir}/ctdb/tests/tool/ctdb.ban.003.sh
3178    %{_datadir}/ctdb/tests/tool/ctdb.catdb.001.sh
3179    %{_datadir}/ctdb/tests/tool/ctdb.catdb.002.sh
3180    %{_datadir}/ctdb/tests/tool/ctdb.cattdb.001.sh
3181    %{_datadir}/ctdb/tests/tool/ctdb.cattdb.002.sh
3182    %{_datadir}/ctdb/tests/tool/ctdb.continue.001.sh
3183    %{_datadir}/ctdb/tests/tool/ctdb.continue.002.sh
3184    %{_datadir}/ctdb/tests/tool/ctdb.continue.003.sh
3185    %{_datadir}/ctdb/tests/tool/ctdb.deletekey.001.sh
3186    %{_datadir}/ctdb/tests/tool/ctdb.disable.001.sh
3187    %{_datadir}/ctdb/tests/tool/ctdb.disable.002.sh
3188    %{_datadir}/ctdb/tests/tool/ctdb.disable.003.sh
3189    %{_datadir}/ctdb/tests/tool/ctdb.disable.004.sh
3190    %{_datadir}/ctdb/tests/tool/ctdb.enable.001.sh
3191    %{_datadir}/ctdb/tests/tool/ctdb.enable.002.sh
3192    %{_datadir}/ctdb/tests/tool/ctdb.enable.003.sh
3193    %{_datadir}/ctdb/tests/tool/ctdb.getcapabilities.001.sh
3194    %{_datadir}/ctdb/tests/tool/ctdb.getcapabilities.002.sh
3195    %{_datadir}/ctdb/tests/tool/ctdb.getcapabilities.003.sh
3196    %{_datadir}/ctdb/tests/tool/ctdb.getcapabilities.004.sh
3197    %{_datadir}/ctdb/tests/tool/ctdb.getdbmap.001.sh
3198    %{_datadir}/ctdb/tests/tool/ctdb.getdbseqnum.001.sh
3199    %{_datadir}/ctdb/tests/tool/ctdb.getdbseqnum.002.sh
3200    %{_datadir}/ctdb/tests/tool/ctdb.getdbstatus.001.sh
3201    %{_datadir}/ctdb/tests/tool/ctdb.getdbstatus.002.sh
3202    %{_datadir}/ctdb/tests/tool/ctdb.getpid.001.sh
3203    %{_datadir}/ctdb/tests/tool/ctdb.getreclock.001.sh
3204    %{_datadir}/ctdb/tests/tool/ctdb.getreclock.002.sh
3205    %{_datadir}/ctdb/tests/tool/ctdb.getvar.001.sh
3206    %{_datadir}/ctdb/tests/tool/ctdb.getvar.002.sh
3207    %{_datadir}/ctdb/tests/tool/ctdb.ifaces.001.sh
3208    %{_datadir}/ctdb/tests/tool/ctdb.ip.001.sh
3209    %{_datadir}/ctdb/tests/tool/ctdb.ip.002.sh
3210    %{_datadir}/ctdb/tests/tool/ctdb.ip.003.sh
3211    %{_datadir}/ctdb/tests/tool/ctdb.ip.004.sh
3212    %{_datadir}/ctdb/tests/tool/ctdb.ip.005.sh
3213    %{_datadir}/ctdb/tests/tool/ctdb.ip.006.sh
3214    %{_datadir}/ctdb/tests/tool/ctdb.ip.007.sh
3215    %{_datadir}/ctdb/tests/tool/ctdb.ipinfo.001.sh
3216    %{_datadir}/ctdb/tests/tool/ctdb.ipinfo.002.sh
3217    %{_datadir}/ctdb/tests/tool/ctdb.ipinfo.003.sh
3218    %{_datadir}/ctdb/tests/tool/ctdb.listnodes.001.sh
3219    %{_datadir}/ctdb/tests/tool/ctdb.listnodes.002.sh
3220    %{_datadir}/ctdb/tests/tool/ctdb.listvars.001.sh
3221    %{_datadir}/ctdb/tests/tool/ctdb.lvs.001.sh
3222    %{_datadir}/ctdb/tests/tool/ctdb.lvs.002.sh
3223    %{_datadir}/ctdb/tests/tool/ctdb.lvs.003.sh
3224    %{_datadir}/ctdb/tests/tool/ctdb.lvs.004.sh
3225    %{_datadir}/ctdb/tests/tool/ctdb.lvs.005.sh
3226    %{_datadir}/ctdb/tests/tool/ctdb.lvs.006.sh
3227    %{_datadir}/ctdb/tests/tool/ctdb.lvs.007.sh
3228    %{_datadir}/ctdb/tests/tool/ctdb.lvs.008.sh
3229    %{_datadir}/ctdb/tests/tool/ctdb.natgw.001.sh
3230    %{_datadir}/ctdb/tests/tool/ctdb.natgw.002.sh
3231    %{_datadir}/ctdb/tests/tool/ctdb.natgw.003.sh
3232    %{_datadir}/ctdb/tests/tool/ctdb.natgw.004.sh
3233    %{_datadir}/ctdb/tests/tool/ctdb.natgw.005.sh
3234    %{_datadir}/ctdb/tests/tool/ctdb.natgw.006.sh
3235    %{_datadir}/ctdb/tests/tool/ctdb.natgw.007.sh
3236    %{_datadir}/ctdb/tests/tool/ctdb.natgw.008.sh
3237    %{_datadir}/ctdb/tests/tool/ctdb.nodestatus.001.sh
3238    %{_datadir}/ctdb/tests/tool/ctdb.nodestatus.002.sh
3239    %{_datadir}/ctdb/tests/tool/ctdb.nodestatus.003.sh
3240    %{_datadir}/ctdb/tests/tool/ctdb.nodestatus.004.sh
3241    %{_datadir}/ctdb/tests/tool/ctdb.nodestatus.005.sh
3242    %{_datadir}/ctdb/tests/tool/ctdb.nodestatus.006.sh
3243    %{_datadir}/ctdb/tests/tool/ctdb.pdelete.001.sh
3244    %{_datadir}/ctdb/tests/tool/ctdb.ping.001.sh
3245    %{_datadir}/ctdb/tests/tool/ctdb.pnn.001.sh
3246    %{_datadir}/ctdb/tests/tool/ctdb.process-exists.001.sh
3247    %{_datadir}/ctdb/tests/tool/ctdb.process-exists.002.sh
3248    %{_datadir}/ctdb/tests/tool/ctdb.process-exists.003.sh
3249    %{_datadir}/ctdb/tests/tool/ctdb.pstore.001.sh
3250    %{_datadir}/ctdb/tests/tool/ctdb.ptrans.001.sh
3251    %{_datadir}/ctdb/tests/tool/ctdb.readkey.001.sh
3252    %{_datadir}/ctdb/tests/tool/ctdb.recmaster.001.sh
3253    %{_datadir}/ctdb/tests/tool/ctdb.recmaster.002.sh
3254    %{_datadir}/ctdb/tests/tool/ctdb.recover.001.sh
3255    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.001.sh
3256    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.002.sh
3257    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.003.sh
3258    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.011.sh
3259    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.012.sh
3260    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.013.sh
3261    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.014.sh
3262    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.015.sh
3263    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.016.sh
3264    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.017.sh
3265    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.018.sh
3266    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.019.sh
3267    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.020.sh
3268    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.021.sh
3269    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.023.sh
3270    %{_datadir}/ctdb/tests/tool/ctdb.reloadnodes.024.sh
3271    %{_datadir}/ctdb/tests/tool/ctdb.runstate.001.sh
3272    %{_datadir}/ctdb/tests/tool/ctdb.runstate.002.sh
3273    %{_datadir}/ctdb/tests/tool/ctdb.runstate.003.sh
3274    %{_datadir}/ctdb/tests/tool/ctdb.runstate.004.sh
3275    %{_datadir}/ctdb/tests/tool/ctdb.runstate.005.sh
3276    %{_datadir}/ctdb/tests/tool/ctdb.setdbreadonly.001.sh
3277    %{_datadir}/ctdb/tests/tool/ctdb.setdbreadonly.002.sh
3278    %{_datadir}/ctdb/tests/tool/ctdb.setdbreadonly.003.sh
3279    %{_datadir}/ctdb/tests/tool/ctdb.setdbreadonly.004.sh
3280    %{_datadir}/ctdb/tests/tool/ctdb.setdbreadonly.005.sh
3281    %{_datadir}/ctdb/tests/tool/ctdb.setdbsticky.001.sh
3282    %{_datadir}/ctdb/tests/tool/ctdb.setdbsticky.002.sh
3283    %{_datadir}/ctdb/tests/tool/ctdb.setdbsticky.003.sh
3284    %{_datadir}/ctdb/tests/tool/ctdb.setdbsticky.004.sh
3285    %{_datadir}/ctdb/tests/tool/ctdb.setdbsticky.005.sh
3286    %{_datadir}/ctdb/tests/tool/ctdb.setdebug.001.sh
3287    %{_datadir}/ctdb/tests/tool/ctdb.setdebug.002.sh
3288    %{_datadir}/ctdb/tests/tool/ctdb.setdebug.003.sh
3289    %{_datadir}/ctdb/tests/tool/ctdb.setifacelink.001.sh
3290    %{_datadir}/ctdb/tests/tool/ctdb.setifacelink.002.sh
3291    %{_datadir}/ctdb/tests/tool/ctdb.setvar.001.sh
3292    %{_datadir}/ctdb/tests/tool/ctdb.setvar.002.sh
3293    %{_datadir}/ctdb/tests/tool/ctdb.status.001.sh
3294    %{_datadir}/ctdb/tests/tool/ctdb.status.002.sh
3295    %{_datadir}/ctdb/tests/tool/ctdb.stop.001.sh
3296    %{_datadir}/ctdb/tests/tool/ctdb.stop.002.sh
3297    %{_datadir}/ctdb/tests/tool/ctdb.stop.003.sh
3298    %{_datadir}/ctdb/tests/tool/ctdb.unban.001.sh
3299    %{_datadir}/ctdb/tests/tool/ctdb.unban.002.sh
3300    %{_datadir}/ctdb/tests/tool/ctdb.unban.003.sh
3301    %{_datadir}/ctdb/tests/tool/ctdb.uptime.001.sh
3302    %{_datadir}/ctdb/tests/tool/ctdb.writekey.001.sh
3303    
3304  * Mon Jul 04 2016 Andreas Schneider <asn@redhat.com> - 4.2.10-7  %dir %{_datadir}/ctdb/tests/tool/scripts
3305  - resolves: #1351960 - Fix CVE-2016-2119  %{_datadir}/ctdb/tests/tool/scripts/local.sh
3306    
3307  * Tue Jun 28 2016 Andreas Schneider <asn@redhat.com> - 4.2.10-6.3  %endif # with_clustering_support
3308  - resolves: #1350759 - Fix idmap_hash when used with other modules  
3309  - resolves: #1351260 - Fix krb5 encryption type setup during join  %changelog
3310    * Sat Jul 15 2023 Andreas Schneider <asn@redhat.com> - 4.10.16-24.1
3311  * Wed Jun 01 2016 Andreas Schneider <asn@redhat.com> - 4.2.10-6.2  - related: #2222250 - Fix trust relationship broken
3312  - related: #1333794 - Fix issues caused by security tightening for Badlock  - labelled 24.1 as we wait for 25 from upstream
3313    o ntlm_auth issues and segfault  - Zsolt Vasarhelyi backport work for SME Server Koozali
3314    o rpcclient doesn't respect "client ipc *" options  
3315    o fix anonymous authentication if signing is mandatory  * Fri Jan 20 2023 Andreas Schneider <asn@redhat.com> - 4.10.16-24
3316    - related: #2154364 - Add additional patches for CVE-2022-38023
3317  * Fri May 06 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-6.1  
3318  - Fix issues caused by security tightening for Badlock:  * Wed Dec 21 2022 Andreas Schneider <asn@redhat.com> - 4.10.16-23
3319    - Only validate MIC when "map to guest" is set  - resolves: #2154364 - Fix CVE-2022-38023
3320    - NetApp SMB servers don't negotiate NTLMSSP_SIGN  
3321    - Anonymous connections don't work anymore  * Tue Aug 30 2022 Andreas Schneider <asn@redhat.com> - 4.10.16-20
3322    - wbinfo -u or 'net ads search' don't work anymore  - resolves: #2119058 - Fix possible segfault in winbind
3323    - Handle empty session in client code  
3324  - resolves: #1333794  * Tue May 10 2022 Andreas Schneider <asn@redhat.com> - 4.10.16-19
3325    - resolves: #2081649 - Fix idmap_rfc2307 and idmap_nss returning wrong
3326                           mapping for uid/gid conflict
3327    
3328    * Tue Jan 25 2022 Andreas Schneider <asn@redhat.com> - 4.10.16-18
3329    - resolves: #2034800 - Fix usermap script regression caused by CVE-2020-25717
3330    - resolves: #2036595 - Fix MIT realm regression caused by CVE-2020-25717
3331    - resolves: #2046148 - Fix CVE-2021-44142
3332    
3333    * Mon Nov 15 2021 Andreas Schneider <asn@redhat.com> - 4.10.16-17
3334    - related: #2019673 - Add missing checks for IPA DC server role
3335    
3336    * Mon Nov 08 2021 Andreas Schneider <asn@redhat.com> - 4.10.16-16
3337    - resolves: #2019661 - Fix CVE-2016-2124
3338    - resolves: #2019673 - Fix CVE-2020-25717
3339    - resolves: #2021428 - Add missing PAC buffer types to krb5pac.idl
3340    
3341    * Mon Apr 26 2021 Andreas Schneider <asn@redhat.com> - 4.10.16-15
3342    - resolves: #1949444 - Fix CVE-2021-20254
3343    
3344    * Mon Apr 12 2021 Andreas Schneider <asn@redhat.com> - 4.10.16-14
3345    - resolves: #1937867 - Fix possible core dump with printing support
3346    - resolves: #1930747 - Ensure that libwbclient has been updated before
3347                           restarting services
3348    
3349    * Wed Feb 03 2021 Andreas Schneider <asn@redhat.com> - 4.10.16-13
3350    - related: #1876839 - Fix double crash when requesting share mode lock
3351    
3352    * Wed Jan 20 2021 Andreas Schneider <asn@redhat.com> - 4.10.16-11
3353    - resolves: #1876839 - Fix double crash when requesting share mode lock
3354    
3355    * Tue Dec 22 2020 Andreas Schneider <asn@redhat.com> - 4.10.16-10
3356    - resolves: #1868327 - Fix winbind in trust scenaries with connection issues
3357    
3358    * Fri Nov 06 2020 Andreas Schneider <asn@redhat.com> - 4.10.16-9
3359    - related: #1853272 - Add back missing patch hunks
3360    
3361    * Mon Nov 02 2020 Andreas Schneider <asn@redhat.com> - 4.10.16-8
3362    - resolves: #1878205 - Fix restarting winbind on package upgrade
3363    - resolves: #1892632 - Fix CVE-2020-14318
3364    - resolves: #1891687 - Fix CVE-2020-14323
3365    - resolves: #1879834 - Fix CVE-2020-1472
3366    - resolves: #1892313 - Fix memory leak in winbindd (wbinfo -u)
3367    - resolves: #1868917 - Fix %U substitution for 'valid users' option
3368    - resolves: #1853272 - Fix 'require_membership_of' documentation in
3369                           pam_winbind{.conf} manpage
3370    
3371    * Tue Jul 21 2020 Isaac Boukris <iboukris@redhat.com> - 4.10.16-7
3372    - related: #1852812 - trigger a rebuild to get the right tag
3373    
3374    * Thu Jul 16 2020 Isaac Boukris <iboukris@redhat.com> - 4.10.16-6
3375    - resolves: #1852812 - Fix additioanl hostnames with win DC
3376    
3377    * Wed Jun 03 2020 Andreas Schneider <asn@redhat.com> - 4.10-16-5
3378    - related: #1785121 - Add missing RPM Requires
3379    
3380    * Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 4.10.16-2
3381    - resolves: #1828354 - add additioanl hostnames to the keytab
3382    - resolves: #1836427 - add dnshostname option net-ads-join
3383    
3384    * Mon May 25 2020 Andreas Schneider <asn@redhat.com> - 4.10.16-1
3385    - related: #1785121 - Rebase to version 4.10.16
3386    
3387    * Tue May 19 2020 Andreas Schneider <asn@redhat.com> - 4.10.15-5
3388    - resolves: #1831986 - Fix gencache for normal users
3389    
3390    * Thu May 07 2020 Andreas Schneider <asn@redhat.com> - 4.10.15-4
3391    - resolves: #1813017 - Fix smbclient log to file
3392    
3393    * Tue May 05 2020 Andreas Schneider <asn@redhat.com> - 4.10.15-3
3394    - Removed patch for #1634057
3395    
3396    * Mon May 4 2020 Isaac Boukris <iboukris@redhat.com> - 4.10.15-2
3397    - resolves: #1825505 - Compilation of samba sources fails on RHEL
3398    
3399    * Thu Apr 30 2020 Andreas Schneider <asn@redhat.com> - 4.10.15-1
3400    - related: #1785121 - Rebase to version 4.10.15
3401    - resolves: #1828924 - Fix typo in pam_winbind documentation about require_membership_of
3402    - resolves: #1801496 - Add missing ctdb directories
3403    
3404    * Thu Apr 16 2020 Isaac Boukris <iboukris@redhat.com> - 4.10.13-2
3405    - resolves: #1810511 - Fix net-ads-keytab-create to include UPN
3406    
3407    * Mon Feb 03 2020 Andreas Schneider <asn@redhat.com> - 4.10.13-1
3408    - resolves: #1785121 - Rebase to vesion 4.10.13
3409    - resolves: #1791208 - Fix CVE-2019-14907
3410    - resolves: #1737888 - Fix manual libwbclient alternative settings
3411    - resolves: #1634057 - Return correct stat for SMB1 with POSIX extensions
3412    
3413    * Mon Feb 03 2020 Andreas Schneider <asn@redhat.com> - 4.10.4-11
3414    - resolves: #1791823 - Fix Kerberos authentication with trusted domains
3415    - resolves: #1781231 - Fix smbclient mkdir log spam
3416    - resolves: #1776333 - Fix client tools log spam about messaging
3417    
3418    * Wed Jan 08 2020 Alexander Bokovoy <abokovoy@redhat.com> - 4.10.4-10
3419    - resolves: #1786324 - fix security level check for DsRGetForestTrustInformation
3420    
3421    * Thu Oct 31 2019 Isaac Boukris <iboukris@redhat.com> - 4.10.4-9
3422    - resolves: #1764468 - Fix CVE-2019-10218
3423    
3424    * Wed Oct 30 2019 Isaac Boukris <iboukris@redhat.com> - 4.10.4-8
3425    - resolves: #1656541 - Fix join using netbios name
3426    
3427    * Mon Oct 14 2019 Isaac Boukris <iboukris@redhat.com> - 4.10.4-7
3428    - resolves: #1657428 - Fix spnego downgrade
3429    - resolves: #1663064 - Fix net ads join in hardened environments
3430    
3431    * Fri Oct 04 2019 Andreas Schneider <asn@redhat.com> - 4.10.4-6
3432    - resolves: #1753254 - Fix trusted domain enumeration in windind caused
3433                           a Active Directory update
3434    
3435    * Thu Sep 19 2019 Andreas Schneider <asn@redhat.com> - 4.10.4-5
3436    - resolves: #1751335 - Fix username/passwd auth with smbspool
3437    
3438    * Mon Sep 16 2019 Andreas Schneider <asn@redhat.com> - 4.10.4-4
3439    - resolves: #1740986 - Fix issues creating BUILTIN\Guests
3440    
3441    * Thu Sep 05 2019 Guenther Deschner <gdeschner@redhat.com> - 4.10.4-3
3442    - resolves: #1746240 - Security fix for CVE-2019-10197
3443    
3444    * Wed Sep 04 2019 Guenther Deschner <gdeschner@redhat.com> - 4.10.4-2
3445    - resolves: #1740000 - Fix 'net ads join createcomputer=<accountou>'
3446    
3447    * Wed Aug 14 2019 Andreas Schneider <asn@redhat.com> - 4.10.4-1
3448    - resolves: #1497809 - Add --resolve-uids for 'smbstatus -L'
3449    - resolves: #1714947 - Fix idmap_tdb2 scripts
3450    
3451    * Wed Aug 14 2019 Andreas Schneider <asn@redhat.com> - 4.10.4-0
3452    - resolves: #1724991 - Update to version 4.10.4
3453    - resolves: #1595277 - Update manpage for 'net ads lookup'
3454    
3455    * Fri May 24 2019 Andreas Schneider <asn@redhat.com> - 4.9.1-6
3456    - related: #1703204 - Fix printing with smbspool as CUPS backend
3457    
3458    * Fri May 10 2019 Andreas Schneider <asn@redhat.com> - 4.9.1-5
3459    - resolves: #1703204 - Fix smbspool krb5 authentication
3460    
3461    * Thu Mar 28 2019 Andreas Schneider <asn@redhat.com> - 4.9.1-4
3462    - resolves: #1690222 - Fix --max-protocol documentation of smbclient
3463    - resolves: #1518353 - Fix 'net ads join -Uadmin@forestdomain'
3464    - resolves: #1696524 - Fix CVE-2019-3880
3465    
3466    * Thu Mar 14 2019 Andreas Schneider <asn@redhat.com> - 4.9.1-3
3467    - resolves: #1479451 - Fix 'net' command auth with Kerberos
3468    - resolves: #1686158 - Fix printing with CUPS
3469    - resolves: #1662408 - Fix username/password printing with CUPS
3470    
3471    * Mon Feb 11 2019 Andreas Schneider <asn@redhat.com> - 4.9.1-2
3472    - resolves: #1674403 - Fix panic when setting 'force group' on a share with
3473                           an active connections
3474    - resolves: #1670720 - Fix installation of samba-python
3475    - resolves: #1669476 - Fix user lookup via UPN
3476    
3477    * Fri Jan 18 2019 Andreas Schneider <asn@redhat.com> - 4.9.1-1
3478    - resolves: #1649434 - Update to version 4.9.1
3479    - resolves: #1648852 - Fix out of bound array access in ctdb
3480    - resolves: #1647960 - Fix segfault in the debug system with hardended build
3481    - resolves: #1644328 - Fix segfault if wrong 'passdb backend' is configured
3482    - resolves: #1650452 - Add smbc_setOptionProtocols()
3483    - resolves: #1659513 - Fix testparm/pdbedit crash
3484    - resolves: #1529301 - Added new 'net ads spn' command
3485    - resolves: #1595277 - Fix manpage for 'net ads lookup'
3486    - resolves: #1600274 - Fix vfs_audit log which does not show full path names
3487    - resolves: #1623140 - Fix handling the 'disable netbios' option
3488    - resolves: #1624227 - Connect to spoolss with the correct version information
3489    - resolves: #1659533 - Fix new file and folder creation with vfs_glusterfs
3490    - resolves: #1579401 - Implement 'net ads leave --keep-account'
3491    - resolves: #1624227 - Fix spoolss client operations against newer Windows
3492                           versions
3493    - resolves: #1656405 - Fix looking up local system accounts
3494    
3495    * Thu Aug 09 2018 Andreas Schneider <asn@redhat.com> - 4.8.3-4
3496    - resolves: #1614132 - Fix delete-on-close after smb2_find
3497    - resolves: #1614265 - Fix CVE-2018-1139
3498    - resolves: #1614269 - Fix CVE-2018-10858
3499    
3500    * Fri Jul 06 2018 Justin Stephenson <jstephen@redhat.com> - 4.8.3-3
3501    - resolves: #1581016 - Add smbclient quiet argument
3502    
3503    * Thu Jul 05 2018 Andreas Schneider <asn@redhat.com> - 4.8.3-2
3504    - related: #1538743 - Fix local user account lookup with winbind
3505    
3506    * Wed Jun 27 2018 Andreas Schneider <asn@redhat.com> - 4.8.3-1
3507    - related: #1558560 - Rebase to Samba version 4.8.3
3508    - resolves: #1579398 - Add winbind localauth krb5 plugin
3509    
3510    * Wed Jun 13 2018 Andreas Schneider <asn@redhat.com> - 4.8.2-2
3511    - resolves: #1540457 - Fixed support for authenticaton on on way trusts
3512    
3513    * Mon Jun 11 2018 Andreas Schneider <asn@redhat.com> - 4.8.2-1
3514    - related: #1558560 - Rebase to newer Samba version
3515    
3516    * Wed May 30 2018 Andreas Schneider <asn@redhat.com> - 4.8.1-4
3517    - resolves: #1582541 - Fix anonymous auth with SMB2/3
3518    
3519    * Tue May 22 2018 Andreas Schneider <asn@redhat.com> - 4.8.1-3
3520    - resolves: #1575205 - Fix segfault when updating DNS with 'net ads join'
3521    - resolves: #1525511 - Fix idmap_rid dependency on trusted domain list
3522    
3523    * Wed May 16 2018 Andreas Schneider <asn@redhat.com> - 4.8.1-2
3524    - resolves: #1538743 - Fix UPN handling in winbind
3525    
3526    * Fri Apr 27 2018 Andreas Schneider <asn@redhat.com> - 4.8.1-1
3527    - related: #1558560 - Rebase to newer Samba version
3528    - resolves: #1567896 - Fix possible crash if secrets db is emtpy
3529    - resolves: #1570020 - Fix a crash in smbd when dfsgetinfo is called
3530    
3531    * Thu Apr 12 2018 Andreas Schneider <asn@redhat.com> - 4.8.0-1
3532    - resolves: #1558560 - Rebase to newer Samba version
3533    - resolves: #1558943 - Fix winbind requests getting stuck on a child
3534    - resolves: #1532618 - Fix segfault with NT1 connections in smbd
3535    
3536    * Fri Mar 09 2018 Andreas Schneider <asn@redhat.com> - 4.7.1-7
3537    - resolves: #1552004 - Fix CVE-2018-1050
3538    
3539    * Wed Dec 20 2017 Andreas Schneider <asn@redhat.com> - 4.7.1-6
3540    - resolves: #1476153 - Handle SMB echo responses more gracefully
3541    - resolves: #1523212 - Fix SMB2 client read-after-free issue
3542    
3543    * Mon Dec 04 2017 Andreas Schneider <asn@redhat.com> - 4.7.1-5
3544    - resolves: #1505940 - Fix 'net ads keytab list'
3545    - resolves: #1518732 - Enable AES-NI to make SMB3 encryption and signing
3546                           faster
3547    
3548    * Tue Nov 28 2017 Andreas Schneider <asn@redhat.com> - 4.7.1-4
3549    - resolves: #1510872 - Fix systemd startup of samba daemons
3550    
3551    * Thu Nov 23 2017 Andreas Schneider <asn@redhat.com> - 4.7.1-3
3552    - resolves: #1498353 - Fix broken MacOSX client which can't handle file_ids
3553                           correctly
3554    - resolves: #1495490 - Fix client rename over SMB2
3555    - resolves: #1510598 - Fix client volume cmd over SMB2
3556    
3557    * Fri Nov 17 2017 Andreas Schneider <asn@redhat.com> - 4.7.1-2
3558    - resolves: #1514316 - CVE-2017-14746 CVE-2017-15275
3559    
3560    * Thu Nov 02 2017 Andreas Schneider <asn@redhat.com> - 4.7.1-1
3561    - related: #1470048 - Update to version 4.7.1
3562    
3563    * Thu Oct 26 2017 Andreas Schneider <asn@redhat.com> - 4.7.0-4
3564    - resolves: #1506489 - Fix python dependency issues
3565    
3566    * Wed Oct 25 2017 Andreas Schneider <asn@redhat.com> - 4.7.0-3
3567    - related: #1470048 - Fix dependency issues
3568    - resolves: #1486318 - Move /var/lib/samba/lock to common package
3569    - resolves: #1497162 - Fix smbcacls command line password handling
3570    
3571    * Tue Oct 24 2017 Andreas Schneider <asn@redhat.com> - 4.7.0-2
3572    - related: #1470048 - Fix package names
3573    
3574    * Mon Oct 23 2017 Andreas Schneider <asn@redhat.com> - 4.7.0-1
3575    - resolves: #1470048 - Rebase Samba to version 4.7.0
3576    - resolves: #1335710 - Improve performance of smbd for a lot
3577                           of new client connections
3578    
3579    * Thu Sep 14 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-11
3580    - resolves: #1491214 - CVE-2017-12150 CVE-2017-12151 CVE-2017-12163
3581    
3582    * Wed Aug 23 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-10
3583    - resolves: #1480310 - Require at least krb5 version 1.15.1
3584    - resolves: #1482133 - Fix password changes for users via smbpasswd
3585    - resolves: #1452003 - Be more graceful on FSCTL_VALIDATE_NEGOTIATE_INFO
3586                           returned errors
3587    - resolves: #1485390 - Do not print kerberos warning when not enforced
3588    
3589    * Mon Aug 14 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-9
3590    - resolves: #1479897 - Fix 'net ads changetrustpw'
3591    
3592    * Thu Jun 22 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-8
3593    - resolves: #1459936 - Fix regression with "follow symlinks = no"
3594    
3595    * Tue Jun 20 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-7
3596    - resolves: #1461336 - Fix smbclient username parsing
3597    - resolves: #1460937 - Fix username normalization with winbind
3598    
3599    * Tue Jun 13 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-6
3600    - resolves: #1459179 - Fix smbclient session setup printing
3601    
3602    * Wed Jun 07 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-5
3603    - related: #1277999 - Add missing patchset
3604    
3605    * Wed May 31 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-4
3606    - resolves: #1431986 - Fix expand_msdfs VFS module
3607    
3608    * Thu May 18 2017 Guenther Deschner <gdeschner@redhat.com> - 4.6.2-3
3609    - resolves: #1450785 - Security fix for CVE-2017-7494
3610    
3611    * Tue May 09 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-2
3612    - resolves: #1448544 - Fix spoolss 32bit driver upload
3613    
3614    * Mon Apr 03 2017 Andreas Schneider <asn@redhat.com> - 4.6.2-1
3615    - resolves: #1435734 - Fix refreshing winbind tickets
3616    
3617    * Fri Mar 31 2017 Guenther Deschner <gdeschner@redhat.com> - 4.6.2-0
3618    - Update to Samba 4.6.2
3619    - related: #1430260 - Security fix for CVE-2017-2619
3620    
3621    * Thu Mar 23 2017 Guenther Deschner <gdeschner@redhat.com> - 4.6.1-0
3622    - Update to Samba 4.6.1
3623    - resolves: #1430260 - Security fix for CVE-2017-2619
3624    
3625    * Tue Mar 21 2017 Andreas Schneider <asn@redhat.com> - 4.6.0-5
3626    - related: #1391954 - Fix kerberos cross-realm referrals
3627    - resolves: #1430755 - Fix 'net ads' keytab handling
3628    
3629    * Wed Mar 15 2017 Alexander Bokovoy <abokovoy@redhat.com> - 4.6.0-4
3630    - Export internal arcfour_crypt_blob in Python as samba.arcfour_encrypt
3631    - related: #1391954 - Update to Samba 4.6.0
3632    
3633    * Fri Mar 10 2017 Alexander Bokovoy <abokovoy@redhat.com> - 4.6.0-3
3634    - Ensure we set realm when updating ccache in auth/credentials
3635    - resolves: #1430759 - use GSSAPI gss_acquire_cred_from call for gssproxy support
3636    
3637    * Fri Mar 10 2017 Alexander Bokovoy <abokovoy@redhat.com> - 4.6.0-2
3638    - resolves: #1430759 - use GSSAPI gss_acquire_cred_from call for gssproxy support
3639    
3640    * Tue Mar 07 2017 Andreas Schneider <asn@redhat.com> - 4.6.0-1
3641    - related: #1391954 - Update to Samba 4.6.0
3642    - resolves: #1401505 - Improved idmap_hash documentation
3643    - resolves: #1218926 - Samba ignores default_keytab_name in krb5.conf
3644    - resolves: #1389786 - Add 'net ads dns unregister'
3645    
3646    * Thu Mar 02 2017 Andreas Schneider <asn@redhat.com> - 4.6.0-0.1.rc4
3647    - related: #1391954 - Update to Samba 4.6.0rc4
3648    - resolves: #1420130 - samba_krb5_wrapper does not list devices when called with
3649                           no arguments
3650    - resolves: #1277999 - Change RPC port range to Windows defaults
3651    
3652    * Wed Feb 15 2017 Andreas Schneider <asn@redhat.com> - 4.6.0-0.1.rc3
3653    - resolves: #1391954 - Update to Samba 4.6.0rc3
3654    - resolves: #1271082 - Wrong groups listed when id command is called before login
3655    - resolves: #1327810 - Use 'printcap cache time' for the house keeping interval
3656    - resolves: #1356932 - Improve documentation for 'ldap ssl' in smb.conf manpage
3657    - resolves: #1365111 - Fix printer removal if "List in Directory" checkbox is
3658                           unticked and printer is not listed in AD
3659    - resolves: #1368439 - Fix ntlm_auth wrong password issues
3660    - resolves: #1397871 - Include the system krb5.conf in winbinds generated conf
3661    - resolves: #1397891 - Fix marsalling of spoolss SetPrinter info level 2
3662    - resolves: #1397895 - Add missing support APD_COPY_FROM_DIRECTORY in
3663                           AddPrinterDriver
3664    - resolves: #1403242 - Samba can not access trusted domains through transitive
3665                           trusts
3666    - resolves: #1403975 - Fix trusted domain logins
3667    - resolves: #1411978 - Include the system krb5.conf in winbinds generated conf
3668    - resolves: #1416746 - Fix division by zero error in ctdb 05.system event script
3669    
3670    * Tue Nov 15 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-11
3671    - related: #1377729 - Fix return code if ip not defined in gethostbyname
3672    
3673    * Wed Nov 09 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-11
3674    - related: #1377307 - Add missing patch to patchset
3675    
3676    * Tue Nov 08 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-10
3677    - resolves: #1377690 - Fix linking nss_wins with libreplace
3678    - resolves: #1377729 - Fix nss_wins function definitions for gethostbyname*
3679    - resolves: #1377307 - Fix %G substitution in AD case
3680    - resolves: #1377751 - Fix regression of smbclient unable to connect to
3681                           Apple and Azure
3682    
3683    * Wed Aug 31 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-9
3684    - related: #1365479 - Fix idmap range check
3685    
3686    * Fri Aug 26 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-8
3687    - related: #1193493 - Fix smbget url credentials parsing
3688    
3689    * Tue Aug 23 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-7
3690    - resolves: #1365479 - Fix idmap range checks for ad and hash backend
3691    
3692    * Tue Aug 16 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-6
3693    - resolves: #1367316 - Increase required Kerbersion version number
3694    - resolves: #1366477 - Fix using the right krb5 ccache in libads
3695    - resolves: #1356501 - Fix high CPU usage with smbclient connection to
3696                           non-reachable IP
3697    
3698    * Wed Aug 03 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-5
3699    - resolves: #1359091 - Package /usr/lib/samba/ldb in the common-libs package
3700    - resolves: #1360788 - Fix multilib issue with ctdb-tests package
3701    - resolves: #1362385 - Fix Samba ignoring supplementary groups
3702    - resolves: #1364051 - Fix smbd panic with stale ctdb entries
3703    
3704    * Mon Jul 04 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-4
3705    - resolves: #1351655 - Fix winbind meomory leak with each cached credentials
3706                           login
3707    - resolves: #1351961 - Fix CVE-2016-2119
3708    
3709    * Thu Jun 23 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-3
3710    - related: #1260214 - Correctly warn about missing realm for ad domains
3711                          with 'security=domain'
3712    
3713    * Tue Jun 21 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-2
3714    - resolves: #1348223 - Fix sasl wrapped ldap connections
3715    
3716    * Wed Jun 08 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-1
3717    - resolves: #1303076 - Rebase Samba to version 4.4.4
3718    - resolves: #1314673 - Fix CVE-2015-7560
3719    - resolves: #1263322 - Add '--no-dns-updates' option to 'net ads join'
3720    - resolves: #1264433 - Fix segfault in pam_winbind.so with invalid config
3721                           options
3722    - resolves: #1193504 - Fix smbget to retrieve files recursively
3723    - resolves: #1193502 - Fix smbget to use command line credentials
3724    - resolves: #1193493 - Fix smbget url credentials parsing
3725    - resolves: #1273999 - Support printing with Kerberos credentials on newer
3726                           CUPS versions
3727    - resolves: #1296821 - Define /etc/pam.d/samba as a non replaceable config
3728    - resolves: #1261107 - Fix memory leak because of missing talloc stackframe
3729    - resolves: #1333562 - Fix memory leak after smbc_free_context()
3730    - resolves: #1315422 - Fix regression from CVE-2015-5252
3731    - resolves: #1316899 - Fixed idmap_hash module issues when used with others
3732    - resolves: #1322691 - Fix badlock related bugs
3733    - Fix CVE-2015-5370
3734    - Fix CVE-2016-2110
3735    - Fix CVE-2016-2111
3736    - Fix CVE-2016-2112
3737    - Fix CVE-2016-2113
3738    - Fix CVE-2016-2114
3739    - Fix CVE-2016-2115
3740    - Fix CVE-2016-2118
3741    - resolves: #1327951 - Fix regression with anonymous connections from OS X
3742    - resolves: #1327845 - Fix pcap_cache_reload() with spoolssd
3743    - resolves: #1289640 - Fix ctdb selinux issue with read only tracking dbs
3744    - resolves: #1341208 - Fix enumerating groups over NSS with idmap_ad
3745    - resolves: #1345827 - Fix resolving trusted domain users on domain member
3746    - resolves: #1346334 - Fix typo in smb.conf.example
3747    - resolves: #1335292 - Fix site-aware 'net ads join -k'
3748    - resolves: #1260214 - Accept empty realm for ad domains with 'security=domain'
3749    
3750    * Tue May 24 2016 Guenther Deschner <gdeschner@redhat.com> - 4.2.10-8
3751    - Fix krb5 encryption type setup during join (as admin and non-admin user)
3752    - resolves: #1312109
3753    
3754    * Mon May 02 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-7
3755    - Fix regressions introduced with security tightening as part of Badlock release
3756    - resolves: #1330199
3757    
3758  * Tue Apr 12 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-6  * Tue Apr 12 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-6
3759  - Fix domain member winbind not being able to talk to trusted domains' DCs  - Fix domain member winbind not being able to talk to trusted domains' DCs
3760  - relates: #1322690  - relates: #1322691
3761    
3762  * Mon Apr 11 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-5  * Mon Apr 11 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-5
3763  - Fix crash in smb.conf processing  - Fix crash in smb.conf processing
3764  - relates: #1322690  - relates: #1322691
3765    
3766  * Fri Apr 08 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-4  * Fri Apr 08 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-4
3767  - Fix LDAP SASL bind with arcfour-hmac-md5  - Fix LDAP SASL bind with arcfour-hmac-md5
3768  - resolves: #1322690  - resolves: #1322691
3769    
3770  * Thu Apr 07 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-3  * Thu Apr 07 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-3
3771  - Make sure the package owns /var/lib/samba and uses it for cache purposes  - Make sure the package owns /var/lib/samba and uses it for cache purposes
3772  - resolves: #1322690  - resolves: #1322691
3773    
3774  * Wed Apr 06 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-2  * Wed Apr 06 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-2
3775  - Remove ldb modules and internal libraries for DC when not packaging DC build  - Remove ldb modules and internal libraries for DC when not packaging DC build
3776  - resolves: #1322690  - resolves: #1322691
3777    
3778  * Mon Apr 04 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-1  * Mon Apr 04 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-1
3779  - resolves: #1322690  - resolves: #1322691
3780    
3781  * Fri Mar 04 2016 Andreas Schneider <asn@redhat.com> - 4.2.3-12  * Fri Mar 04 2016 Andreas Schneider <asn@redhat.com> - 4.2.3-12
3782  - resolves: #1314672 - Fix CVE-2015-7560  - resolves: #1314673 - Fix CVE-2015-7560
3783    
3784  * Fri Dec 11 2015 Guenther Deschner <gdeschner@redhat.com> - 4.2.3-11  * Fri Dec 11 2015 Guenther Deschner <gdeschner@redhat.com> - 4.2.3-11
3785  - resolves: #1290710  - resolves: #1290711
3786  - CVE-2015-3223 Remote DoS in Samba (AD) LDAP server  - CVE-2015-3223 Remote DoS in Samba (AD) LDAP server
3787  - CVE-2015-5299 Missing access control check in shadow copy code  - CVE-2015-5299 Missing access control check in shadow copy code
3788  - CVE-2015-5252 Insufficient symlink verification in smbd  - CVE-2015-5252 Insufficient symlink verification in smbd


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed