/[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.5 by unnilennium, Thu Mar 2 16:20:16 2017 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 12.5
10    
11  %define samba_version 4.2.10  %define samba_version 4.4.4
12  %define talloc_version 2.1.2  %define talloc_version 2.1.6
13  %define ntdb_version 1.0  %define tdb_version 1.3.8
14  %define tdb_version 1.3.4  %define tevent_version 0.9.28
15  %define tevent_version 0.9.24  %define ldb_version 1.1.26
 %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    
29  %global with_libsmbclient 1  %global with_libsmbclient 1
30  %global with_libwbclient 1  %global with_libwbclient 1
31    
 %global with_pam_smbpass 0  
32  %global with_internal_talloc 0  %global with_internal_talloc 0
33  %global with_internal_tevent 0  %global with_internal_tevent 0
34  %global with_internal_tdb 0  %global with_internal_tdb 0
35  %global with_internal_ntdb 1  %global with_internal_ldb 1
 %global with_internal_ldb 0  
36    
37  %global with_profiling 1  %global with_profiling 1
38    
# Line 102  Source0:        samba-%{version}%{pre_re Line 99  Source0:        samba-%{version}%{pre_re
99  # Red Hat specific replacement-files  # Red Hat specific replacement-files
100  Source1: samba.log  Source1: samba.log
101  Source2: samba.xinetd  Source2: samba.xinetd
102  Source4: smb.conf.default  Source3: smb.conf.vendor
103    Source4: smb.conf.example
104  Source5: pam_winbind.conf  Source5: pam_winbind.conf
105  Source6: samba.pamd  Source6: samba.pamd
106    
107  Source200: README.dc  Source200: README.dc
108  Source201: README.downgrade  Source201: README.downgrade
109    
110  Patch1:     samba-4.2.10-ldap-sasl-win2003.patch  Patch0:    samba-4.4.5-fix_resolving_trusted_domain_users.patch
111  Patch3:     samba-4.2.3-document_netbios_length.patch  Patch1:    samba-4.4.5-fix_site_aware_net_ads_join_with_krb5.patch
112  Patch4:     samba-4.2.3-fix_net_ads_keytab_segfault.patch  Patch2:    samba-4.4.5-accept_empty_realm_for_ad_domains_with_security_domain.patch
113  Patch5:     samba-4.2.10-s3-parm-clean-up-defaults-when-removing-global-param.patch  Patch3:    samba-4.4.5-fix_winbind_cached_creds_memleak.patch
114  Patch6:     samba-4.2.10-s3-winbind-make-sure-domain-member-can-talk-to-trust.patch  Patch4:    CVE-2016-2119-v4-4.patch
115  Patch7:     samba-4.2.10-badlock-bugfixes.patch  Patch5:    samba-4.4.7-fix-ctdb-test-install-dir.patch
116  Patch8:     samba-4.2.10-fix_rpcclient_ipc_signing.patch  Patch6:    samba-4.4.7-fix_ads_krb5_ccname_handling.patch
117  Patch9:     samba-4.2.10-fix_ntlm_auth_issues.patch  Patch7:    samba-4.4.7-fix_smbclient_cpu_usage_with_unreachable_ip.patch
118  Patch10:    samba-4.2.10-fix_msrpc_parse.patch  Patch8:    samba-4.4.7-fix_idmap_range_checks.patch
119  Patch11:    samba-4.2.10-fix_anon_with_singing_mandatory.patch  Patch9:    samba-4.4.7-fix_smget_auth_callback.patch
120  Patch12:    samba-4.2.99-fix_idmap_hash_with_other_modules.path  Patch10:   samba-4.4.6-fix_nss_wins.patch
121  Patch13:    samba-4.2.99-net_ads_join_fix_keytab_generation.patch  Patch11:   samba-4.4.7-fix_group_substituion_with_ad.patch
122  Patch14:    CVE-2016-2119-v4-2.patch  Patch12:   samba-4.4.6-fix_smbclient_against_apple_and_azure.patch
123    
124  BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)  BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
125    
# Line 131  Requires(preun): systemd Line 129  Requires(preun): systemd
129  Requires(postun): systemd  Requires(postun): systemd
130    
131  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
 Requires: %{name}-common = %{samba_depver}  
132  Requires: %{name}-common-libs = %{samba_depver}  Requires: %{name}-common-libs = %{samba_depver}
133  Requires: %{name}-common-tools = %{samba_depver}  Requires: %{name}-common-tools = %{samba_depver}
134  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
# Line 146  Provides: samba4 = %{samba_depver} Line 143  Provides: samba4 = %{samba_depver}
143  Obsoletes: samba4 < %{samba_depver}  Obsoletes: samba4 < %{samba_depver}
144    
145  # We don't build it outdated docs anymore  # We don't build it outdated docs anymore
146  Obsoletes: samba-doc  Provides: samba-doc = %{samba_depver}
147    Obsoletes: samba-doc < %{samba_depver}
148    
149  # Is not supported yet  # Is not supported yet
150  Obsoletes: samba-domainjoin-gui  Provides: samba-domainjoin-gui = %{samba_depver}
151    Obsoletes: samba-domainjoin-gui < %{samba_depver}
152    
153  # SWAT been deprecated and removed from samba  # SWAT been deprecated and removed from samba
154  Obsoletes: samba-swat  Provides: samba-swat = %{samba_depver}
155  Obsoletes: samba4-swat  Obsoletes: samba-swat < %{samba_depver}
156    
157    Provides: samba4-swat = %{samba_depver}
158    Obsoletes: samba4-swat < %{samba_depver}
159    
160  BuildRequires: cups-devel  BuildRequires: cups-devel
161  BuildRequires: dbus-devel  BuildRequires: dbus-devel
162  BuildRequires: docbook-style-xsl  BuildRequires: docbook-style-xsl
163  BuildRequires: e2fsprogs-devel  BuildRequires: e2fsprogs-devel
164  BuildRequires: gawk  BuildRequires: gawk
165  BuildRequires: krb5-devel >= 1.10  BuildRequires: krb5-devel >= 1.14
166  BuildRequires: libacl-devel  BuildRequires: libacl-devel
167  BuildRequires: libaio-devel  BuildRequires: libaio-devel
168  BuildRequires: libarchive-devel  BuildRequires: libarchive-devel
# Line 172  BuildRequires: pam-devel Line 176  BuildRequires: pam-devel
176  BuildRequires: perl(ExtUtils::MakeMaker)  BuildRequires: perl(ExtUtils::MakeMaker)
177  BuildRequires: perl(Parse::Yapp)  BuildRequires: perl(Parse::Yapp)
178  BuildRequires: popt-devel  BuildRequires: popt-devel
179    BuildRequires: python
180  BuildRequires: python-devel  BuildRequires: python-devel
181  BuildRequires: python-tevent  BuildRequires: python-tevent
182  BuildRequires: quota-devel  BuildRequires: quota-devel
# Line 180  BuildRequires: sed Line 185  BuildRequires: sed
185  BuildRequires: xfsprogs-devel  BuildRequires: xfsprogs-devel
186  BuildRequires: zlib-devel >= 1.2.3  BuildRequires: zlib-devel >= 1.2.3
187    
 BuildRequires: pkgconfig(libsystemd-daemon)  
188  BuildRequires: pkgconfig(libsystemd)  BuildRequires: pkgconfig(libsystemd)
189    
190  %if %{with_vfs_glusterfs}  %if %{with_vfs_glusterfs}
# Line 190  BuildRequires: glusterfs-devel >= 3.4.0. Line 194  BuildRequires: glusterfs-devel >= 3.4.0.
194  %if %{with_vfs_cephfs}  %if %{with_vfs_cephfs}
195  BuildRequires: libcephfs1-devel  BuildRequires: libcephfs1-devel
196  %endif  %endif
197  %if %{with_dc}  
198  BuildRequires: gnutls-devel  # Allow build with testsuite which uses heimdal
199  %endif  #%if %{with_dc}
200    #BuildRequires: gnutls-devel >= 3.4.7
201    # Required by samba-tool
202    #BuildRequires: python-crypto
203    #%endif
204    
205  # pidl requirements  # pidl requirements
206  BuildRequires: perl(Parse::Yapp)  BuildRequires: perl(Parse::Yapp)
207    
208  %if ! %with_internal_talloc  %if ! %with_internal_talloc
209  %global libtalloc_version 2.1.2  %global libtalloc_version 2.1.6
210    
211  BuildRequires: libtalloc-devel >= %{libtalloc_version}  BuildRequires: libtalloc-devel >= %{libtalloc_version}
212  BuildRequires: pytalloc-devel >= %{libtalloc_version}  BuildRequires: pytalloc-devel >= %{libtalloc_version}
213  %endif  %endif
214    
215  %if ! %with_internal_tevent  %if ! %with_internal_tevent
216  %global libtevent_version 0.9.22  %global libtevent_version 0.9.28
217    
218  BuildRequires: libtevent-devel >= %{libtevent_version}  BuildRequires: libtevent-devel >= %{libtevent_version}
219  BuildRequires: python-tevent >= %{libtevent_version}  BuildRequires: python-tevent >= %{libtevent_version}
220  %endif  %endif
221    
222  %if ! %with_internal_ldb  %if ! %with_internal_ldb
223  %global libldb_version 1.1.20  %global libldb_version 1.1.26
224    
225  BuildRequires: libldb-devel >= %{libldb_version}  BuildRequires: libldb-devel >= %{libldb_version}
226  BuildRequires: pyldb-devel >= %{libldb_version}  BuildRequires: pyldb-devel >= %{libldb_version}
227  %endif  %endif
228    
229  %if ! %with_internal_tdb  %if ! %with_internal_tdb
230  %global libtdb_version 1.3.4  %global libtdb_version 1.3.8
231    
232  BuildRequires: libtdb-devel >= %{libtdb_version}  BuildRequires: libtdb-devel >= %{libtdb_version}
233  BuildRequires: python-tdb >= %{libtdb_version}  BuildRequires: python-tdb >= %{libtdb_version}
# Line 238  BuildRequires: ldb-tools Line 246  BuildRequires: ldb-tools
246    
247  ### SAMBA  ### SAMBA
248  %description  %description
249  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
250    Unix.
251    
252  ### CLIENT  ### CLIENT
253  %package client  %package client
254  Summary: Samba client programs  Summary: Samba client programs
255  Group: Applications/System  Group: Applications/System
256  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
 Requires: %{name}-common = %{samba_depver}  
257  Requires: %{name}-common-libs = %{samba_depver}  Requires: %{name}-common-libs = %{samba_depver}
258  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
259  %if %with_libsmbclient  %if %with_libsmbclient
# Line 255  Requires: libsmbclient = %{samba_depver} Line 263  Requires: libsmbclient = %{samba_depver}
263  Provides: samba4-client = %{samba_depver}  Provides: samba4-client = %{samba_depver}
264  Obsoletes: samba4-client < %{samba_depver}  Obsoletes: samba4-client < %{samba_depver}
265    
266    Requires(post): %{_sbindir}/update-alternatives
267    Requires(postun): %{_sbindir}/update-alternatives
268    
269  %description client  %description client
270  The samba4-client package provides some SMB/CIFS clients to complement  The %{name}-client package provides some SMB/CIFS clients to complement
271  the built-in SMB/CIFS filesystem in Linux. These clients allow access  the built-in SMB/CIFS filesystem in Linux. These clients allow access
272  of SMB/CIFS shares and printing to SMB/CIFS printers.  of SMB/CIFS shares and printing to SMB/CIFS printers.
273    
# Line 265  of SMB/CIFS shares and printing to SMB/C Line 276  of SMB/CIFS shares and printing to SMB/C
276  Summary: Samba client libraries  Summary: Samba client libraries
277  Group: Applications/System  Group: Applications/System
278  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
 Requires: %{name}-common = %{samba_depver}  
279  %if %with_libwbclient  %if %with_libwbclient
280  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
281  %endif  %endif
# Line 281  Group: Applications/System Line 291  Group: Applications/System
291  BuildArch: noarch  BuildArch: noarch
292    
293  Requires(post): systemd  Requires(post): systemd
 Requires: samba-common-tools = %{samba_depver}  
294    
295  Provides: samba4-common = %{samba_depver}  Provides: samba4-common = %{samba_depver}
296  Obsoletes: samba4-common < %{samba_depver}  Obsoletes: samba4-common < %{samba_depver}
# Line 295  packages of Samba. Line 304  packages of Samba.
304  Summary: Libraries used by both Samba servers and clients  Summary: Libraries used by both Samba servers and clients
305  Group: Applications/System  Group: Applications/System
306  Requires(pre): samba-common = %{samba_depver}  Requires(pre): samba-common = %{samba_depver}
 Requires: samba-common = %{samba_depver}  
307  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
308  %if %with_libwbclient  %if %with_libwbclient
309  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
# Line 324  SMB/CIFS clients. Line 332  SMB/CIFS clients.
332  %package dc  %package dc
333  Summary: Samba AD Domain Controller  Summary: Samba AD Domain Controller
334  Group: Applications/System  Group: Applications/System
335    Requires: %{name} = %{samba_depver}
336  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
337  Requires: %{name}-dc-libs = %{samba_depver}  Requires: %{name}-dc-libs = %{samba_depver}
338  Requires: %{name}-python = %{samba_depver}  Requires: %{name}-python = %{samba_depver}
339    Requires: %{name}-winbind = %{samba_depver}
340    %if %{with_dc}
341    # samba-tool requirements
342    Requires: python-crypto
343    %endif
344    
345  Provides: samba4-dc = %{samba_depver}  Provides: samba4-dc = %{samba_depver}
346  Obsoletes: samba4-dc < %{samba_depver}  Obsoletes: samba4-dc < %{samba_depver}
# Line 345  Provides: samba4-dc-libs = %{samba_depve Line 359  Provides: samba4-dc-libs = %{samba_depve
359  Obsoletes: samba4-dc-libs < %{samba_depver}  Obsoletes: samba4-dc-libs < %{samba_depver}
360    
361  %description dc-libs  %description dc-libs
362  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
363  link against the SMB, RPC and other protocols.  link against the SMB, RPC and other protocols.
364    
365  ### DEVEL  ### DEVEL
# Line 359  Provides: samba4-devel = %{samba_depver} Line 373  Provides: samba4-devel = %{samba_depver}
373  Obsoletes: samba4-devel < %{samba_depver}  Obsoletes: samba4-devel < %{samba_depver}
374    
375  %description devel  %description devel
376  The samba4-devel package contains the header files for the libraries  The %{name}-devel package contains the header files for the libraries
377  needed to develop programs that link against the SMB, RPC and other  needed to develop programs that link against the SMB, RPC and other
378  libraries in the Samba suite.  libraries in the Samba suite.
379    
# Line 381  Samba VFS module for Ceph distributed st Line 395  Samba VFS module for Ceph distributed st
395  %package vfs-glusterfs  %package vfs-glusterfs
396  Summary: Samba VFS module for GlusterFS  Summary: Samba VFS module for GlusterFS
397  Group: Applications/System  Group: Applications/System
398    Requires: libldb
399  Requires: glusterfs-api >= 3.4.0.16  Requires: glusterfs-api >= 3.4.0.16
400  Requires: glusterfs >= 3.4.0.16  Requires: glusterfs >= 3.4.0.16
401  Requires: %{name} = %{samba_depver}  Requires: %{name} = %{samba_depver}
402  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
403  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
404    
405  Obsoletes: samba-glusterfs  Obsoletes: samba-glusterfs < %{samba_depver}
406  Provides: samba-glusterfs  Provides: samba-glusterfs = %{samba_depver}
407    
408  %description vfs-glusterfs  %description vfs-glusterfs
409  Samba VFS module for GlusterFS integration.  Samba VFS module for GlusterFS integration.
410  %endif  %endif
411    
412    ### KRB5-PRINTING
413    %package krb5-printing
414    Summary: Samba CUPS backend for printing with Kerberos
415    Group: Applications/System
416    Requires(pre): %{name}-client
417    
418    Requires(post): %{_sbindir}/update-alternatives
419    Requires(postun): %{_sbindir}/update-alternatives
420    
421    %description krb5-printing
422    If you need Kerberos for print jobs to a printer connection to cups via the SMB
423    backend, then you need to install that package. It will allow cups to access
424    the Kerberos credentials cache of the user issuing the print job.
425    
426  ### LIBS  ### LIBS
427  %package libs  %package libs
428  Summary: Samba libraries  Summary: Samba libraries
429  Group: Applications/System  Group: Applications/System
430  Requires: krb5-libs >= 1.10  Requires: krb5-libs >= 1.14
 Requires: libldb  
431  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
432  %if %with_libwbclient  %if %with_libwbclient
433  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
# Line 409  Provides: samba4-libs = %{samba_depver} Line 437  Provides: samba4-libs = %{samba_depver}
437  Obsoletes: samba4-libs < %{samba_depver}  Obsoletes: samba4-libs < %{samba_depver}
438    
439  %description libs  %description libs
440  The samba4-libs package contains the libraries needed by programs that  The %{name}-libs package contains the libraries needed by programs that link
441  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.
442    
443  ### LIBSMBCLIENT  ### LIBSMBCLIENT
444  %if %with_libsmbclient  %if %with_libsmbclient
# Line 418  link against the SMB, RPC and other prot Line 446  link against the SMB, RPC and other prot
446  Summary: The SMB client library  Summary: The SMB client library
447  Group: Applications/System  Group: Applications/System
448  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
 Requires: %{name}-common = %{samba_depver}  
449  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
450    
451  %description -n libsmbclient  %description -n libsmbclient
# Line 430  Group: Development/Libraries Line 457  Group: Development/Libraries
457  Requires: libsmbclient = %{samba_depver}  Requires: libsmbclient = %{samba_depver}
458    
459  %description -n libsmbclient-devel  %description -n libsmbclient-devel
460  The libsmbclient-devel package contains the header files and libraries needed to  The libsmbclient-devel package contains the header files and libraries needed
461  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
462    suite.
463  %endif # with_libsmbclient  %endif # with_libsmbclient
464    
465  ### LIBWBCLIENT  ### LIBWBCLIENT
# Line 442  Group: Applications/System Line 470  Group: Applications/System
470  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
471    
472  %description -n libwbclient  %description -n libwbclient
473  The libwbclient package contains the winbind client library from the Samba suite.  The libwbclient package contains the winbind client library from the Samba
474    suite.
475    
476  %package -n libwbclient-devel  %package -n libwbclient-devel
477  Summary: Developer tools for the winbind library  Summary: Developer tools for the winbind library
478  Group: Development/Libraries  Group: Development/Libraries
479  Requires: libwbclient = %{samba_depver}  Requires: libwbclient = %{samba_depver}
480  Obsoletes: samba-winbind-devel  
481  Provides: samba-winbind-devel  Provides: samba-winbind-devel = %{samba_depver}
482    Obsoletes: samba-winbind-devel < %{samba_depver}
483    
484  %description -n libwbclient-devel  %description -n libwbclient-devel
485  The libwbclient-devel package provides developer tools for the wbclient library.  The libwbclient-devel package provides developer tools for the wbclient
486    library.
487  %endif # with_libwbclient  %endif # with_libwbclient
488    
489  ### PYTHON  ### PYTHON
# Line 464  Requires: %{name}-client-libs = %{samba_ Line 495  Requires: %{name}-client-libs = %{samba_
495  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
496  Requires: python-tevent  Requires: python-tevent
497  Requires: python-tdb  Requires: python-tdb
498  Requires: pyldb  #Requires: pyldb
499  Requires: pytalloc  Requires: pytalloc
500    
501  Provides: samba4-python = %{samba_depver}  Provides: samba4-python = %{samba_depver}
502  Obsoletes: samba4-python < %{samba_depver}  Obsoletes: samba4-python < %{samba_depver}
503    
504  %description python  %description python
505  The samba4-python package contains the Python libraries needed by programs  The %{name}-python package contains the Python libraries needed by programs
506  that use SMB, RPC and other Samba provided protocols in Python programs.  that use SMB, RPC and other Samba provided protocols in Python programs.
507    
508  ### PIDL  ### PIDL
# Line 520  packages of Samba. Line 551  packages of Samba.
551    
552  ### TEST-LIBS  ### TEST-LIBS
553  %package test-libs  %package test-libs
554  Summary: Libraries need by teh testing tools for Samba servers and clients  Summary: Libraries need by the testing tools for Samba servers and clients
555  Group: Applications/System  Group: Applications/System
556  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
557  Requires: %{name}-libs = %{samba_depver}  Requires: %{name}-libs = %{samba_depver}
558    
559    Provides: %{name}-test-devel = %{samba_depver}
560    Obsoletes: %{name}-test-devel < %{samba_depver}
561    
562  %description test-libs  %description test-libs
563  %{name}-test-libs provides libraries required by the testing tools.  %{name}-test-libs provides libraries required by the testing tools.
564    
 ### 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.  
   
565  ### WINBIND  ### WINBIND
566  %package winbind  %package winbind
567  Summary: Samba winbind  Summary: Samba winbind
568  Group: Applications/System  Group: Applications/System
569  Requires(pre): %{name}-common = %{samba_depver}  Requires(pre): %{name}-common = %{samba_depver}
 Requires: %{name}-common = %{samba_depver}  
570  Requires: %{name}-common-libs = %{samba_depver}  Requires: %{name}-common-libs = %{samba_depver}
571  Requires: %{name}-common-tools = %{samba_depver}  Requires: %{name}-common-tools = %{samba_depver}
572  Requires: %{name}-client-libs = %{samba_depver}  Requires: %{name}-client-libs = %{samba_depver}
# Line 555  Provides: samba4-winbind = %{samba_depve Line 577  Provides: samba4-winbind = %{samba_depve
577  Obsoletes: samba4-winbind < %{samba_depver}  Obsoletes: samba4-winbind < %{samba_depver}
578    
579  %description winbind  %description winbind
580  The samba-winbind package provides the winbind NSS library, and some  The samba-winbind package provides the winbind NSS library, and some client
581  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
582  domains and to use Windows user and group accounts on Linux.  Windows user and group accounts on Linux.
583    
584  ### WINBIND-CLIENTS  ### WINBIND-CLIENTS
585  %package winbind-clients  %package winbind-clients
# Line 618  Requires: libwbclient = %{samba_depver} Line 640  Requires: libwbclient = %{samba_depver}
640  Requires: pam  Requires: pam
641    
642  %description winbind-modules  %description winbind-modules
643  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
644  module necessary to communicate to the Winbind Daemon  necessary to communicate to the Winbind Daemon
645    
646  ### CTDB  ### CTDB
647  %if %with_clustering_support  %if %with_clustering_support
# Line 657  projects to store temporary data. If an Line 679  projects to store temporary data. If an
679  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
680  and use CTDB instead.  and use CTDB instead.
681    
 ### 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.  
   
682  ### CTDB-TEST  ### CTDB-TEST
683  %package -n ctdb-tests  %package -n ctdb-tests
684  Summary: CTDB clustered database test suite  Summary: CTDB clustered database test suite
# Line 682  Requires: samba-client-libs = %{samba_de Line 689  Requires: samba-client-libs = %{samba_de
689  Requires: ctdb = %{samba_depver}  Requires: ctdb = %{samba_depver}
690  Requires: nc  Requires: nc
691    
692    Provides: ctdb-devel = %{samba_depver}
693    Obsoletes: ctdb-devel < %{samba_depver}
694    
695  %description -n ctdb-tests  %description -n ctdb-tests
696  Test suite for CTDB.  Test suite for CTDB.
697  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 695  and use CTDB instead. Line 705  and use CTDB instead.
705  %prep  %prep
706  %setup -q -n samba-%{version}%{pre_release}  %setup -q -n samba-%{version}%{pre_release}
707    
708  %patch1 -p1 -b .samba-4.2.10-ldap-sasl-win2003.patch  %patch0 -p1 -b .samba-4.4.5-fix_resolving_trusted_domain_users.patch
709  %patch3 -p1 -b .samba-4.2.3-document_netbios_length.patch  %patch1 -p1 -b .samba-4.4.5-fix_site_aware_net_ads_join_with_krb5.patch
710  %patch4 -p1 -b .samba-4.2.3-fix_net_ads_keytab_segfault.patch  %patch2 -p1 -b .samba-4.4.5-accept_empty_realm_for_ad_domains_with_security_domain.patch
711  %patch5 -p1 -b .samba-4.2.10-s3-parm-clean-up-defaults-when-removing-global-param.patch  %patch3 -p1 -b .samba-4.4.5-fix_winbind_cached_creds_memleak.patch
712  %patch6 -p1 -b .samba-4.2.10-s3-winbind-make-sure-domain-member-can-talk-to-trust.patch  %patch4 -p1 -b .CVE-2016-2119-v4-4.patch
713  %patch7 -p1 -b .samba-4.2.10-badlock-bugfixes.patch  %patch5 -p1 -b .samba-4.4.7-fix-ctdb-test-install-dir.patch
714  %patch8 -p1 -b .samba-4.2.10-fix_rpcclient_ipc_signing.patch  %patch6 -p1 -b .samba-4.4.7-fix_ads_krb5_ccname_handling.patch
715  %patch9 -p1 -b .samba-4.2.10-fix_ntlm_auth_issues.patch  %patch7 -p1 -b .samba-4.4.7-fix_smbclient_cpu_usage_with_unreachable_ip.patch
716  %patch10 -p1 -b .samba-4.2.10-fix_msrpc_parse.patch  %patch8 -p1 -b .samba-4.4.7-fix_idmap_range_checks.patch
717  %patch11 -p1 -b .samba-4.2.10-fix_anon_with_singing_mandatory.patch  %patch9 -p1 -b .samba-4.4.7-fix_smget_auth_callback.patch
718  %patch12 -p1 -b .samba-4.2.99-fix_idmap_hash_with_other_modules.path  %patch10 -p1 -b .samba-4.4.6-fix_nss_wins.patch
719  %patch13 -p1 -b .samba-4.2.99-net_ads_join_fix_keytab_generation.patch  %patch11 -p1 -b .samba-4.4.7-fix_group_substituion_with_ad.patch
720  %patch14 -p1 -b .CVE-2016-2119-v4-2.patch  %patch12 -p1 -b .samba-4.4.6-fix_smbclient_against_apple_and_azure.patch
721    
722  %build  %build
723  %global _talloc_lib ,talloc,pytalloc,pytalloc-util  %global _talloc_lib ,talloc,pytalloc,pytalloc-util
724  %global _tevent_lib ,tevent,pytevent  %global _tevent_lib ,tevent,pytevent
725  %global _tdb_lib ,tdb,pytdb  %global _tdb_lib ,tdb,pytdb
726  %global _ldb_lib ,ldb,pyldb  %global _ldb_lib ,ldb,pyldb,pyldb-util
727    
728  %if ! %{with_internal_talloc}  %if ! %{with_internal_talloc}
729  %global _talloc_lib ,!talloc,!pytalloc,!pytalloc-util  %global _talloc_lib ,!talloc,!pytalloc,!pytalloc-util
# Line 728  and use CTDB instead. Line 738  and use CTDB instead.
738  %endif  %endif
739    
740  %if ! %{with_internal_ldb}  %if ! %{with_internal_ldb}
741  %global _ldb_lib ,!ldb,!pyldb  %global _ldb_lib ,!ldb,!pyldb,!pyldb-util
742  %endif  %endif
743    
744  %global _samba4_libraries heimdal,!zlib,!popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib}  %global _samba4_libraries heimdal,!zlib,!popt%{_talloc_lib}%{_tevent_lib}%{_tdb_lib}%{_ldb_lib}
# Line 758  and use CTDB instead. Line 768  and use CTDB instead.
768          --with-sockets-dir=/run/samba \          --with-sockets-dir=/run/samba \
769          --with-modulesdir=%{_libdir}/samba \          --with-modulesdir=%{_libdir}/samba \
770          --with-pammodulesdir=%{_libdir}/security \          --with-pammodulesdir=%{_libdir}/security \
771          --with-lockdir=/var/lib/samba \          --with-lockdir=/var/lib/samba/lock \
772            --with-statedir=/var/lib/samba \
773          --with-cachedir=/var/lib/samba \          --with-cachedir=/var/lib/samba \
774          --disable-rpath-install \          --disable-rpath-install \
775          --with-shared-modules=%{_samba4_modules} \          --with-shared-modules=%{_samba4_modules} \
# Line 788  and use CTDB instead. Line 799  and use CTDB instead.
799  %if %{with testsuite}  %if %{with testsuite}
800          --enable-selftest \          --enable-selftest \
801  %endif  %endif
 %if ! %with_pam_smbpass  
         --without-pam_smbpass \  
 %endif  
802          --with-systemd          --with-systemd
803    
804  make %{?_smp_mflags}  make %{?_smp_mflags}
# Line 802  make %{?_smp_mflags} install DESTDIR=%{b Line 810  make %{?_smp_mflags} install DESTDIR=%{b
810  install -d -m 0755 %{buildroot}/usr/{sbin,bin}  install -d -m 0755 %{buildroot}/usr/{sbin,bin}
811  install -d -m 0755 %{buildroot}%{_libdir}/security  install -d -m 0755 %{buildroot}%{_libdir}/security
812  install -d -m 0755 %{buildroot}/var/lib/samba  install -d -m 0755 %{buildroot}/var/lib/samba
813    install -d -m 0755 %{buildroot}/var/lib/samba/drivers
814    install -d -m 0755 %{buildroot}/var/lib/samba/lock
815  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  
816  install -d -m 0755 %{buildroot}/var/lib/samba/scripts  install -d -m 0755 %{buildroot}/var/lib/samba/scripts
817  install -d -m 0755 %{buildroot}/var/lib/samba/sysvol  install -d -m 0755 %{buildroot}/var/lib/samba/sysvol
818    install -d -m 0755 %{buildroot}/var/lib/samba/winbindd_privileged
819  install -d -m 0755 %{buildroot}/var/log/samba/old  install -d -m 0755 %{buildroot}/var/log/samba/old
820  install -d -m 0755 %{buildroot}/var/spool/samba  install -d -m 0755 %{buildroot}/var/spool/samba
821  install -d -m 0755 %{buildroot}/var/run/samba  install -d -m 0755 %{buildroot}/var/run/samba
822  install -d -m 0755 %{buildroot}/var/run/winbindd  install -d -m 0755 %{buildroot}/var/run/winbindd
823  install -d -m 0755 %{buildroot}/%{_libdir}/samba  install -d -m 0755 %{buildroot}/%{_libdir}/samba
824    install -d -m 0755 %{buildroot}/%{_libdir}/samba/ldb
825  install -d -m 0755 %{buildroot}/%{_libdir}/pkgconfig  install -d -m 0755 %{buildroot}/%{_libdir}/pkgconfig
826    
827  # 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 834  then
834      exit -1      exit -1
835  fi  fi
836    
837    
838    touch %{buildroot}%{_libexecdir}/samba/cups_backend_smb
839    
840  # Install other stuff  # Install other stuff
841  install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d  install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
842  install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/samba  install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/samba
843    
844  install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/samba/smb.conf  install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/samba/smb.conf
845    install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/samba/smb.conf.example
846    
847  install -d -m 0755 %{buildroot}%{_sysconfdir}/security  install -d -m 0755 %{buildroot}%{_sysconfdir}/security
848  install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf  install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf
# Line 843  install -m644 examples/LDAP/samba.schema Line 858  install -m644 examples/LDAP/samba.schema
858    
859  install -m 0744 packaging/printing/smbprint %{buildroot}%{_bindir}/smbprint  install -m 0744 packaging/printing/smbprint %{buildroot}%{_bindir}/smbprint
860    
861  install -d -m 0755 %{buildroot}%{_prefix}/lib/tmpfiles.d/  install -d -m 0755 %{buildroot}%{_tmpfilesdir}
862  install -m644 packaging/systemd/samba.conf.tmp %{buildroot}%{_prefix}/lib/tmpfiles.d/samba.conf  install -m644 packaging/systemd/samba.conf.tmp %{buildroot}%{_tmpfilesdir}/samba.conf
863  # create /run/samba too.  # create /run/samba too.
864  echo "d /run/samba  755 root root" >> %{buildroot}%{_prefix}/lib/tmpfiles.d/samba.conf  echo "d /run/samba  755 root root" >> %{buildroot}%{_tmpfilesdir}/samba.conf
865  %if %with_clustering_support  %if %with_clustering_support
866  echo "d /run/ctdb 755 root root" >> %{buildroot}%{_tmpfilesdir}/ctdb.conf  echo "d /run/ctdb 755 root root" >> %{buildroot}%{_tmpfilesdir}/ctdb.conf
867  %endif  %endif
# Line 865  install -m 0644 %{SOURCE200} packaging/R Line 880  install -m 0644 %{SOURCE200} packaging/R
880  %endif  %endif
881    
882  install -d -m 0755 %{buildroot}%{_unitdir}  install -d -m 0755 %{buildroot}%{_unitdir}
883  for i in nmb smb winbind samba ; do  for i in nmb smb winbind samba; do
884      cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=/run/samba/krb5cc_samba@g' >tmp$i.service      cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=/run/samba/krb5cc_samba@g' >tmp$i.service
885      install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service      install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service
886  done  done
# Line 884  touch %{buildroot}%{_libdir}/krb5/plugin Line 899  touch %{buildroot}%{_libdir}/krb5/plugin
899    
900  %if ! %with_dc  %if ! %with_dc
901  for i in %{_libdir}/samba/libdfs-server-ad-samba4.so \  for i in %{_libdir}/samba/libdfs-server-ad-samba4.so \
902           %{_libdir}/samba/libdnsserver-common-samba4.so \          %{_libdir}/samba/libdnsserver-common-samba4.so \
903           %{_mandir}/man8/samba.8 \          %{_mandir}/man8/samba.8 \
904           %{_mandir}/man8/samba-tool.8 \          %{_mandir}/man8/samba-tool.8 \
905           %{_libdir}/samba/ldb/ildap.so \          %{_libdir}/samba/ldb/ildap.so \
906           %{_libdir}/samba/ldb/ldbsamba_extensions.so ; do          %{_libdir}/samba/ldb/ldbsamba_extensions.so ; do
907          rm -f %{buildroot}$i          rm -f %{buildroot}$i
908  done  done
909  %endif  %endif
# Line 916  TDB_NO_FSYNC=1 make %{?_smp_mflags} test Line 931  TDB_NO_FSYNC=1 make %{?_smp_mflags} test
931    
932  %post common  %post common
933  /sbin/ldconfig  /sbin/ldconfig
934  /usr/bin/systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/samba.conf  /usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf
935  if [ -d /var/cache/samba ]; then  if [ -d /var/cache/samba ]; then
936      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
937      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 939  if [ -d /var/cache/samba ]; then
939      ln -sf /var/cache/samba /var/lib/samba/      ln -sf /var/cache/samba /var/lib/samba/
940  fi  fi
941    
942  %postun common -p /sbin/ldconfig  %post client
943    %{_sbindir}/update-alternatives --install %{_libexecdir}/samba/cups_backend_smb \
944        cups_backend_smb \
945        %{_bindir}/smbspool 10
946    
947    %postun client
948    if [ $1 -eq 0 ] ; then
949        %{_sbindir}/update-alternatives --remove cups_backend_smb %{_bindir}/smbspool
950    fi
951    
952    %post client-libs -p /sbin/ldconfig
953    
954    %postun client-libs -p /sbin/ldconfig
955    
956    %post common-libs -p /sbin/ldconfig
957    
958    %postun common-libs -p /sbin/ldconfig
959    
960  %if %with_dc  %if %with_dc
961  %post dc-libs -p /sbin/ldconfig  %post dc-libs -p /sbin/ldconfig
962    
963  %postun dc-libs -p /sbin/ldconfig  %postun dc-libs -p /sbin/ldconfig
964  %endif # with_dc  %endif
965    
966    %post krb5-printing
967    %{_sbindir}/update-alternatives --install %{_libexecdir}/samba/cups_backend_smb \
968            cups_backend_smb \
969            %{_libexecdir}/samba/smbspool_krb5_wrapper 50
970    
971    %postun krb5-printing
972    if [ $1 -eq 0 ] ; then
973            %{_sbindir}/update-alternatives --remove cups_backend_smb %{_libexecdir}/samba/smbspool_krb5_wrapper
974    fi
975    
976  %post libs -p /sbin/ldconfig  %post libs -p /sbin/ldconfig
977    
# Line 940  fi Line 981  fi
981  %post -n libsmbclient -p /sbin/ldconfig  %post -n libsmbclient -p /sbin/ldconfig
982    
983  %postun -n libsmbclient -p /sbin/ldconfig  %postun -n libsmbclient -p /sbin/ldconfig
984  %endif # with_libsmbclient  %endif
985    
986  %if %with_libwbclient  %if %with_libwbclient
987  %posttrans -n libwbclient  %posttrans -n libwbclient
# Line 1011  fi Line 1052  fi
1052    
1053  %if %with_clustering_support  %if %with_clustering_support
1054  %post -n ctdb  %post -n ctdb
1055  /usr/bin/systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/ctdb.conf  /usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/ctdb.conf
1056  %systemd_post ctdb.service  %systemd_post ctdb.service
1057    
1058  %preun -n ctdb  %preun -n ctdb
# Line 1045  rm -rf %{buildroot} Line 1086  rm -rf %{buildroot}
1086  %{_libdir}/samba/vfs/acl_xattr.so  %{_libdir}/samba/vfs/acl_xattr.so
1087  %{_libdir}/samba/vfs/aio_fork.so  %{_libdir}/samba/vfs/aio_fork.so
1088  %{_libdir}/samba/vfs/aio_linux.so  %{_libdir}/samba/vfs/aio_linux.so
 %{_libdir}/samba/vfs/aio_posix.so  
1089  %{_libdir}/samba/vfs/aio_pthread.so  %{_libdir}/samba/vfs/aio_pthread.so
1090  %{_libdir}/samba/vfs/audit.so  %{_libdir}/samba/vfs/audit.so
1091  %{_libdir}/samba/vfs/btrfs.so  %{_libdir}/samba/vfs/btrfs.so
# Line 1064  rm -rf %{buildroot} Line 1104  rm -rf %{buildroot}
1104  %{_libdir}/samba/vfs/linux_xfs_sgid.so  %{_libdir}/samba/vfs/linux_xfs_sgid.so
1105  %{_libdir}/samba/vfs/media_harmony.so  %{_libdir}/samba/vfs/media_harmony.so
1106  %{_libdir}/samba/vfs/netatalk.so  %{_libdir}/samba/vfs/netatalk.so
1107    %{_libdir}/samba/vfs/offline.so
1108  %{_libdir}/samba/vfs/preopen.so  %{_libdir}/samba/vfs/preopen.so
1109  %{_libdir}/samba/vfs/readahead.so  %{_libdir}/samba/vfs/readahead.so
1110  %{_libdir}/samba/vfs/readonly.so  %{_libdir}/samba/vfs/readonly.so
1111  %{_libdir}/samba/vfs/recycle.so  %{_libdir}/samba/vfs/recycle.so
 %{_libdir}/samba/vfs/scannedonly.so  
1112  %{_libdir}/samba/vfs/shadow_copy.so  %{_libdir}/samba/vfs/shadow_copy.so
1113  %{_libdir}/samba/vfs/shadow_copy2.so  %{_libdir}/samba/vfs/shadow_copy2.so
1114  %{_libdir}/samba/vfs/smb_traffic_analyzer.so  %{_libdir}/samba/vfs/shell_snap.so
1115  %{_libdir}/samba/vfs/snapper.so  %{_libdir}/samba/vfs/snapper.so
1116  %{_libdir}/samba/vfs/streams_depot.so  %{_libdir}/samba/vfs/streams_depot.so
1117  %{_libdir}/samba/vfs/streams_xattr.so  %{_libdir}/samba/vfs/streams_xattr.so
1118  %{_libdir}/samba/vfs/syncops.so  %{_libdir}/samba/vfs/syncops.so
1119  %{_libdir}/samba/vfs/time_audit.so  %{_libdir}/samba/vfs/time_audit.so
1120    %{_libdir}/samba/vfs/unityed_media.so
1121  %{_libdir}/samba/vfs/worm.so  %{_libdir}/samba/vfs/worm.so
1122  %{_libdir}/samba/vfs/xattr_tdb.so  %{_libdir}/samba/vfs/xattr_tdb.so
1123    
# Line 1084  rm -rf %{buildroot} Line 1125  rm -rf %{buildroot}
1125  %{_unitdir}/smb.service  %{_unitdir}/smb.service
1126  %attr(1777,root,root) %dir /var/spool/samba  %attr(1777,root,root) %dir /var/spool/samba
1127  %dir %{_sysconfdir}/openldap/schema  %dir %{_sysconfdir}/openldap/schema
1128  %{_sysconfdir}/openldap/schema/samba.schema  %config %{_sysconfdir}/openldap/schema/samba.schema
1129  %{_sysconfdir}/pam.d/samba  %config(noreplace) %{_sysconfdir}/pam.d/samba
1130  %{_mandir}/man1/smbstatus.1*  %{_mandir}/man1/smbstatus.1*
1131  %{_mandir}/man8/eventlogadm.8*  %{_mandir}/man8/eventlogadm.8*
1132  %{_mandir}/man8/smbd.8*  %{_mandir}/man8/smbd.8*
1133  %{_mandir}/man8/nmbd.8*  %{_mandir}/man8/nmbd.8*
 #%{_mandir}/man8/vfs_*.8*  
1134  %{_mandir}/man8/vfs_acl_tdb.8*  %{_mandir}/man8/vfs_acl_tdb.8*
1135  %{_mandir}/man8/vfs_acl_xattr.8*  %{_mandir}/man8/vfs_acl_xattr.8*
1136  %{_mandir}/man8/vfs_aio_fork.8*  %{_mandir}/man8/vfs_aio_fork.8*
# Line 1114  rm -rf %{buildroot} Line 1154  rm -rf %{buildroot}
1154  %{_mandir}/man8/vfs_linux_xfs_sgid.8*  %{_mandir}/man8/vfs_linux_xfs_sgid.8*
1155  %{_mandir}/man8/vfs_media_harmony.8*  %{_mandir}/man8/vfs_media_harmony.8*
1156  %{_mandir}/man8/vfs_netatalk.8*  %{_mandir}/man8/vfs_netatalk.8*
1157  %{_mandir}/man8/vfs_notify_fam.8*  %{_mandir}/man8/vfs_offline.8*
1158  %{_mandir}/man8/vfs_prealloc.8*  %{_mandir}/man8/vfs_prealloc.8*
1159  %{_mandir}/man8/vfs_preopen.8*  %{_mandir}/man8/vfs_preopen.8*
1160  %{_mandir}/man8/vfs_readahead.8*  %{_mandir}/man8/vfs_readahead.8*
1161  %{_mandir}/man8/vfs_readonly.8*  %{_mandir}/man8/vfs_readonly.8*
1162  %{_mandir}/man8/vfs_recycle.8*  %{_mandir}/man8/vfs_recycle.8*
 %{_mandir}/man8/vfs_scannedonly.8*  
1163  %{_mandir}/man8/vfs_shadow_copy.8*  %{_mandir}/man8/vfs_shadow_copy.8*
1164  %{_mandir}/man8/vfs_shadow_copy2.8*  %{_mandir}/man8/vfs_shadow_copy2.8*
1165  %{_mandir}/man8/vfs_smb_traffic_analyzer.8*  %{_mandir}/man8/vfs_shell_snap.8*
1166  %{_mandir}/man8/vfs_snapper.8*  %{_mandir}/man8/vfs_snapper.8*
1167  %{_mandir}/man8/vfs_streams_depot.8*  %{_mandir}/man8/vfs_streams_depot.8*
1168  %{_mandir}/man8/vfs_streams_xattr.8*  %{_mandir}/man8/vfs_streams_xattr.8*
1169  %{_mandir}/man8/vfs_syncops.8*  %{_mandir}/man8/vfs_syncops.8*
1170  %{_mandir}/man8/vfs_time_audit.8*  %{_mandir}/man8/vfs_time_audit.8*
1171  %{_mandir}/man8/vfs_tsmsm.8*  %{_mandir}/man8/vfs_tsmsm.8*
1172    %{_mandir}/man8/vfs_unityed_media.8*
1173  %{_mandir}/man8/vfs_worm.8*  %{_mandir}/man8/vfs_worm.8*
1174  %{_mandir}/man8/vfs_xattr_tdb.8*  %{_mandir}/man8/vfs_xattr_tdb.8*
1175    
# Line 1141  rm -rf %{buildroot} Line 1181  rm -rf %{buildroot}
1181  %exclude %{_mandir}/man8/vfs_ceph.8*  %exclude %{_mandir}/man8/vfs_ceph.8*
1182  %endif  %endif
1183    
1184    %dir /var/lib/samba/drivers
1185    %dir /var/lib/samba/lock
1186    
1187  ### CLIENT  ### CLIENT
1188  %files client  %files client
1189  %defattr(-,root,root)  %defattr(-,root,root)
# Line 1159  rm -rf %{buildroot} Line 1202  rm -rf %{buildroot}
1202  %{_bindir}/smbclient  %{_bindir}/smbclient
1203  %{_bindir}/smbcquotas  %{_bindir}/smbcquotas
1204  %{_bindir}/smbget  %{_bindir}/smbget
 #%{_bindir}/smbiconv  
1205  %{_bindir}/smbprint  %{_bindir}/smbprint
1206  %{_bindir}/smbspool  %{_bindir}/smbspool
 %{_bindir}/smbta-util  
1207  %{_bindir}/smbtar  %{_bindir}/smbtar
1208  %{_bindir}/smbtree  %{_bindir}/smbtree
1209    %dir %{_libexecdir}/samba
1210    %ghost %{_libexecdir}/samba/cups_backend_smb
1211  %{_mandir}/man1/dbwrap_tool.1*  %{_mandir}/man1/dbwrap_tool.1*
1212  %{_mandir}/man1/nmblookup.1*  %{_mandir}/man1/nmblookup.1*
1213  %{_mandir}/man1/oLschema2ldif.1*  %{_mandir}/man1/oLschema2ldif.1*
# Line 1180  rm -rf %{buildroot} Line 1223  rm -rf %{buildroot}
1223  %{_mandir}/man1/smbclient.1*  %{_mandir}/man1/smbclient.1*
1224  %{_mandir}/man1/smbcquotas.1*  %{_mandir}/man1/smbcquotas.1*
1225  %{_mandir}/man1/smbget.1*  %{_mandir}/man1/smbget.1*
 %{_mandir}/man3/ntdb.3*  
1226  %{_mandir}/man5/smbgetrc.5*  %{_mandir}/man5/smbgetrc.5*
1227  %{_mandir}/man1/smbtar.1*  %{_mandir}/man1/smbtar.1*
1228  %{_mandir}/man1/smbtree.1*  %{_mandir}/man1/smbtree.1*
1229  %{_mandir}/man8/ntdbbackup.8*  %{_mandir}/man8/cifsdd.8.*
 %{_mandir}/man8/ntdbdump.8*  
 %{_mandir}/man8/ntdbrestore.8*  
 %{_mandir}/man8/ntdbtool.8*  
1230  %{_mandir}/man8/samba-regedit.8*  %{_mandir}/man8/samba-regedit.8*
1231  %{_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  
1232    
1233  %if %{with_internal_tdb}  %if %{with_internal_tdb}
1234  %{_bindir}/tdbbackup  %{_bindir}/tdbbackup
# Line 1218  rm -rf %{buildroot} Line 1248  rm -rf %{buildroot}
1248  %{_bindir}/ldbmodify  %{_bindir}/ldbmodify
1249  %{_bindir}/ldbrename  %{_bindir}/ldbrename
1250  %{_bindir}/ldbsearch  %{_bindir}/ldbsearch
1251  %{_libdir}/samba/libldb-cmdline.so  %{_libdir}/samba/libldb-cmdline-samba4.so
 %dir %{_libdir}/samba/ldb  
1252  %{_libdir}/samba/ldb/asq.so  %{_libdir}/samba/ldb/asq.so
1253  %{_libdir}/samba/ldb/paged_results.so  %{_libdir}/samba/ldb/paged_results.so
1254  %{_libdir}/samba/ldb/paged_searches.so  %{_libdir}/samba/ldb/paged_searches.so
# Line 1240  rm -rf %{buildroot} Line 1269  rm -rf %{buildroot}
1269  %files client-libs  %files client-libs
1270  %defattr(-,root,root)  %defattr(-,root,root)
1271  %{_libdir}/libdcerpc-binding.so.*  %{_libdir}/libdcerpc-binding.so.*
 %{_libdir}/libgensec.so.*  
1272  %{_libdir}/libndr.so.*  %{_libdir}/libndr.so.*
1273  %{_libdir}/libndr-krb5pac.so.*  %{_libdir}/libndr-krb5pac.so.*
1274  %{_libdir}/libndr-nbt.so.*  %{_libdir}/libndr-nbt.so.*
1275  %{_libdir}/libndr-standard.so.*  %{_libdir}/libndr-standard.so.*
1276  %{_libdir}/libnetapi.so.*  %{_libdir}/libnetapi.so.*
1277  %{_libdir}/libsamba-credentials.so.*  %{_libdir}/libsamba-credentials.so.*
1278    %{_libdir}/libsamba-errors.so.*
1279  %{_libdir}/libsamba-passdb.so.*  %{_libdir}/libsamba-passdb.so.*
1280  %{_libdir}/libsamba-util.so.*  %{_libdir}/libsamba-util.so.*
1281  %{_libdir}/libsamba-hostconfig.so.*  %{_libdir}/libsamba-hostconfig.so.*
1282  %{_libdir}/libsamdb.so.*  %{_libdir}/libsamdb.so.*
1283  %{_libdir}/libsmbconf.so.*  %{_libdir}/libsmbconf.so.*
 %{_libdir}/libsmbclient-raw.so.*  
1284  %{_libdir}/libsmbldap.so.*  %{_libdir}/libsmbldap.so.*
1285    %{_libdir}/libtevent-unix-util.so.*
1286  %{_libdir}/libtevent-util.so.*  %{_libdir}/libtevent-util.so.*
 %{_libdir}/libregistry.so.*  
1287  %{_libdir}/libdcerpc.so.*  %{_libdir}/libdcerpc.so.*
1288    
1289  %dir %{_libdir}/samba  %dir %{_libdir}/samba
# Line 1266  rm -rf %{buildroot} Line 1294  rm -rf %{buildroot}
1294  %{_libdir}/samba/libauth-sam-reply-samba4.so  %{_libdir}/samba/libauth-sam-reply-samba4.so
1295  %{_libdir}/samba/libauth-samba4.so  %{_libdir}/samba/libauth-samba4.so
1296  %{_libdir}/samba/libauthkrb5-samba4.so  %{_libdir}/samba/libauthkrb5-samba4.so
 %{_libdir}/samba/libccan-samba4.so  
1297  %{_libdir}/samba/libcli-cldap-samba4.so  %{_libdir}/samba/libcli-cldap-samba4.so
1298  %{_libdir}/samba/libcli-ldap-common-samba4.so  %{_libdir}/samba/libcli-ldap-common-samba4.so
1299  %{_libdir}/samba/libcli-ldap-samba4.so  %{_libdir}/samba/libcli-ldap-samba4.so
# Line 1277  rm -rf %{buildroot} Line 1304  rm -rf %{buildroot}
1304  %{_libdir}/samba/libcmdline-credentials-samba4.so  %{_libdir}/samba/libcmdline-credentials-samba4.so
1305  %{_libdir}/samba/libdbwrap-samba4.so  %{_libdir}/samba/libdbwrap-samba4.so
1306  %{_libdir}/samba/libdcerpc-samba-samba4.so  %{_libdir}/samba/libdcerpc-samba-samba4.so
 %{_libdir}/samba/liberrors-samba4.so  
1307  %{_libdir}/samba/libevents-samba4.so  %{_libdir}/samba/libevents-samba4.so
1308  %{_libdir}/samba/libflag-mapping-samba4.so  %{_libdir}/samba/libflag-mapping-samba4.so
1309    %{_libdir}/samba/libgenrand-samba4.so
1310    %{_libdir}/samba/libgensec-samba4.so
1311  %{_libdir}/samba/libgpo-samba4.so  %{_libdir}/samba/libgpo-samba4.so
1312  %{_libdir}/samba/libgse-samba4.so  %{_libdir}/samba/libgse-samba4.so
1313  %{_libdir}/samba/libhttp-samba4.so  %{_libdir}/samba/libhttp-samba4.so
1314  %{_libdir}/samba/libinterfaces-samba4.so  %{_libdir}/samba/libinterfaces-samba4.so
1315    %{_libdir}/samba/libiov-buf-samba4.so
1316  %{_libdir}/samba/libkrb5samba-samba4.so  %{_libdir}/samba/libkrb5samba-samba4.so
1317  %{_libdir}/samba/libldbsamba-samba4.so  %{_libdir}/samba/libldbsamba-samba4.so
1318  %{_libdir}/samba/liblibcli-lsa3-samba4.so  %{_libdir}/samba/liblibcli-lsa3-samba4.so
1319  %{_libdir}/samba/liblibcli-netlogon3-samba4.so  %{_libdir}/samba/liblibcli-netlogon3-samba4.so
1320  %{_libdir}/samba/liblibsmb-samba4.so  %{_libdir}/samba/liblibsmb-samba4.so
1321    %{_libdir}/samba/libmessages-dgm-samba4.so
1322    %{_libdir}/samba/libmessages-util-samba4.so
1323    %{_libdir}/samba/libmsghdr-samba4.so
1324  %{_libdir}/samba/libmsrpc3-samba4.so  %{_libdir}/samba/libmsrpc3-samba4.so
1325  %{_libdir}/samba/libndr-samba-samba4.so  %{_libdir}/samba/libndr-samba-samba4.so
1326  %{_libdir}/samba/libndr-samba4.so  %{_libdir}/samba/libndr-samba4.so
# Line 1297  rm -rf %{buildroot} Line 1329  rm -rf %{buildroot}
1329  %{_libdir}/samba/libnpa-tstream-samba4.so  %{_libdir}/samba/libnpa-tstream-samba4.so
1330  %{_libdir}/samba/libprinting-migrate-samba4.so  %{_libdir}/samba/libprinting-migrate-samba4.so
1331  %{_libdir}/samba/libreplace-samba4.so  %{_libdir}/samba/libreplace-samba4.so
1332    %{_libdir}/samba/libregistry-samba4.so
1333  %{_libdir}/samba/libsamba-cluster-support-samba4.so  %{_libdir}/samba/libsamba-cluster-support-samba4.so
1334  %{_libdir}/samba/libsamba-debug-samba4.so  %{_libdir}/samba/libsamba-debug-samba4.so
1335  %{_libdir}/samba/libsamba-modules-samba4.so  %{_libdir}/samba/libsamba-modules-samba4.so
# Line 1305  rm -rf %{buildroot} Line 1338  rm -rf %{buildroot}
1338  %{_libdir}/samba/libsamba3-util-samba4.so  %{_libdir}/samba/libsamba3-util-samba4.so
1339  %{_libdir}/samba/libsamdb-common-samba4.so  %{_libdir}/samba/libsamdb-common-samba4.so
1340  %{_libdir}/samba/libsecrets3-samba4.so  %{_libdir}/samba/libsecrets3-samba4.so
1341    %{_libdir}/samba/libserver-id-db-samba4.so
1342  %{_libdir}/samba/libserver-role-samba4.so  %{_libdir}/samba/libserver-role-samba4.so
1343  %{_libdir}/samba/libsmb-transport-samba4.so  %{_libdir}/samba/libsmb-transport-samba4.so
1344    %{_libdir}/samba/libsmbclient-raw-samba4.so
1345  %{_libdir}/samba/libsmbd-base-samba4.so  %{_libdir}/samba/libsmbd-base-samba4.so
1346  %{_libdir}/samba/libsmbd-conn-samba4.so  %{_libdir}/samba/libsmbd-conn-samba4.so
1347  %{_libdir}/samba/libsmbd-shim-samba4.so  %{_libdir}/samba/libsmbd-shim-samba4.so
1348  %{_libdir}/samba/libsmbldaphelper-samba4.so  %{_libdir}/samba/libsmbldaphelper-samba4.so
1349  %{_libdir}/samba/libsmbregistry-samba4.so  %{_libdir}/samba/libsmbregistry-samba4.so
1350    %{_libdir}/samba/libsys-rw-samba4.so
1351  %{_libdir}/samba/libsocket-blocking-samba4.so  %{_libdir}/samba/libsocket-blocking-samba4.so
1352    %{_libdir}/samba/libtalloc-report-samba4.so
1353  %{_libdir}/samba/libtdb-wrap-samba4.so  %{_libdir}/samba/libtdb-wrap-samba4.so
1354    %{_libdir}/samba/libtime-basic-samba4.so
1355    %{_libdir}/samba/libtorture-samba4.so
1356  %{_libdir}/samba/libtrusts-util-samba4.so  %{_libdir}/samba/libtrusts-util-samba4.so
1357  %{_libdir}/samba/libutil-cmdline-samba4.so  %{_libdir}/samba/libutil-cmdline-samba4.so
 %{_libdir}/samba/libutil-ntdb-samba4.so  
1358  %{_libdir}/samba/libutil-reg-samba4.so  %{_libdir}/samba/libutil-reg-samba4.so
1359  %{_libdir}/samba/libutil-setid-samba4.so  %{_libdir}/samba/libutil-setid-samba4.so
1360  %{_libdir}/samba/libutil-tdb-samba4.so  %{_libdir}/samba/libutil-tdb-samba4.so
# Line 1331  rm -rf %{buildroot} Line 1369  rm -rf %{buildroot}
1369  %{_mandir}/man7/libsmbclient.7*  %{_mandir}/man7/libsmbclient.7*
1370  %endif # ! with_libsmbclient  %endif # ! with_libsmbclient
1371    
 %if %{with_internal_ntdb}  
 %{_libdir}/samba/libntdb.so.1  
 %{_libdir}/samba/libntdb.so.%{ntdb_version}  
 %endif  
   
1372  %if %{with_internal_talloc}  %if %{with_internal_talloc}
1373  %{_libdir}/samba/libtalloc.so.2  %{_libdir}/samba/libtalloc.so.2
1374  %{_libdir}/samba/libtalloc.so.%{talloc_version}  %{_libdir}/samba/libtalloc.so.%{talloc_version}
# Line 1357  rm -rf %{buildroot} Line 1390  rm -rf %{buildroot}
1390  %if %{with_internal_ldb}  %if %{with_internal_ldb}
1391  %{_libdir}/samba/libldb.so.1  %{_libdir}/samba/libldb.so.1
1392  %{_libdir}/samba/libldb.so.%{ldb_version}  %{_libdir}/samba/libldb.so.%{ldb_version}
1393    %{_libdir}/samba/libpyldb-util.so.1
1394    %{_libdir}/samba/libpyldb-util.so.%{ldb_version}
1395  %{_mandir}/man3/ldb.3.gz  %{_mandir}/man3/ldb.3.gz
1396  %endif  %endif
1397    
1398  ### COMMON  ### COMMON
1399  %files common  %files common
1400  %defattr(-,root,root)  %defattr(-,root,root)
1401  %{_prefix}/lib/tmpfiles.d/samba.conf  %{_tmpfilesdir}/samba.conf
 %{_datadir}/samba/codepages  
1402  %dir %{_sysconfdir}/logrotate.d/  %dir %{_sysconfdir}/logrotate.d/
1403  %config(noreplace) %{_sysconfdir}/logrotate.d/samba  %config(noreplace) %{_sysconfdir}/logrotate.d/samba
1404  %attr(0700,root,root) %dir /var/log/samba  %attr(0700,root,root) %dir /var/log/samba
1405  %attr(0700,root,root) %dir /var/log/samba/old  %attr(0700,root,root) %dir /var/log/samba/old
 %attr(0755,root,root) %dir /var/lib/samba  
1406  %ghost %dir /var/run/samba  %ghost %dir /var/run/samba
1407  %ghost %dir /var/run/winbindd  %ghost %dir /var/run/winbindd
1408    %dir /var/lib/samba
1409  %attr(700,root,root) %dir /var/lib/samba/private  %attr(700,root,root) %dir /var/lib/samba/private
1410  %attr(755,root,root) %dir %{_sysconfdir}/samba  %attr(755,root,root) %dir %{_sysconfdir}/samba
1411  %config(noreplace) %{_sysconfdir}/samba/smb.conf  %config(noreplace) %{_sysconfdir}/samba/smb.conf
1412    %{_sysconfdir}/samba/smb.conf.example
1413  %config(noreplace) %{_sysconfdir}/samba/lmhosts  %config(noreplace) %{_sysconfdir}/samba/lmhosts
1414  %config(noreplace) %{_sysconfdir}/sysconfig/samba  %config(noreplace) %{_sysconfdir}/sysconfig/samba
1415  %{_mandir}/man5/lmhosts.5*  %{_mandir}/man5/lmhosts.5*
# Line 1388  rm -rf %{buildroot} Line 1423  rm -rf %{buildroot}
1423  # common libraries  # common libraries
1424  %{_libdir}/samba/libpopt-samba3-samba4.so  %{_libdir}/samba/libpopt-samba3-samba4.so
1425    
1426    # We need this directory here because the net tool is looking
1427    # for it.
1428    %dir %{_libdir}/samba/ldb
1429    
1430  %dir %{_libdir}/samba/pdb  %dir %{_libdir}/samba/pdb
1431  %{_libdir}/samba/pdb/ldapsam.so  %{_libdir}/samba/pdb/ldapsam.so
1432  %{_libdir}/samba/pdb/smbpasswd.so  %{_libdir}/samba/pdb/smbpasswd.so
1433  %{_libdir}/samba/pdb/tdbsam.so  %{_libdir}/samba/pdb/tdbsam.so
1434  %{_libdir}/samba/pdb/wbc_sam.so  %{_libdir}/samba/pdb/wbc_sam.so
1435    
 %if %with_pam_smbpass  
 %{_libdir}/security/pam_smbpass.so  
 %endif  
   
1436  %files common-tools  %files common-tools
1437  %defattr(-,root,root)  %defattr(-,root,root)
1438  %{_bindir}/net  %{_bindir}/net
# Line 1424  rm -rf %{buildroot} Line 1459  rm -rf %{buildroot}
1459  %{_sbindir}/samba_dnsupdate  %{_sbindir}/samba_dnsupdate
1460  %{_sbindir}/samba_spnupdate  %{_sbindir}/samba_spnupdate
1461  %{_sbindir}/samba_upgradedns  %{_sbindir}/samba_upgradedns
 %{_libdir}/mit_samba.so  
1462  %{_libdir}/samba/auth/samba4.so  %{_libdir}/samba/auth/samba4.so
1463  %{_libdir}/samba/bind9/dlz_bind9.so  %{_libdir}/samba/bind9/dlz_bind9.so
1464  %{_libdir}/samba/bind9/dlz_bind9_10.so  %{_libdir}/samba/bind9/dlz_bind9_10.so
# Line 1440  rm -rf %{buildroot} Line 1474  rm -rf %{buildroot}
1474  %{_libdir}/samba/ldb/anr.so  %{_libdir}/samba/ldb/anr.so
1475  %{_libdir}/samba/ldb/descriptor.so  %{_libdir}/samba/ldb/descriptor.so
1476  %{_libdir}/samba/ldb/dirsync.so  %{_libdir}/samba/ldb/dirsync.so
1477    %{_libdir}/samba/ldb/dns_notify.so
1478  %{_libdir}/samba/ldb/extended_dn_in.so  %{_libdir}/samba/ldb/extended_dn_in.so
1479  %{_libdir}/samba/ldb/extended_dn_out.so  %{_libdir}/samba/ldb/extended_dn_out.so
1480  %{_libdir}/samba/ldb/extended_dn_store.so  %{_libdir}/samba/ldb/extended_dn_store.so
# Line 1460  rm -rf %{buildroot} Line 1495  rm -rf %{buildroot}
1495  %{_libdir}/samba/ldb/repl_meta_data.so  %{_libdir}/samba/ldb/repl_meta_data.so
1496  %{_libdir}/samba/ldb/resolve_oids.so  %{_libdir}/samba/ldb/resolve_oids.so
1497  %{_libdir}/samba/ldb/rootdse.so  %{_libdir}/samba/ldb/rootdse.so
1498    %{_unitdir}/samba.service
1499  %{_libdir}/samba/ldb/samba3sam.so  %{_libdir}/samba/ldb/samba3sam.so
1500  %{_libdir}/samba/ldb/samba3sid.so  %{_libdir}/samba/ldb/samba3sid.so
1501  %{_libdir}/samba/ldb/samba_dsdb.so  %{_libdir}/samba/ldb/samba_dsdb.so
# Line 1473  rm -rf %{buildroot} Line 1509  rm -rf %{buildroot}
1509  %{_libdir}/samba/ldb/simple_ldap_map.so  %{_libdir}/samba/ldb/simple_ldap_map.so
1510  %{_libdir}/samba/ldb/subtree_delete.so  %{_libdir}/samba/ldb/subtree_delete.so
1511  %{_libdir}/samba/ldb/subtree_rename.so  %{_libdir}/samba/ldb/subtree_rename.so
1512    %{_libdir}/samba/ldb/tombstone_reanimate.so
1513  %{_libdir}/samba/ldb/update_keytab.so  %{_libdir}/samba/ldb/update_keytab.so
1514  %{_libdir}/samba/ldb/wins_ldb.so  %{_libdir}/samba/ldb/wins_ldb.so
1515  %{_libdir}/samba/vfs/posix_eadb.so  %{_libdir}/samba/vfs/posix_eadb.so
# Line 1480  rm -rf %{buildroot} Line 1517  rm -rf %{buildroot}
1517  %{_datadir}/samba/setup  %{_datadir}/samba/setup
1518  %{_mandir}/man8/samba.8*  %{_mandir}/man8/samba.8*
1519  %{_mandir}/man8/samba-tool.8*  %{_mandir}/man8/samba-tool.8*
 %{_unitdir}/samba.service  
1520  %else # with_dc  %else # with_dc
1521  %doc packaging/README.dc  %doc packaging/README.dc
1522  %endif # with_dc  %endif # with_dc
# Line 1492  rm -rf %{buildroot} Line 1528  rm -rf %{buildroot}
1528  %{_libdir}/samba/libprocess-model-samba4.so  %{_libdir}/samba/libprocess-model-samba4.so
1529  %{_libdir}/samba/libservice-samba4.so  %{_libdir}/samba/libservice-samba4.so
1530  %dir %{_libdir}/samba/process_model  %dir %{_libdir}/samba/process_model
 %{_libdir}/samba/process_model/onefork.so  
 %{_libdir}/samba/process_model/prefork.so  
1531  %{_libdir}/samba/process_model/standard.so  %{_libdir}/samba/process_model/standard.so
1532  %dir %{_libdir}/samba/service  %dir %{_libdir}/samba/service
1533  %{_libdir}/samba/service/cldap.so  %{_libdir}/samba/service/cldap.so
# Line 1507  rm -rf %{buildroot} Line 1541  rm -rf %{buildroot}
1541  %{_libdir}/samba/service/nbtd.so  %{_libdir}/samba/service/nbtd.so
1542  %{_libdir}/samba/service/ntp_signd.so  %{_libdir}/samba/service/ntp_signd.so
1543  %{_libdir}/samba/service/s3fs.so  %{_libdir}/samba/service/s3fs.so
 %{_libdir}/samba/service/smb.so  
1544  %{_libdir}/samba/service/web.so  %{_libdir}/samba/service/web.so
 %{_libdir}/samba/service/winbind.so  
1545  %{_libdir}/samba/service/winbindd.so  %{_libdir}/samba/service/winbindd.so
1546  %{_libdir}/samba/service/wrepl.so  %{_libdir}/samba/service/wrepl.so
1547  %{_libdir}/libdcerpc-server.so.*  %{_libdir}/libdcerpc-server.so.*
# Line 1534  rm -rf %{buildroot} Line 1566  rm -rf %{buildroot}
1566  %{_includedir}/samba-4.0/core/werror.h  %{_includedir}/samba-4.0/core/werror.h
1567  %{_includedir}/samba-4.0/credentials.h  %{_includedir}/samba-4.0/credentials.h
1568  %{_includedir}/samba-4.0/dcerpc.h  %{_includedir}/samba-4.0/dcerpc.h
 %{_includedir}/samba-4.0/dlinklist.h  
1569  %{_includedir}/samba-4.0/domain_credentials.h  %{_includedir}/samba-4.0/domain_credentials.h
1570  %{_includedir}/samba-4.0/gen_ndr/atsvc.h  %{_includedir}/samba-4.0/gen_ndr/atsvc.h
1571  %{_includedir}/samba-4.0/gen_ndr/auth.h  %{_includedir}/samba-4.0/gen_ndr/auth.h
1572  %{_includedir}/samba-4.0/gen_ndr/dcerpc.h  %{_includedir}/samba-4.0/gen_ndr/dcerpc.h
 %{_includedir}/samba-4.0/gen_ndr/epmapper.h  
1573  %{_includedir}/samba-4.0/gen_ndr/krb5pac.h  %{_includedir}/samba-4.0/gen_ndr/krb5pac.h
1574  %{_includedir}/samba-4.0/gen_ndr/lsa.h  %{_includedir}/samba-4.0/gen_ndr/lsa.h
 %{_includedir}/samba-4.0/gen_ndr/mgmt.h  
1575  %{_includedir}/samba-4.0/gen_ndr/misc.h  %{_includedir}/samba-4.0/gen_ndr/misc.h
1576  %{_includedir}/samba-4.0/gen_ndr/nbt.h  %{_includedir}/samba-4.0/gen_ndr/nbt.h
1577  %{_includedir}/samba-4.0/gen_ndr/drsblobs.h  %{_includedir}/samba-4.0/gen_ndr/drsblobs.h
# Line 1550  rm -rf %{buildroot} Line 1579  rm -rf %{buildroot}
1579  %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h  %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h
1580  %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h  %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h
1581  %{_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  
1582  %{_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  
1583  %{_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  
1584  %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h  %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h
1585  %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h  %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h
1586  %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h  %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h
# Line 1568  rm -rf %{buildroot} Line 1592  rm -rf %{buildroot}
1592  %{_includedir}/samba-4.0/gen_ndr/security.h  %{_includedir}/samba-4.0/gen_ndr/security.h
1593  %{_includedir}/samba-4.0/gen_ndr/server_id.h  %{_includedir}/samba-4.0/gen_ndr/server_id.h
1594  %{_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  
1595  %{_includedir}/samba-4.0/ldb_wrap.h  %{_includedir}/samba-4.0/ldb_wrap.h
1596  %{_includedir}/samba-4.0/lookup_sid.h  %{_includedir}/samba-4.0/lookup_sid.h
1597  %{_includedir}/samba-4.0/machine_sid.h  %{_includedir}/samba-4.0/machine_sid.h
# Line 1587  rm -rf %{buildroot} Line 1606  rm -rf %{buildroot}
1606  %{_includedir}/samba-4.0/param.h  %{_includedir}/samba-4.0/param.h
1607  %{_includedir}/samba-4.0/passdb.h  %{_includedir}/samba-4.0/passdb.h
1608  %{_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  
1609  %{_includedir}/samba-4.0/rpc_common.h  %{_includedir}/samba-4.0/rpc_common.h
1610  %{_includedir}/samba-4.0/samba/session.h  %{_includedir}/samba-4.0/samba/session.h
1611  %{_includedir}/samba-4.0/samba/version.h  %{_includedir}/samba-4.0/samba/version.h
1612  %{_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  
1613  %{_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  
1614  %{_includedir}/samba-4.0/smbconf.h  %{_includedir}/samba-4.0/smbconf.h
 %{_includedir}/samba-4.0/smb_constants.h  
1615  %{_includedir}/samba-4.0/smb_ldap.h  %{_includedir}/samba-4.0/smb_ldap.h
1616  %{_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  
1617  %{_includedir}/samba-4.0/tdr.h  %{_includedir}/samba-4.0/tdr.h
1618  %{_includedir}/samba-4.0/tsocket.h  %{_includedir}/samba-4.0/tsocket.h
1619  %{_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  
1620  %dir %{_includedir}/samba-4.0/util  %dir %{_includedir}/samba-4.0/util
1621  %{_includedir}/samba-4.0/util/attr.h  %{_includedir}/samba-4.0/util/attr.h
1622  %{_includedir}/samba-4.0/util/blocking.h  %{_includedir}/samba-4.0/util/blocking.h
# Line 1629  rm -rf %{buildroot} Line 1624  rm -rf %{buildroot}
1624  %{_includedir}/samba-4.0/util/data_blob.h  %{_includedir}/samba-4.0/util/data_blob.h
1625  %{_includedir}/samba-4.0/util/debug.h  %{_includedir}/samba-4.0/util/debug.h
1626  %{_includedir}/samba-4.0/util/fault.h  %{_includedir}/samba-4.0/util/fault.h
1627    %{_includedir}/samba-4.0/util/genrand.h
1628  %{_includedir}/samba-4.0/util/idtree.h  %{_includedir}/samba-4.0/util/idtree.h
1629  %{_includedir}/samba-4.0/util/idtree_random.h  %{_includedir}/samba-4.0/util/idtree_random.h
1630  %{_includedir}/samba-4.0/util/memory.h  %{_includedir}/samba-4.0/util/memory.h
# Line 1643  rm -rf %{buildroot} Line 1639  rm -rf %{buildroot}
1639  %{_includedir}/samba-4.0/util/time.h  %{_includedir}/samba-4.0/util/time.h
1640  %{_includedir}/samba-4.0/util/xfile.h  %{_includedir}/samba-4.0/util/xfile.h
1641  %{_includedir}/samba-4.0/util_ldb.h  %{_includedir}/samba-4.0/util_ldb.h
 %{_libdir}/libdcerpc-atsvc.so  
1642  %{_libdir}/libdcerpc-binding.so  %{_libdir}/libdcerpc-binding.so
1643  %{_libdir}/libdcerpc-samr.so  %{_libdir}/libdcerpc-samr.so
1644  %{_libdir}/libdcerpc.so  %{_libdir}/libdcerpc.so
 %{_libdir}/libgensec.so  
1645  %{_libdir}/libndr-krb5pac.so  %{_libdir}/libndr-krb5pac.so
1646  %{_libdir}/libndr-nbt.so  %{_libdir}/libndr-nbt.so
1647  %{_libdir}/libndr-standard.so  %{_libdir}/libndr-standard.so
1648  %{_libdir}/libndr.so  %{_libdir}/libndr.so
1649  %{_libdir}/libnetapi.so  %{_libdir}/libnetapi.so
 %{_libdir}/libregistry.so  
1650  %{_libdir}/libsamba-credentials.so  %{_libdir}/libsamba-credentials.so
1651    %{_libdir}/libsamba-errors.so
1652  %{_libdir}/libsamba-hostconfig.so  %{_libdir}/libsamba-hostconfig.so
1653  %{_libdir}/libsamba-policy.so  %{_libdir}/libsamba-policy.so
1654  %{_libdir}/libsamba-util.so  %{_libdir}/libsamba-util.so
1655  %{_libdir}/libsamdb.so  %{_libdir}/libsamdb.so
 %{_libdir}/libsmbclient-raw.so  
1656  %{_libdir}/libsmbconf.so  %{_libdir}/libsmbconf.so
1657    %{_libdir}/libtevent-unix-util.so
1658  %{_libdir}/libtevent-util.so  %{_libdir}/libtevent-util.so
1659  %{_libdir}/pkgconfig/dcerpc.pc  %{_libdir}/pkgconfig/dcerpc.pc
 %{_libdir}/pkgconfig/dcerpc_atsvc.pc  
1660  %{_libdir}/pkgconfig/dcerpc_samr.pc  %{_libdir}/pkgconfig/dcerpc_samr.pc
 %{_libdir}/pkgconfig/gensec.pc  
1661  %{_libdir}/pkgconfig/ndr.pc  %{_libdir}/pkgconfig/ndr.pc
1662  %{_libdir}/pkgconfig/ndr_krb5pac.pc  %{_libdir}/pkgconfig/ndr_krb5pac.pc
1663  %{_libdir}/pkgconfig/ndr_nbt.pc  %{_libdir}/pkgconfig/ndr_nbt.pc
1664  %{_libdir}/pkgconfig/ndr_standard.pc  %{_libdir}/pkgconfig/ndr_standard.pc
1665  %{_libdir}/pkgconfig/netapi.pc  %{_libdir}/pkgconfig/netapi.pc
 %{_libdir}/pkgconfig/registry.pc  
1666  %{_libdir}/pkgconfig/samba-credentials.pc  %{_libdir}/pkgconfig/samba-credentials.pc
1667  %{_libdir}/pkgconfig/samba-hostconfig.pc  %{_libdir}/pkgconfig/samba-hostconfig.pc
1668  %{_libdir}/pkgconfig/samba-policy.pc  %{_libdir}/pkgconfig/samba-policy.pc
1669  %{_libdir}/pkgconfig/samba-util.pc  %{_libdir}/pkgconfig/samba-util.pc
1670  %{_libdir}/pkgconfig/samdb.pc  %{_libdir}/pkgconfig/samdb.pc
 %{_libdir}/pkgconfig/smbclient-raw.pc  
1671  %{_libdir}/libsamba-passdb.so  %{_libdir}/libsamba-passdb.so
1672  %{_libdir}/libsmbldap.so  %{_libdir}/libsmbldap.so
1673    
# Line 1687  rm -rf %{buildroot} Line 1677  rm -rf %{buildroot}
1677  %{_libdir}/pkgconfig/dcerpc_server.pc  %{_libdir}/pkgconfig/dcerpc_server.pc
1678  %endif  %endif
1679    
 %if %with_internal_talloc  
 %{_includedir}/samba-4.0/pytalloc.h  
 %endif  
   
1680  %if ! %with_libsmbclient  %if ! %with_libsmbclient
1681  %{_includedir}/samba-4.0/libsmbclient.h  %{_includedir}/samba-4.0/libsmbclient.h
1682  %endif # ! with_libsmbclient  %endif # ! with_libsmbclient
# Line 1713  rm -rf %{buildroot} Line 1699  rm -rf %{buildroot}
1699  %{_mandir}/man8/vfs_glusterfs.8*  %{_mandir}/man8/vfs_glusterfs.8*
1700  %endif  %endif
1701    
1702    ### KRB5-PRINTING
1703    %files krb5-printing
1704    %defattr(-,root,root)
1705    %attr(0700,root,root) %{_libexecdir}/samba/smbspool_krb5_wrapper
1706    %{_mandir}/man8/smbspool_krb5_wrapper.8*
1707    
1708  ### LIBS  ### LIBS
1709  %files libs  %files libs
1710  %defattr(-,root,root)  %defattr(-,root,root)
 %{_libdir}/libdcerpc-atsvc.so.*  
1711  %{_libdir}/libdcerpc-samr.so.*  %{_libdir}/libdcerpc-samr.so.*
1712  %{_libdir}/libsamba-policy.so.*  %{_libdir}/libsamba-policy.so.*
1713    
# Line 1732  rm -rf %{buildroot} Line 1723  rm -rf %{buildroot}
1723  %{_libdir}/samba/libsamba-python-samba4.so  %{_libdir}/samba/libsamba-python-samba4.so
1724  %{_libdir}/samba/libshares-samba4.so  %{_libdir}/samba/libshares-samba4.so
1725  %{_libdir}/samba/libsmbpasswdparser-samba4.so  %{_libdir}/samba/libsmbpasswdparser-samba4.so
 %{_libdir}/samba/libtdb-compat-samba4.so  
1726  %{_libdir}/samba/libxattr-tdb-samba4.so  %{_libdir}/samba/libxattr-tdb-samba4.so
1727    
1728  %if %with_dc  %if %with_dc
# Line 1740  rm -rf %{buildroot} Line 1730  rm -rf %{buildroot}
1730  %{_libdir}/samba/libHDB-SAMBA4-samba4.so  %{_libdir}/samba/libHDB-SAMBA4-samba4.so
1731  %{_libdir}/samba/libasn1-samba4.so.8  %{_libdir}/samba/libasn1-samba4.so.8
1732  %{_libdir}/samba/libasn1-samba4.so.8.0.0  %{_libdir}/samba/libasn1-samba4.so.8.0.0
1733    %{_libdir}/samba/libcom_err-samba4.so.0
1734    %{_libdir}/samba/libcom_err-samba4.so.0.25
1735  %{_libdir}/samba/libgssapi-samba4.so.2  %{_libdir}/samba/libgssapi-samba4.so.2
1736  %{_libdir}/samba/libgssapi-samba4.so.2.0.0  %{_libdir}/samba/libgssapi-samba4.so.2.0.0
1737  %{_libdir}/samba/libhcrypto-samba4.so.5  %{_libdir}/samba/libhcrypto-samba4.so.5
# Line 1857  rm -rf %{buildroot} Line 1849  rm -rf %{buildroot}
1849  ### TEST-LIBS  ### TEST-LIBS
1850  %files test-libs  %files test-libs
1851  %defattr(-,root,root)  %defattr(-,root,root)
 %{_libdir}/libtorture.so.*  
 %{_libdir}/samba/libsubunit-samba4.so  
1852  %if %with_dc  %if %with_dc
1853  %{_libdir}/samba/libdlz-bind9-for-torture-samba4.so  %{_libdir}/samba/libdlz-bind9-for-torture-samba4.so
1854  %else  %else
1855  %{_libdir}/samba/libdsdb-module-samba4.so  %{_libdir}/samba/libdsdb-module-samba4.so
1856  %endif  %endif
1857    
 ### TEST-DEVEL  
 %files test-devel  
 %defattr(-,root,root)  
 %{_includedir}/samba-4.0/torture.h  
 %{_libdir}/libtorture.so  
 %{_libdir}/pkgconfig/torture.pc  
   
1858  ### WINBIND  ### WINBIND
1859  %files winbind  %files winbind
1860  %defattr(-,root,root)  %defattr(-,root,root)
 #%{_bindir}/wbinfo3  
1861  %{_libdir}/samba/idmap  %{_libdir}/samba/idmap
1862  %{_libdir}/samba/nss_info  %{_libdir}/samba/nss_info
1863  %{_libdir}/samba/libnss-info-samba4.so  %{_libdir}/samba/libnss-info-samba4.so
# Line 1917  rm -rf %{buildroot} Line 1899  rm -rf %{buildroot}
1899  %defattr(-,root,root)  %defattr(-,root,root)
1900  %doc ctdb/README  %doc ctdb/README
1901  %config(noreplace) %{_sysconfdir}/sysconfig/ctdb  %config(noreplace) %{_sysconfdir}/sysconfig/ctdb
1902  %config(noreplace) %{_sysconfdir}/ctdb/notify.sh  %{_sysconfdir}/ctdb/notify.sh
1903  %config(noreplace) %{_sysconfdir}/ctdb/debug-hung-script.sh  %{_sysconfdir}/ctdb/debug-hung-script.sh
1904  %config(noreplace) %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh  %{_sysconfdir}/ctdb/ctdb-crash-cleanup.sh
1905  %config(noreplace) %{_sysconfdir}/ctdb/gcore_trace.sh  %{_sysconfdir}/ctdb/gcore_trace.sh
1906  %config(noreplace) %{_sysconfdir}/ctdb/functions  %{_sysconfdir}/ctdb/functions
1907  %config(noreplace) %{_sysconfdir}/ctdb/debug_locks.sh  %{_sysconfdir}/ctdb/debug_locks.sh
1908  %dir %{_localstatedir}/lib/ctdb/  %dir %{_localstatedir}/lib/ctdb/
 %{_tmpfilesdir}/%{name}.conf  
1909    
1910  %{_unitdir}/ctdb.service  %{_unitdir}/ctdb.service
1911    
1912  %dir %{_sysconfdir}/ctdb  %dir %{_sysconfdir}/ctdb
1913  %{_sysconfdir}/ctdb/statd-callout  %{_sysconfdir}/ctdb/statd-callout
1914  %dir %{_sysconfdir}/ctdb/nfs-rpc-checks.d  # CTDB scripts, no config files
1915  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/10.statd.check  # script with executable bit means activated
1916  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/20.nfsd.check  %dir %{_sysconfdir}/ctdb/nfs-checks.d
1917  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/30.lockd.check  %{_sysconfdir}/ctdb/nfs-checks.d/00.portmapper.check
1918  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/40.mountd.check  %{_sysconfdir}/ctdb/nfs-checks.d/10.status.check
1919  %{_sysconfdir}/ctdb/nfs-rpc-checks.d/50.rquotad.check  %{_sysconfdir}/ctdb/nfs-checks.d/20.nfs.check
1920  %{_sysconfdir}/sudoers.d/ctdb  %{_sysconfdir}/ctdb/nfs-checks.d/30.nlockmgr.check
1921  %{_sysconfdir}/ctdb/events.d/  %{_sysconfdir}/ctdb/nfs-checks.d/40.mountd.check
1922    %{_sysconfdir}/ctdb/nfs-checks.d/50.rquotad.check
1923    %{_sysconfdir}/ctdb/nfs-checks.d/README
1924    %{_sysconfdir}/ctdb/nfs-linux-kernel-callout
1925    %config %{_sysconfdir}/sudoers.d/ctdb
1926    # CTDB scripts, no config files
1927    # script with executable bit means activated
1928    %dir %{_sysconfdir}/ctdb/events.d
1929    %{_sysconfdir}/ctdb/events.d/00.ctdb
1930    %{_sysconfdir}/ctdb/events.d/01.reclock
1931    %{_sysconfdir}/ctdb/events.d/05.system
1932    %{_sysconfdir}/ctdb/events.d/10.external
1933    %{_sysconfdir}/ctdb/events.d/10.interface
1934    %{_sysconfdir}/ctdb/events.d/11.natgw
1935    %{_sysconfdir}/ctdb/events.d/11.routing
1936    %{_sysconfdir}/ctdb/events.d/13.per_ip_routing
1937    %{_sysconfdir}/ctdb/events.d/20.multipathd
1938    %{_sysconfdir}/ctdb/events.d/31.clamd
1939    %{_sysconfdir}/ctdb/events.d/40.vsftpd
1940    %{_sysconfdir}/ctdb/events.d/41.httpd
1941    %{_sysconfdir}/ctdb/events.d/49.winbind
1942    %{_sysconfdir}/ctdb/events.d/50.samba
1943    %{_sysconfdir}/ctdb/events.d/60.nfs
1944    %{_sysconfdir}/ctdb/events.d/70.iscsi
1945    %{_sysconfdir}/ctdb/events.d/91.lvs
1946    %{_sysconfdir}/ctdb/events.d/99.timeout
1947    %{_sysconfdir}/ctdb/events.d/README
1948  %dir %{_sysconfdir}/ctdb/notify.d  %dir %{_sysconfdir}/ctdb/notify.d
1949  %{_sysconfdir}/ctdb/notify.d/README  %{_sysconfdir}/ctdb/notify.d/README
1950  %{_prefix}/lib/tmpfiles.d/ctdb.conf  %{_tmpfilesdir}/ctdb.conf
1951  %{_sbindir}/ctdbd  %{_sbindir}/ctdbd
1952  %{_sbindir}/ctdbd_wrapper  %{_sbindir}/ctdbd_wrapper
1953  %{_bindir}/ctdb  %{_bindir}/ctdb
 %{_bindir}/smnotify  
1954  %{_bindir}/ping_pong  %{_bindir}/ping_pong
1955  %{_bindir}/ltdbtool  %{_bindir}/ltdbtool
1956  %{_bindir}/ctdb_diagnostics  %{_bindir}/ctdb_diagnostics
1957  %{_bindir}/onnode  %{_bindir}/onnode
1958  %{_bindir}/ctdb_lock_helper  %dir %{_libexecdir}/ctdb
1959  %{_bindir}/ctdb_event_helper  %{_libexecdir}/ctdb/ctdb_natgw
1960    %{_libexecdir}/ctdb/ctdb_recovery_helper
1961    %{_libexecdir}/ctdb/smnotify
1962    %{_libexecdir}/ctdb/ctdb_lock_helper
1963    %{_libexecdir}/ctdb/ctdb_event_helper
1964    
1965  %{_mandir}/man1/ctdb.1.gz  %{_mandir}/man1/ctdb.1.gz
1966  %{_mandir}/man1/ctdbd.1.gz  %{_mandir}/man1/ctdbd.1.gz
# Line 1963  rm -rf %{buildroot} Line 1973  rm -rf %{buildroot}
1973  %{_mandir}/man7/ctdb-tunables.7.gz  %{_mandir}/man7/ctdb-tunables.7.gz
1974  %{_mandir}/man7/ctdb-statistics.7.gz  %{_mandir}/man7/ctdb-statistics.7.gz
1975    
 %files -n ctdb-devel  
 %defattr(-,root,root)  
 %{_includedir}/samba-4.0/ctdb.h  
 %{_includedir}/samba-4.0/ctdb_client.h  
 %{_includedir}/samba-4.0/ctdb_protocol.h  
 %{_includedir}/samba-4.0/ctdb_private.h  
 %{_includedir}/samba-4.0/ctdb_typesafe_cb.h  
 %{_includedir}/samba-4.0/ctdb_version.h  
 %{_libdir}/pkgconfig/ctdb.pc  
   
1976  %files -n ctdb-tests  %files -n ctdb-tests
1977  %defattr(-,root,root)  %defattr(-,root,root)
1978  %dir %{_libdir}/ctdb-tests  %dir %{_libexecdir}/ctdb/tests
1979  %{_libdir}/ctdb-tests/ctdb_bench  %{_libexecdir}/ctdb/tests/comm_client_test
1980  %{_libdir}/ctdb-tests/ctdb_fetch  %{_libexecdir}/ctdb/tests/comm_server_test
1981  %{_libdir}/ctdb-tests/ctdb_fetch_one  %{_libexecdir}/ctdb/tests/comm_test
1982  %{_libdir}/ctdb-tests/ctdb_fetch_readonly_loop  %{_libexecdir}/ctdb/tests/ctdb_bench
1983  %{_libdir}/ctdb-tests/ctdb_fetch_readonly_once  %{_libexecdir}/ctdb/tests/ctdb_fetch
1984  %{_libdir}/ctdb-tests/ctdb_functest  %{_libexecdir}/ctdb/tests/ctdb_fetch_one
1985  %{_libdir}/ctdb-tests/ctdb_lock_tdb  %{_libexecdir}/ctdb/tests/ctdb_fetch_readonly_loop
1986  %{_libdir}/ctdb-tests/ctdb_persistent  %{_libexecdir}/ctdb/tests/ctdb_fetch_readonly_once
1987  %{_libdir}/ctdb-tests/ctdb_porting_tests  %{_libexecdir}/ctdb/tests/ctdb_functest
1988  %{_libdir}/ctdb-tests/ctdb_randrec  %{_libexecdir}/ctdb/tests/ctdb_lock_tdb
1989  %{_libdir}/ctdb-tests/ctdb_store  %{_libexecdir}/ctdb/tests/ctdb_persistent
1990  %{_libdir}/ctdb-tests/ctdb_stubtest  %{_libexecdir}/ctdb/tests/ctdb_porting_tests
1991  %{_libdir}/ctdb-tests/ctdb_takeover_tests  %{_libexecdir}/ctdb/tests/ctdb_randrec
1992  %{_libdir}/ctdb-tests/ctdb_trackingdb_test  %{_libexecdir}/ctdb/tests/ctdb_store
1993  %{_libdir}/ctdb-tests/ctdb_transaction  %{_libexecdir}/ctdb/tests/ctdb_stubtest
1994  %{_libdir}/ctdb-tests/ctdb_traverse  %{_libexecdir}/ctdb/tests/ctdb_takeover_tests
1995  %{_libdir}/ctdb-tests/ctdb_update_record  %{_libexecdir}/ctdb/tests/ctdb_trackingdb_test
1996  %{_libdir}/ctdb-tests/ctdb_update_record_persistent  %{_libexecdir}/ctdb/tests/ctdb_transaction
1997  %{_libdir}/ctdb-tests/rb_test  %{_libexecdir}/ctdb/tests/ctdb_traverse
1998    %{_libexecdir}/ctdb/tests/ctdb_update_record
1999    %{_libexecdir}/ctdb/tests/ctdb_update_record_persistent
2000    %{_libexecdir}/ctdb/tests/db_hash_test
2001    %{_libexecdir}/ctdb/tests/pkt_read_test
2002    %{_libexecdir}/ctdb/tests/pkt_write_test
2003    %{_libexecdir}/ctdb/tests/protocol_client_test
2004    %{_libexecdir}/ctdb/tests/protocol_types_test
2005    %{_libexecdir}/ctdb/tests/rb_test
2006    %{_libexecdir}/ctdb/tests/reqid_test
2007    %{_libexecdir}/ctdb/tests/srvid_test
2008  %{_bindir}/ctdb_run_tests  %{_bindir}/ctdb_run_tests
2009  %{_bindir}/ctdb_run_cluster_tests  %{_bindir}/ctdb_run_cluster_tests
2010  %dir %{_datadir}/ctdb-tests  %dir %{_datadir}/ctdb-tests/eventscripts
2011  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/events.d  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/events.d
2012  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/functions  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/functions
2013  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/nfs-rpc-checks.d  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/nfs-checks.d
2014    %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/nfs-linux-kernel-callout
2015  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/statd-callout  %{_datadir}/ctdb-tests/eventscripts/etc-ctdb/statd-callout
2016    %dir %{_datadir}/ctdb-tests/onnode
2017    %{_datadir}/ctdb-tests/onnode/functions
2018    %dir %{_datadir}/ctdb-tests/scripts
2019  %{_datadir}/ctdb-tests/scripts/common.sh  %{_datadir}/ctdb-tests/scripts/common.sh
2020  %{_datadir}/ctdb-tests/scripts/integration.bash  %{_datadir}/ctdb-tests/scripts/integration.bash
2021  %{_datadir}/ctdb-tests/scripts/test_wrap  %{_datadir}/ctdb-tests/scripts/test_wrap
2022  %{_datadir}/ctdb-tests/scripts/unit.sh  %{_datadir}/ctdb-tests/scripts/unit.sh
2023    %dir %{_datadir}/ctdb-tests/simple
2024    %{_datadir}/ctdb-tests/simple/functions
2025    %{_datadir}/ctdb-tests/simple/nodes
2026  %doc ctdb/tests/README  %doc ctdb/tests/README
2027  %endif # with_clustering_support  %endif # with_clustering_support
2028    
2029  %changelog  %changelog
2030  * Wed Oct 5 2016 Daniel Berteaud <daniel@firewall-services.com> - 4.2.10-7.1.sme  * Thu Mar 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 4.4.4-12.5.sme
2031  - Rebuild with DC support (work from Greg Zartman) [SME: 9817]  - added DC support thanks to Greg Zartman work [SME: 9817]
2032    
2033    * Tue Nov 15 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-12
2034    - related: #1393051 - Fix return code if ip not defined in gethostbyname
2035    
2036  * Mon Jul 04 2016 Andreas Schneider <asn@redhat.com> - 4.2.10-7  * Wed Nov 09 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-11
2037  - resolves: #1351960 - Fix CVE-2016-2119  - related: #1393048 - Add missing patch to patchset
2038    
2039  * Tue Jun 28 2016 Andreas Schneider <asn@redhat.com> - 4.2.10-6.3  * Tue Nov 08 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-10
2040  - resolves: #1350759 - Fix idmap_hash when used with other modules  - resolves: #1393050 - Fix linking nss_wins with libreplace
2041  - resolves: #1351260 - Fix krb5 encryption type setup during join  - resolves: #1393051 - Fix nss_wins function definitions for gethostbyname*
2042    - resolves: #1393048 - Fix %G substitution in AD case
2043  * Wed Jun 01 2016 Andreas Schneider <asn@redhat.com> - 4.2.10-6.2  - resolves: #1393052 - Fix regression of smbclient unable to connect to
2044  - related: #1333794 - Fix issues caused by security tightening for Badlock                         Apple and Azure
2045    o ntlm_auth issues and segfault  
2046    o rpcclient doesn't respect "client ipc *" options  * Wed Aug 31 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-9
2047    o fix anonymous authentication if signing is mandatory  - related: #1365479 - Fix idmap range check
2048    
2049  * Fri May 06 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-6.1  * Fri Aug 26 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-8
2050  - Fix issues caused by security tightening for Badlock:  - related: #1193493 - Fix smbget url credentials parsing
2051    - Only validate MIC when "map to guest" is set  
2052    - NetApp SMB servers don't negotiate NTLMSSP_SIGN  * Tue Aug 23 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-7
2053    - Anonymous connections don't work anymore  - resolves: #1365479 - Fix idmap range checks for ad and hash backend
2054    - wbinfo -u or 'net ads search' don't work anymore  
2055    - Handle empty session in client code  * Tue Aug 16 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-6
2056  - resolves: #1333794  - resolves: #1367316 - Increase required Kerbersion version number
2057    - resolves: #1366477 - Fix using the right krb5 ccache in libads
2058    - resolves: #1356501 - Fix high CPU usage with smbclient connection to
2059                           non-reachable IP
2060    
2061    * Wed Aug 03 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-5
2062    - resolves: #1359091 - Package /usr/lib/samba/ldb in the common-libs package
2063    - resolves: #1360788 - Fix multilib issue with ctdb-tests package
2064    - resolves: #1362385 - Fix Samba ignoring supplementary groups
2065    - resolves: #1364051 - Fix smbd panic with stale ctdb entries
2066    
2067    * Mon Jul 04 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-4
2068    - resolves: #1351655 - Fix winbind meomory leak with each cached credentials
2069                           login
2070    - resolves: #1351961 - Fix CVE-2016-2119
2071    
2072    * Thu Jun 23 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-3
2073    - related: #1260214 - Correctly warn about missing realm for ad domains
2074                          with 'security=domain'
2075    
2076    * Tue Jun 21 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-2
2077    - resolves: #1348223 - Fix sasl wrapped ldap connections
2078    
2079    * Wed Jun 08 2016 Andreas Schneider <asn@redhat.com> - 4.4.4-1
2080    - resolves: #1303076 - Rebase Samba to version 4.4.4
2081    - resolves: #1314673 - Fix CVE-2015-7560
2082    - resolves: #1263322 - Add '--no-dns-updates' option to 'net ads join'
2083    - resolves: #1264433 - Fix segfault in pam_winbind.so with invalid config
2084                           options
2085    - resolves: #1193504 - Fix smbget to retrieve files recursively
2086    - resolves: #1193502 - Fix smbget to use command line credentials
2087    - resolves: #1193493 - Fix smbget url credentials parsing
2088    - resolves: #1273999 - Support printing with Kerberos credentials on newer
2089                           CUPS versions
2090    - resolves: #1296821 - Define /etc/pam.d/samba as a non replaceable config
2091    - resolves: #1261107 - Fix memory leak because of missing talloc stackframe
2092    - resolves: #1333562 - Fix memory leak after smbc_free_context()
2093    - resolves: #1315422 - Fix regression from CVE-2015-5252
2094    - resolves: #1316899 - Fixed idmap_hash module issues when used with others
2095    - resolves: #1322691 - Fix badlock related bugs
2096    - Fix CVE-2015-5370
2097    - Fix CVE-2016-2110
2098    - Fix CVE-2016-2111
2099    - Fix CVE-2016-2112
2100    - Fix CVE-2016-2113
2101    - Fix CVE-2016-2114
2102    - Fix CVE-2016-2115
2103    - Fix CVE-2016-2118
2104    - resolves: #1327951 - Fix regression with anonymous connections from OS X
2105    - resolves: #1327845 - Fix pcap_cache_reload() with spoolssd
2106    - resolves: #1289640 - Fix ctdb selinux issue with read only tracking dbs
2107    - resolves: #1341208 - Fix enumerating groups over NSS with idmap_ad
2108    - resolves: #1345827 - Fix resolving trusted domain users on domain member
2109    - resolves: #1346334 - Fix typo in smb.conf.example
2110    - resolves: #1335292 - Fix site-aware 'net ads join -k'
2111    - resolves: #1260214 - Accept empty realm for ad domains with 'security=domain'
2112    
2113    * Tue May 24 2016 Guenther Deschner <gdeschner@redhat.com> - 4.2.10-8
2114    - Fix krb5 encryption type setup during join (as admin and non-admin user)
2115    - resolves: #1312109
2116    
2117    * Mon May 02 2016 Alexander Bokovoy <abokovoy@redhat.com> - 4.2.10-7
2118    - Fix regressions introduced with security tightening as part of Badlock release
2119    - resolves: #1330199
2120    
2121  * 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
2122  - 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
2123  - relates: #1322690  - relates: #1322691
2124    
2125  * 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
2126  - Fix crash in smb.conf processing  - Fix crash in smb.conf processing
2127  - relates: #1322690  - relates: #1322691
2128    
2129  * 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
2130  - Fix LDAP SASL bind with arcfour-hmac-md5  - Fix LDAP SASL bind with arcfour-hmac-md5
2131  - resolves: #1322690  - resolves: #1322691
2132    
2133  * 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
2134  - 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
2135  - resolves: #1322690  - resolves: #1322691
2136    
2137  * 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
2138  - 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
2139  - resolves: #1322690  - resolves: #1322691
2140    
2141  * 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
2142  - resolves: #1322690  - resolves: #1322691
2143    
2144  * 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
2145  - resolves: #1314672 - Fix CVE-2015-7560  - resolves: #1314673 - Fix CVE-2015-7560
2146    
2147  * 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
2148  - resolves: #1290710  - resolves: #1290711
2149  - CVE-2015-3223 Remote DoS in Samba (AD) LDAP server  - CVE-2015-3223 Remote DoS in Samba (AD) LDAP server
2150  - CVE-2015-5299 Missing access control check in shadow copy code  - CVE-2015-5299 Missing access control check in shadow copy code
2151  - 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