Hello community, here is the log from the commit of package samba for openSUSE:Factory checked in at 2017-10-25 17:46:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/samba (Old) and /work/SRC/openSUSE:Factory/.samba.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "samba" Wed Oct 25 17:46:22 2017 rev:223 rq:536426 version:4.7.0+git.23.4e3f0fb9d15 Changes: -------- --- /work/SRC/openSUSE:Factory/samba/samba.changes 2017-09-25 13:53:21.166023041 +0200 +++ /work/SRC/openSUSE:Factory/.samba.new/samba.changes 2017-10-25 17:46:24.630543239 +0200 @@ -1,0 +2,41 @@ +Mon Oct 23 15:10:32 UTC 2017 - dims...@opensuse.org + +- Add samba-kdc to baselibs.conf. +- Do not wrap samba-kdc's package definition into if/endif: the + package won't be generated simply based on the fact that there is + no files section for the package. Allows the source validator to + ensure samba-kdc is a built package. + +------------------------------------------------------------------- +Thu Sep 28 11:25:54 UTC 2017 - scabr...@suse.com + +- Update to 4.7.0; + + Whole DB read locks: Improved LDAP and replication consistency; + (bso#12858). + + Samba AD with MIT Kerberos + + Dynamic RPC port range: Default range changed from "1024-1300" to + "49152-65535". + + Authentication and Authorization audit support: New auth_audit debug + class. + + Multi-process LDAP Server: The LDAP server in the AD DC now honours + the process model used for the rest of the 'samba' process. + + Improved Read-Only Domain Controller (RODC) Support; (bso#12977). + + Additional password hashes stored in supplementalCredentials. + + Improvements to DNS during Active Directory domain join. + + Significant AD performance and replication improvements. + + Query record for open file or directory. + + Removal of lpcfg_register_defaults_hook(). + + Change of loadable module interface. + + SHA256 LDAPS Certificates: The self-signed certificate generated for use + on LDAPS will now be generated with a SHA256 self-signature, not a SHA1 + self-signature. + + CTDB no longer allows mixed minor versions in a cluster. + + CTDB now ignores hints from Samba about TDB flags when attaching to + databases. + + New configuration variable CTDB_NFS_CHECKS_DIR. + + The CTDB_SERVICE_AUTOSTARTSTOP configuration has been removed. + + The CTDB_SCRIPT_DEBUGLEVEL configuration variable has been removed. + + The example NFS Ganesha call-out has been improved. + + A new "replicated" database type is available. + +------------------------------------------------------------------- Old: ---- samba-4.6.7+git.49.562d44faa9d.tar.bz2 vendor-files-git.f8c2b1c.tar.bz2 New: ---- samba-4.7.0+git.23.4e3f0fb9d15.tar.bz2 vendor-files-git.b95e12c.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ samba.spec ++++++ --- /var/tmp/diff_new_pack.IhFfaY/_old 2017-10-25 17:46:26.970433419 +0200 +++ /var/tmp/diff_new_pack.IhFfaY/_new 2017-10-25 17:46:26.974433231 +0200 @@ -26,7 +26,20 @@ %define build_ceph 1 %endif %endif -%define vendor_files_git_vers git.f8c2b1c +%define vendor_files_git_vers git.b95e12c + +%define talloc_version 2.1.10 +%define tevent_version 0.9.33 +%define tdb_version 1.3.15 +%define ldb_version 1.2.2 + +%global with_mitkrb5 1 +%global with_dc 0 +%if 0%{?suse_version} > 1320 +%ifnarch ppc +%global with_dc 1 +%endif +%endif Name: samba BuildRequires: autoconf @@ -44,34 +57,33 @@ %else BuildRequires: fam-devel %endif -BuildRequires: krb5-devel BuildRequires: libacl-devel BuildRequires: libattr-devel %if 0%{?suse_version} > 1100 BuildRequires: libuuid-devel %endif +BuildRequires: cracklib-devel +BuildRequires: gdbm-devel +BuildRequires: keyutils-devel +BuildRequires: libnscd-devel +BuildRequires: libopenssl-devel BuildRequires: ncurses-devel +BuildRequires: openldap2-devel BuildRequires: pam-devel BuildRequires: popt-devel +BuildRequires: pwdutils BuildRequires: python-devel BuildRequires: python-xml BuildRequires: readline-devel -BuildRequires: cracklib-devel -BuildRequires: libopenssl-devel -BuildRequires: openldap2-devel -BuildRequires: gdbm-devel -BuildRequires: pwdutils -BuildRequires: libnscd-devel -BuildRequires: keyutils-devel %if 0%{?suse_version} > 1110 BuildRequires: fdupes %endif %define pkgconfig_req pkg-config BuildRequires: %{pkgconfig_req} -BuildRequires: libldb-devel -BuildRequires: libtalloc-devel -BuildRequires: libtdb-devel -BuildRequires: libtevent-devel +BuildRequires: libldb-devel >= %{ldb_version} +BuildRequires: libtalloc-devel >= %{talloc_version} +BuildRequires: libtdb-devel >= %{tdb_version} +BuildRequires: libtevent-devel >= %{tevent_version} BuildRequires: python-ldb-devel BuildRequires: python-talloc-devel BuildRequires: python-tdb @@ -96,6 +108,14 @@ BuildRequires: libcephfs-devel BuildRequires: librados-devel %endif +%if %{with_dc} +BuildRequires: krb5-devel >= 1.15.1 +BuildRequires: krb5-server >= 1.15.1 +BuildRequires: libgnutls-devel >= 3.4.7 +%else +BuildRequires: krb5-devel +%endif + %define libsmbclient_name libsmbclient0 %define libnetapi_name libnetapi0 %define libwbclient_name libwbclient0 @@ -106,9 +126,7 @@ %endif %define SOURCE_TIMESTAMP 3761 %define BRANCH %{version} -%global with_mitkrb5 1 -%global with_dc 0 -Version: 4.6.7+git.49.562d44faa9d +Version: 4.7.0+git.23.4e3f0fb9d15 Release: 0 Url: https://www.samba.org/ Obsoletes: samba-32bit < %{version} @@ -802,12 +820,12 @@ Branch: %{BRANCH} -%package -n libsmbldap0 +%package -n libsmbldap2 Summary: Samba LDAP protocol helper function library License: GPL-3.0+ Group: System/Libraries -%description -n libsmbldap0 +%description -n libsmbldap2 libsmbldap contains LDAP protocol helper functions for Samba. Source Timestamp: %{SOURCE_TIMESTAMP} @@ -818,7 +836,7 @@ Summary: Development files for the smbldap library License: GPL-3.0+ Group: Development/Libraries/C and C++ -Requires: libsmbldap0 = %{version} +Requires: libsmbldap2 = %{version} Requires: libtalloc-devel Requires: libtevent-devel Requires: openldap2-devel @@ -965,6 +983,30 @@ that RADOS locks can be used for CTDB split-brain avoidance. %endif +%package kdc +Summary: Samba MIT KDC +License: GPL-3.0+ +Group: Productivity/Networking/Samba +Requires: samba = %{version} +Requires: samba-dsdb-modules = %{version} +Recommends: krb5-server >= 1.15.1 +Recommends: samba-python = %{version} +Recommends: samba-winbind = %{version} +Recommends: tdb-tools >= %{tdb_version} + +%description kdc +This package contains the KDC + +%package dsdb-modules +Summary: Samba LDB modules +License: GPL-3.0+ +Group: Productivity/Networking/Samba +Requires: libldb1 >= %{ldb_version} + +%description dsdb-modules +This package contains plugins which add Active Directory features to the +LDB library. + %prep %setup -n samba-%{version} -q # vendor-files (config, scripts, tools) @@ -1051,7 +1093,7 @@ %if %with_mitkrb5 --with-system-mitkrb5 \ %endif -%if ! %with_dc +%if ! %{with_dc} --without-ad-dc \ %endif --bundled-libraries=NONE,socket_wrapper,cmocka,${bundled_libraries_extra} \ @@ -1112,7 +1154,7 @@ CONFIGDIR=%{CONFIGDIR} # debug symbols are created and installed if the files are excluded only -%if ! %with_dc +%if ! %{with_dc} rm \ %{buildroot}/%{_libdir}/samba/ldb/ildap.so \ %{buildroot}/%{_libdir}/samba/ldb/ldbsamba_extensions.so \ @@ -1187,6 +1229,10 @@ install -m 0644 -p systemd/${srv_name}.service %{buildroot}/%{_unitdir} ln -s service %{buildroot}/%{_sbindir}/rc${srv_name} done +%if %{with_dc} + install -m 0644 -p systemd/samba-ad-dc.service %{buildroot}/%{_unitdir} + ln -s service %{buildroot}/%{_sbindir}/rcsamba-ad-dc +%endif install -m 0644 systemd/sysconfig.* %{buildroot}%_var/adm/fillup-templates install -m 0644 -p ../packaging/systemd/samba.conf.tmp %{buildroot}/%{_tmpfilesdir}/samba.conf %else @@ -1342,26 +1388,42 @@ %pre getent group ntadmin >/dev/null || groupadd -g 71 -o -r ntadmin || : %if 0%{?suse_version} > 1220 +%if %{with_dc} +%service_add_pre nmb.service smb.service samba-ad-dc.service +%else %service_add_pre nmb.service smb.service %endif +%endif %preun %if 0%{?suse_version} > 1220 +%if %{with_dc} +%service_del_preun nmb.service smb.service samba-ad-dc.service +%else %service_del_preun nmb.service smb.service +%endif %else %{?stop_on_removal:%{stop_on_removal smb nmb}} %endif %post %if 0%{?suse_version} > 1220 +%if %{with_dc} +%service_add_post nmb.service smb.service samba-ad-dc.service +%else %service_add_post nmb.service smb.service +%endif %{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf %fillup_only %endif %postun %if 0%{?suse_version} > 1220 +%if %{with_dc} +%service_del_postun nmb.service smb.service samba-ad-dc.service +%else %service_del_postun nmb.service smb.service +%endif %else %{?restart_on_update:%{restart_on_update nmb smb}} %{?insserv_cleanup:%{insserv_cleanup}} @@ -1471,8 +1533,8 @@ %postun -n libsamdb0 -p /sbin/ldconfig %post -n libsmbconf0 -p /sbin/ldconfig %postun -n libsmbconf0 -p /sbin/ldconfig -%post -n libsmbldap0 -p /sbin/ldconfig -%postun -n libsmbldap0 -p /sbin/ldconfig +%post -n libsmbldap2 -p /sbin/ldconfig +%postun -n libsmbldap2 -p /sbin/ldconfig %post -n libtevent-util0 -p /sbin/ldconfig %postun -n libtevent-util0 -p /sbin/ldconfig %post -n %{libwbclient_name} -p /sbin/ldconfig @@ -1484,6 +1546,17 @@ %post test -p /sbin/ldconfig %postun test -p /sbin/ldconfig +%if %{with_dc} +%post kdc -p /sbin/ldconfig +%postun kdc -p /sbin/ldconfig + +%post dsdb-modules +ln -sf %{_libdir}/samba/ldb %{_libdir}/ldb/samba +/sbin/ldconfig + +%postun dsdb-modules -p /sbin/ldconfig +%endif + %pre winbind # we need this group for squid (ntlmauth) # read access to /var/lib/samba/winbindd_privileged @@ -1583,6 +1656,9 @@ %else %{_unitdir}/nmb.service %{_unitdir}/smb.service +%if %{with_dc} +%{_unitdir}/samba-ad-dc.service +%endif %endif %if 0%{?suse_version} < 1111 %attr(0600,root,root) %config(noreplace) %{CONFIGDIR}/smbpasswd @@ -1750,12 +1826,17 @@ %{_includedir}/samba %dir %_includedir/samba-4.0/ %_includedir/samba-4.0/charset.h +%if %{with_dc} +%_includedir/samba-4.0/dcerpc_server.h +%endif %dir %_includedir/samba-4.0/core/ %_includedir/samba-4.0/core/doserr.h %_includedir/samba-4.0/core/error.h %_includedir/samba-4.0/core/ntstatus.h +%_includedir/samba-4.0/core/ntstatus_gen.h %_includedir/samba-4.0/core/hresult.h %_includedir/samba-4.0/core/werror.h +%_includedir/samba-4.0/core/werror_gen.h %_includedir/samba-4.0/domain_credentials.h %dir %_includedir/samba-4.0/gen_ndr/ %_includedir/samba-4.0/gen_ndr/auth.h @@ -1787,6 +1868,7 @@ %_includedir/samba-4.0/util/genrand.h %_includedir/samba-4.0/util/idtree.h %_includedir/samba-4.0/util/idtree_random.h +%_includedir/samba-4.0/util/tfork.h %_includedir/samba-4.0/util_ldb.h %{_libdir}/libnss_winbind.so %{_libdir}/libnss_wins.so @@ -1797,12 +1879,12 @@ %{_libdir}/samba/libCHARSET3-samba4.so %{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so %{_libdir}/samba/libMESSAGING-samba4.so +%{_libdir}/samba/libMESSAGING-SEND-samba4.so %{_libdir}/samba/libaddns-samba4.so %{_libdir}/samba/libads-samba4.so %{_libdir}/samba/libasn1util-samba4.so %{_libdir}/samba/libauth-samba4.so %{_libdir}/samba/libauth4-samba4.so -%{_libdir}/samba/libauth-sam-reply-samba4.so %{_libdir}/samba/libauth-unix-token-samba4.so %{_libdir}/samba/libauthkrb5-samba4.so %{_libdir}/samba/libcli-ldap-common-samba4.so @@ -1883,11 +1965,12 @@ %{_libdir}/samba/libutil-tdb-samba4.so %{_libdir}/samba/libwinbind-client-samba4.so %{_libdir}/samba/libxattr-tdb-samba4.so +%{_libdir}/samba/libcmocka-samba4.so +%{_libdir}/samba/libcommon-auth-samba4.so %dir %{_libdir}/samba/pdb %{_libdir}/samba/pdb/ldapsam.so %{_libdir}/samba/pdb/smbpasswd.so %{_libdir}/samba/pdb/tdbsam.so -%{_libdir}/samba/pdb/wbc_sam.so %files pidl %defattr(-,root,root) @@ -2119,6 +2202,10 @@ %_libdir/libdcerpc.so %_libdir/libdcerpc-binding.so %_libdir/pkgconfig/dcerpc.pc +%if %{with_dc} +%_libdir/libdcerpc-server.so +%_libdir/pkgconfig/dcerpc_server.pc +%endif %files -n libndr-krb5pac0 %defattr(-,root,root) @@ -2301,9 +2388,9 @@ %_includedir/samba-4.0/smbconf.h %_libdir/libsmbconf.so -%files -n libsmbldap0 +%files -n libsmbldap2 %defattr(-,root,root) -%_libdir/libsmbldap.so.0* +%_libdir/libsmbldap.so.2* %files -n libsmbldap-devel %defattr(-,root,root) @@ -2345,4 +2432,187 @@ %{_libdir}/ctdb/ctdb_mutex_ceph_rados_helper %endif +%if %{with_dc} +%files kdc +%{_bindir}/samba-tool +%{_sbindir}/samba +%{_sbindir}/samba_dnsupdate +%{_sbindir}/samba_kcc +%{_sbindir}/samba_spnupdate +%{_sbindir}/samba_upgradedns +%{_sbindir}/rcsamba-ad-dc +%{_libdir}/krb5/plugins/kdb/samba.so +%{_libdir}/libdcerpc-server.so.0 +%{_libdir}/libdcerpc-server.so.0.0.1 +%{_libdir}/samba/bind9 +%{_libdir}/samba/bind9/dlz_bind9.so +%{_libdir}/samba/bind9/dlz_bind9_10.so +%{_libdir}/samba/bind9/dlz_bind9_11.so +%{_libdir}/samba/bind9/dlz_bind9_9.so +%{_libdir}/samba/gensec +%{_libdir}/samba/gensec/krb5.so +%{_libdir}/samba/libdb-glue-samba4.so +%{_libdir}/samba/libdfs-server-ad-samba4.so +%{_libdir}/samba/libdlz-bind9-for-torture-samba4.so +%{_libdir}/samba/libdnsserver-common-samba4.so +%{_libdir}/samba/libpac-samba4.so +%{_libdir}/samba/libprocess-model-samba4.so +%{_libdir}/samba/libservice-samba4.so +%{_libdir}/samba/process_model +%{_libdir}/samba/process_model/standard.so +%{_libdir}/samba/service +%{_libdir}/samba/service/cldap.so +%{_libdir}/samba/service/dcerpc.so +%{_libdir}/samba/service/dns.so +%{_libdir}/samba/service/dns_update.so +%{_libdir}/samba/service/drepl.so +%{_libdir}/samba/service/kcc.so +%{_libdir}/samba/service/kdc.so +%{_libdir}/samba/service/ldap.so +%{_libdir}/samba/service/nbtd.so +%{_libdir}/samba/service/ntp_signd.so +%{_libdir}/samba/service/s3fs.so +%{_libdir}/samba/service/web.so +%{_libdir}/samba/service/winbindd.so +%{_libdir}/samba/service/wrepl.so +%{_datadir}/samba/setup +%{_datadir}/samba/setup/DB_CONFIG +%{_datadir}/samba/setup/ad-schema +%{_datadir}/samba/setup/ad-schema/MS-AD_Schema_2K8_Attributes.txt +%{_datadir}/samba/setup/ad-schema/MS-AD_Schema_2K8_Classes.txt +%{_datadir}/samba/setup/ad-schema/MS-AD_Schema_2K8_R2_Attributes.txt +%{_datadir}/samba/setup/ad-schema/MS-AD_Schema_2K8_R2_Classes.txt +%{_datadir}/samba/setup/ad-schema/licence.txt +%{_datadir}/samba/setup/aggregate_schema.ldif +%{_datadir}/samba/setup/cn=samba.ldif +%{_datadir}/samba/setup/display-specifiers +%{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k0.txt +%{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k3.txt +%{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k3R2.txt +%{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k8.txt +%{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k8R2.txt +%{_datadir}/samba/setup/dns_update_list +%{_datadir}/samba/setup/fedora-ds-init.ldif +%{_datadir}/samba/setup/fedorads-dna.ldif +%{_datadir}/samba/setup/fedorads-index.ldif +%{_datadir}/samba/setup/fedorads-linked-attributes.ldif +%{_datadir}/samba/setup/fedorads-pam.ldif +%{_datadir}/samba/setup/fedorads-partitions.ldif +%{_datadir}/samba/setup/fedorads-refint-add.ldif +%{_datadir}/samba/setup/fedorads-refint-delete.ldif +%{_datadir}/samba/setup/fedorads-samba.ldif +%{_datadir}/samba/setup/fedorads-sasl.ldif +%{_datadir}/samba/setup/fedorads.inf +%{_datadir}/samba/setup/idmap_init.ldif +%{_datadir}/samba/setup/krb5.conf +%{_datadir}/samba/setup/memberof.conf +%{_datadir}/samba/setup/mmr_serverids.conf +%{_datadir}/samba/setup/mmr_syncrepl.conf +%{_datadir}/samba/setup/modules.conf +%{_datadir}/samba/setup/named.conf +%{_datadir}/samba/setup/named.conf.dlz +%{_datadir}/samba/setup/named.conf.update +%{_datadir}/samba/setup/named.txt +%{_datadir}/samba/setup/olc_mmr.conf +%{_datadir}/samba/setup/olc_seed.ldif +%{_datadir}/samba/setup/olc_serverid.conf +%{_datadir}/samba/setup/olc_syncrepl.conf +%{_datadir}/samba/setup/olc_syncrepl_seed.conf +%{_datadir}/samba/setup/prefixMap.txt +%{_datadir}/samba/setup/provision.ldif +%{_datadir}/samba/setup/provision.reg +%{_datadir}/samba/setup/provision.zone +%{_datadir}/samba/setup/provision_basedn.ldif +%{_datadir}/samba/setup/provision_basedn_modify.ldif +%{_datadir}/samba/setup/provision_basedn_options.ldif +%{_datadir}/samba/setup/provision_basedn_references.ldif +%{_datadir}/samba/setup/provision_computers_add.ldif +%{_datadir}/samba/setup/provision_computers_modify.ldif +%{_datadir}/samba/setup/provision_configuration.ldif +%{_datadir}/samba/setup/provision_configuration_basedn.ldif +%{_datadir}/samba/setup/provision_configuration_modify.ldif +%{_datadir}/samba/setup/provision_configuration_references.ldif +%{_datadir}/samba/setup/provision_dns_accounts_add.ldif +%{_datadir}/samba/setup/provision_dns_add_samba.ldif +%{_datadir}/samba/setup/provision_dnszones_add.ldif +%{_datadir}/samba/setup/provision_dnszones_modify.ldif +%{_datadir}/samba/setup/provision_dnszones_partitions.ldif +%{_datadir}/samba/setup/provision_group_policy.ldif +%{_datadir}/samba/setup/provision_init.ldif +%{_datadir}/samba/setup/provision_partitions.ldif +%{_datadir}/samba/setup/provision_privilege.ldif +%{_datadir}/samba/setup/provision_rootdse_add.ldif +%{_datadir}/samba/setup/provision_rootdse_modify.ldif +%{_datadir}/samba/setup/provision_schema_basedn.ldif +%{_datadir}/samba/setup/provision_schema_basedn_modify.ldif +%{_datadir}/samba/setup/provision_self_join.ldif +%{_datadir}/samba/setup/provision_self_join_config.ldif +%{_datadir}/samba/setup/provision_self_join_modify.ldif +%{_datadir}/samba/setup/provision_self_join_modify_config.ldif +%{_datadir}/samba/setup/provision_users.ldif +%{_datadir}/samba/setup/provision_users_add.ldif +%{_datadir}/samba/setup/provision_users_modify.ldif +%{_datadir}/samba/setup/provision_well_known_sec_princ.ldif +%{_datadir}/samba/setup/refint.conf +%{_datadir}/samba/setup/schema-map-fedora-ds-1.0 +%{_datadir}/samba/setup/schema-map-openldap-2.3 +%{_datadir}/samba/setup/schema_samba4.ldif +%{_datadir}/samba/setup/secrets.ldif +%{_datadir}/samba/setup/secrets_dns.ldif +%{_datadir}/samba/setup/secrets_init.ldif +%{_datadir}/samba/setup/secrets_sasl_ldap.ldif +%{_datadir}/samba/setup/secrets_simple_ldap.ldif +%{_datadir}/samba/setup/share.ldif +%{_datadir}/samba/setup/slapd.conf +%{_datadir}/samba/setup/spn_update_list +%{_datadir}/samba/setup/ypServ30.ldif + +%files dsdb-modules +%defattr(-,root,root) +%{_libdir}/samba/ldb/acl.so +%{_libdir}/samba/ldb/aclread.so +%{_libdir}/samba/ldb/anr.so +%{_libdir}/samba/ldb/descriptor.so +%{_libdir}/samba/ldb/dirsync.so +%{_libdir}/samba/ldb/dns_notify.so +%{_libdir}/samba/ldb/dsdb_notification.so +%{_libdir}/samba/ldb/extended_dn_in.so +%{_libdir}/samba/ldb/extended_dn_out.so +%{_libdir}/samba/ldb/extended_dn_store.so +%{_libdir}/samba/ldb/ildap.so +%{_libdir}/samba/ldb/instancetype.so +%{_libdir}/samba/ldb/lazy_commit.so +%{_libdir}/samba/ldb/ldbsamba_extensions.so +%{_libdir}/samba/ldb/linked_attributes.so +%{_libdir}/samba/ldb/local_password.so +%{_libdir}/samba/ldb/new_partition.so +%{_libdir}/samba/ldb/objectclass.so +%{_libdir}/samba/ldb/objectclass_attrs.so +%{_libdir}/samba/ldb/objectguid.so +%{_libdir}/samba/ldb/operational.so +%{_libdir}/samba/ldb/partition.so +%{_libdir}/samba/ldb/password_hash.so +%{_libdir}/samba/ldb/ranged_results.so +%{_libdir}/samba/ldb/repl_meta_data.so +%{_libdir}/samba/ldb/resolve_oids.so +%{_libdir}/samba/ldb/rootdse.so +%{_libdir}/samba/ldb/samba3sam.so +%{_libdir}/samba/ldb/samba3sid.so +%{_libdir}/samba/ldb/samba_dsdb.so +%{_libdir}/samba/ldb/samba_secrets.so +%{_libdir}/samba/ldb/samldb.so +%{_libdir}/samba/ldb/schema_data.so +%{_libdir}/samba/ldb/schema_load.so +%{_libdir}/samba/ldb/secrets_tdb_sync.so +%{_libdir}/samba/ldb/show_deleted.so +%{_libdir}/samba/ldb/simple_dn.so +%{_libdir}/samba/ldb/simple_ldap_map.so +%{_libdir}/samba/ldb/subtree_delete.so +%{_libdir}/samba/ldb/subtree_rename.so +%{_libdir}/samba/ldb/tombstone_reanimate.so +%{_libdir}/samba/ldb/update_keytab.so +%{_libdir}/samba/ldb/vlv.so +%{_libdir}/samba/ldb/wins_ldb.so +%endif + %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.IhFfaY/_old 2017-10-25 17:46:27.002431917 +0200 +++ /var/tmp/diff_new_pack.IhFfaY/_new 2017-10-25 17:46:27.002431917 +0200 @@ -2,7 +2,7 @@ <service name="tar_scm" mode="disabled"> <param name="url">https://gitlab.suse.de/samba/suse-samba.git/</param> <param name="scm">git</param> - <param name="revision">factory</param> + <param name="revision">factory-4-7-stable</param> <param name="versionformat">@PARENT_TAG@+git.@TAG_OFFSET@.%h</param> <param name="versionrewrite-pattern">samba(.*)</param> <param name="versionrewrite-replacement">\1</param> ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.IhFfaY/_old 2017-10-25 17:46:27.018431166 +0200 +++ /var/tmp/diff_new_pack.IhFfaY/_new 2017-10-25 17:46:27.022430979 +0200 @@ -16,7 +16,7 @@ libsamdb0 libsmbclient0 libsmbconf0 -libsmbldap0 +libsmbldap2 libtevent-util0 libwbclient0 samba-winbind @@ -27,3 +27,4 @@ supplements "packageand(samba-client:glibc-<targettype>)" -/usr/lib/samba samba-libs +samba-kdc ++++++ samba-4.6.7+git.49.562d44faa9d.tar.bz2 -> samba-4.7.0+git.23.4e3f0fb9d15.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/samba/samba-4.6.7+git.49.562d44faa9d.tar.bz2 /work/SRC/openSUSE:Factory/.samba.new/samba-4.7.0+git.23.4e3f0fb9d15.tar.bz2 differ: char 11, line 1 ++++++ vendor-files-git.f8c2b1c.tar.bz2 -> vendor-files-git.b95e12c.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files-git.f8c2b1c/init/nmb-1010 new/vendor-files-git.b95e12c/init/nmb-1010 --- old/vendor-files-git.f8c2b1c/init/nmb-1010 2017-07-14 14:54:18.000000000 +0200 +++ new/vendor-files-git.b95e12c/init/nmb-1010 2017-10-25 17:46:27.106427036 +0200 @@ -1,133 +1 @@ -#! /bin/sh -# Copyright (c) 2002-2004 SuSE Linux AG, Nuernberg, Germany. -# All rights reserved. -# -# Author: Lars Mueller <lmue...@suse.de> -# -# /etc/init.d/nmb -# and its symbolic link -# /usr/sbin/rcnmb -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -### BEGIN INIT INFO -# Provides: nmb -# Required-Start: $network $syslog -# Should-Start: $null -# Required-Stop: $network $syslog -# Should-Stop: $null -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: Samba NetBIOS naming service over IP -# Description: Samba NetBIOS naming service over IP -### END INIT INFO - -NMBD_BIN="/usr/sbin/nmbd" -NMBD_NAMELIST="/var/lib/samba/namelist.debug" -SMB_CONF="/etc/samba/smb.conf" -PID_FILE="/var/run/samba/nmbd.pid" - -. /etc/rc.status -rc_reset - -# Check for missing binary -if [ ! -x ${NMBD_BIN} ]; then - echo -n >&2 "Samba NMB daemon, ${NMBD_BIN} is not installed. " - rc_status -s - exit 5 -fi - -test -f /etc/sysconfig/samba && \ - . /etc/sysconfig/samba - -for setting in $SAMBA_NMBD_ENV; do - pathcheck="${setting%%:*}" - variable="${setting##*:}" - test "${pathcheck}" != "${variable}" -a ! -e "${pathcheck}" && \ - continue - export eval ${variable} -done - -case "$1" in - start) - echo -n "Starting Samba NMB daemon " - if [ ! -f ${SMB_CONF} ]; then - echo -n >&2 "Samba configuration file, ${SMB_CONF} does not exist. " - rc_status -s - exit 6 - fi - checkproc -p ${PID_FILE} ${NMBD_BIN} - case $? in - 0) echo -n "- Warning: daemon already running. " ;; - 1) echo -n "- Warning: ${PID_FILE} exists. " ;; - esac - test -d "${PID_FILE%/nmbd.pid}" || \ - mkdir -m 0755 -p "${PID_FILE%/nmbd.pid}" - startproc -p ${PID_FILE} -W ${PID_FILE} ${NMBD_BIN} -D -s ${SMB_CONF} - rc_status -v - ;; - stop) - echo -n "Shutting down Samba NMB daemon " - checkproc -p ${PID_FILE} ${NMBD_BIN} || \ - echo -n " Warning: daemon not running. " - killproc -p ${PID_FILE} -t 10 ${NMBD_BIN} - rc_status -v - ;; - try-restart|condrestart) - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset - fi - rc_status - ;; - restart) - $0 stop - $0 start - rc_status - ;; - force-reload) - $0 try-restart - rc_status - ;; - reload) - echo -n "Reloading Samba NMB daemon " - rc_failed 3 - rc_status -v - ;; - dump-nmbd) - echo -n "Dump Samba NMB daemon namelists to ${NMBD_NAMELIST}. " - checkproc -p ${PID_FILE} ${NMBD_BIN} || \ - echo -n " Warning: daemon not running. " - killproc -p ${PID_FILE} -HUP ${NMBD_BIN} - rc_status -v - ;; - status) - echo -n "Checking for Samba NMB daemon " - checkproc -p ${PID_FILE} ${NMBD_BIN} - rc_status -v - ;; - probe) - test ${SMB_CONF} -nt ${PID_FILE} && echo restart - ;; - *) - echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe|dump-nmbd}" - exit 1 - ;; -esac -rc_exit +symbolic link to nmb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files-git.f8c2b1c/init/nmb-1130 new/vendor-files-git.b95e12c/init/nmb-1130 --- old/vendor-files-git.f8c2b1c/init/nmb-1130 2017-07-14 14:54:18.000000000 +0200 +++ new/vendor-files-git.b95e12c/init/nmb-1130 2017-10-25 17:46:27.114426661 +0200 @@ -1,133 +1 @@ -#! /bin/sh -# Copyright (c) 2002-2004 SuSE Linux AG, Nuernberg, Germany. -# All rights reserved. -# -# Author: Lars Mueller <lmue...@suse.de> -# -# /etc/init.d/nmb -# and its symbolic link -# /usr/sbin/rcnmb -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -### BEGIN INIT INFO -# Provides: nmb -# Required-Start: $network $syslog -# Should-Start: $null -# Required-Stop: $network $syslog -# Should-Stop: $null -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: Samba NetBIOS naming service over IP -# Description: Samba NetBIOS naming service over IP -### END INIT INFO - -NMBD_BIN="/usr/sbin/nmbd" -NMBD_NAMELIST="/var/lib/samba/namelist.debug" -SMB_CONF="/etc/samba/smb.conf" -PID_FILE="/var/run/samba/nmbd.pid" - -. /etc/rc.status -rc_reset - -# Check for missing binary -if [ ! -x ${NMBD_BIN} ]; then - echo -n >&2 "Samba NMB daemon, ${NMBD_BIN} is not installed. " - rc_status -s - exit 5 -fi - -test -f /etc/sysconfig/samba && \ - . /etc/sysconfig/samba - -for setting in $SAMBA_NMBD_ENV; do - pathcheck="${setting%%:*}" - variable="${setting##*:}" - test "${pathcheck}" != "${variable}" -a ! -e "${pathcheck}" && \ - continue - export eval ${variable} -done - -case "$1" in - start) - echo -n "Starting Samba NMB daemon " - if [ ! -f ${SMB_CONF} ]; then - echo -n >&2 "Samba configuration file, ${SMB_CONF} does not exist. " - rc_status -s - exit 6 - fi - checkproc -p ${PID_FILE} ${NMBD_BIN} - case $? in - 0) echo -n "- Warning: daemon already running. " ;; - 1) echo -n "- Warning: ${PID_FILE} exists. " ;; - esac - test -d "${PID_FILE%/nmbd.pid}" || \ - mkdir -m 0755 -p "${PID_FILE%/nmbd.pid}" - startproc -p ${PID_FILE} -W ${PID_FILE} ${NMBD_BIN} -D -s ${SMB_CONF} - rc_status -v - ;; - stop) - echo -n "Shutting down Samba NMB daemon " - checkproc -p ${PID_FILE} ${NMBD_BIN} || \ - echo -n " Warning: daemon not running. " - killproc -p ${PID_FILE} -t 10 ${NMBD_BIN} - rc_status -v - ;; - try-restart|condrestart) - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset - fi - rc_status - ;; - restart) - $0 stop - $0 start - rc_status - ;; - force-reload) - $0 try-restart - rc_status - ;; - reload) - echo -n "Reloading Samba NMB daemon " - rc_failed 3 - rc_status -v - ;; - dump-nmbd) - echo -n "Dump Samba NMB daemon namelists to ${NMBD_NAMELIST}. " - checkproc -p ${PID_FILE} ${NMBD_BIN} || \ - echo -n " Warning: daemon not running. " - killproc -p ${PID_FILE} -HUP ${NMBD_BIN} - rc_status -v - ;; - status) - echo -n "Checking for Samba NMB daemon " - checkproc -p ${PID_FILE} ${NMBD_BIN} - rc_status -v - ;; - probe) - test ${SMB_CONF} -nt ${PID_FILE} && echo restart - ;; - *) - echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe|dump-nmbd}" - exit 1 - ;; -esac -rc_exit +symbolic link to nmb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files-git.f8c2b1c/init/nmb-900 new/vendor-files-git.b95e12c/init/nmb-900 --- old/vendor-files-git.f8c2b1c/init/nmb-900 2017-07-14 14:54:18.000000000 +0200 +++ new/vendor-files-git.b95e12c/init/nmb-900 2017-10-25 17:46:27.102427224 +0200 @@ -1,133 +1 @@ -#! /bin/sh -# Copyright (c) 2002-2004 SuSE Linux AG, Nuernberg, Germany. -# All rights reserved. -# -# Author: Lars Mueller <lmue...@suse.de> -# -# /etc/init.d/nmb -# and its symbolic link -# /usr/sbin/rcnmb -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -### BEGIN INIT INFO -# Provides: nmb -# Required-Start: $network $syslog -# Should-Start: $null -# Required-Stop: $network $syslog -# Should-Stop: $null -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: Samba NetBIOS naming service over IP -# Description: Samba NetBIOS naming service over IP -### END INIT INFO - -NMBD_BIN="/usr/sbin/nmbd" -NMBD_NAMELIST="/var/lib/samba/namelist.debug" -SMB_CONF="/etc/samba/smb.conf" -PID_FILE="/var/run/samba/nmbd.pid" - -. /etc/rc.status -rc_reset - -# Check for missing binary -if [ ! -x ${NMBD_BIN} ]; then - echo -n >&2 "Samba NMB daemon, ${NMBD_BIN} is not installed. " - rc_status -s - exit 5 -fi - -test -f /etc/sysconfig/samba && \ - . /etc/sysconfig/samba - -for setting in $SAMBA_NMBD_ENV; do - pathcheck="${setting%%:*}" - variable="${setting##*:}" - test "${pathcheck}" != "${variable}" -a ! -e "${pathcheck}" && \ - continue - export eval ${variable} -done - -case "$1" in - start) - echo -n "Starting Samba NMB daemon " - if [ ! -f ${SMB_CONF} ]; then - echo -n >&2 "Samba configuration file, ${SMB_CONF} does not exist. " - rc_status -s - exit 6 - fi - checkproc -p ${PID_FILE} ${NMBD_BIN} - case $? in - 0) echo -n "- Warning: daemon already running. " ;; - 1) echo -n "- Warning: ${PID_FILE} exists. " ;; - esac - test -d "${PID_FILE%/nmbd.pid}" || \ - mkdir -m 0755 -p "${PID_FILE%/nmbd.pid}" - startproc -p ${PID_FILE} -W ${PID_FILE} ${NMBD_BIN} -D -s ${SMB_CONF} - rc_status -v - ;; - stop) - echo -n "Shutting down Samba NMB daemon " - checkproc -p ${PID_FILE} ${NMBD_BIN} || \ - echo -n " Warning: daemon not running. " - killproc -p ${PID_FILE} -t 10 ${NMBD_BIN} - rc_status -v - ;; - try-restart|condrestart) - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset - fi - rc_status - ;; - restart) - $0 stop - $0 start - rc_status - ;; - force-reload) - $0 try-restart - rc_status - ;; - reload) - echo -n "Reloading Samba NMB daemon " - rc_failed 3 - rc_status -v - ;; - dump-nmbd) - echo -n "Dump Samba NMB daemon namelists to ${NMBD_NAMELIST}. " - checkproc -p ${PID_FILE} ${NMBD_BIN} || \ - echo -n " Warning: daemon not running. " - killproc -p ${PID_FILE} -HUP ${NMBD_BIN} - rc_status -v - ;; - status) - echo -n "Checking for Samba NMB daemon " - checkproc -p ${PID_FILE} ${NMBD_BIN} - rc_status -v - ;; - probe) - test ${SMB_CONF} -nt ${PID_FILE} && echo restart - ;; - *) - echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe|dump-nmbd}" - exit 1 - ;; -esac -rc_exit +symbolic link to nmb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files-git.f8c2b1c/init/smb-1010 new/vendor-files-git.b95e12c/init/smb-1010 --- old/vendor-files-git.f8c2b1c/init/smb-1010 2017-07-14 14:54:18.000000000 +0200 +++ new/vendor-files-git.b95e12c/init/smb-1010 2017-10-25 17:46:27.126426098 +0200 @@ -1,137 +1 @@ -#! /bin/sh -# Copyright (c) 1999-2004 SuSE Linux AG, Nuernberg, Germany. -# All rights reserved. -# -# Author: Lars Mueller <lmue...@suse.de> -# -# /etc/init.d/smb -# and its symbolic link -# /usr/sbin/rcsmb -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -### BEGIN INIT INFO -# Provides: smb -# Required-Start: $network $remote_fs $syslog -# Should-Start: cupsd winbind nmb ldap -# Required-Stop: $network $remote_fs $syslog -# Should-Stop: cupsd winbind nmb ldap -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: Samba SMB/CIFS file and print server -# Description: Samba SMB/CIFS file and print server -### END INIT INFO - -SMBD_BIN="/usr/sbin/smbd" -SMB_CONF="/etc/samba/smb.conf" -PID_FILE="/var/run/samba/smbd.pid" - -SMB_APPARMOR_UPDATE="/usr/share/samba/update-apparmor-samba-profile" - -. /etc/rc.status -rc_reset - -# Check for missing binary -if [ ! -x ${SMBD_BIN} ]; then - echo -n >&2 "Samba SMB daemon, ${SMBD_BIN} is not installed. " - rc_status -s - exit 5 -fi - -# be extra carefull cause connection fail if TMPDIR is not writeable -export TMPDIR="/var/tmp" - -test -f /etc/sysconfig/samba && \ - . /etc/sysconfig/samba - -for setting in $SAMBA_SMBD_ENV; do - pathcheck="${setting%%:*}" - variable="${setting##*:}" - test "${pathcheck}" != "${variable}" -a ! -e "${pathcheck}" && \ - continue - export eval ${variable} -done - -case "$1" in - start) - echo -n "Starting Samba SMB daemon " - if [ ! -f ${SMB_CONF} ]; then - echo -n >&2 "Samba configuration file, ${SMB_CONF} does not exist. " - rc_status -s - exit 6 - fi - checkproc -p ${PID_FILE} ${SMBD_BIN} - case $? in - 0) echo -n "- Warning: daemon already running. " ;; - 1) echo -n "- Warning: ${PID_FILE} exists. " ;; - esac - test -d "${PID_FILE%/smbd.pid}" || \ - mkdir -m 0755 -p "${PID_FILE%/smbd.pid}" - test -f /etc/sysconfig/language && \ - . /etc/sysconfig/language - "${SMB_APPARMOR_UPDATE}" - export LC_ALL="$RC_LC_ALL" - export LC_CTYPE="$RC_LC_CTYPE" - export LANG="$RC_LANG" - startproc -p ${PID_FILE} -W ${PID_FILE} ${SMBD_BIN} -D -s ${SMB_CONF} - rc_status -v - unset LC_ALL LC_CTYPE LANG - ;; - stop) - echo -n "Shutting down Samba SMB daemon " - checkproc -p ${PID_FILE} ${SMBD_BIN} || \ - echo -n " Warning: daemon not running. " - killproc -p ${PID_FILE} -t 10 ${SMBD_BIN} - rc_status -v - ;; - try-restart|condrestart) - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset - fi - rc_status - ;; - restart) - $0 stop - $0 start - rc_status - ;; - force-reload|reload) - echo -n "Reloading Samba SMB daemon " - checkproc -p ${PID_FILE} ${SMBD_BIN} && \ - touch ${PID_FILE} || \ - echo -n >&2 " Warning: daemon not running. " - "${SMB_APPARMOR_UPDATE}" - killproc -p ${PID_FILE} -HUP ${SMBD_BIN} - rc_status -v - ;; - status) - echo -n "Checking for Samba SMB daemon " - checkproc -p ${PID_FILE} ${SMBD_BIN} - rc_status -v - ;; - probe) - test ${SMB_CONF} -nt ${PID_FILE} && echo reload - ;; - *) - echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}" - exit 1 - ;; -esac -rc_exit +symbolic link to smb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files-git.f8c2b1c/init/smb-1130 new/vendor-files-git.b95e12c/init/smb-1130 --- old/vendor-files-git.f8c2b1c/init/smb-1130 2017-07-14 14:54:18.000000000 +0200 +++ new/vendor-files-git.b95e12c/init/smb-1130 2017-10-25 17:46:27.110426848 +0200 @@ -1,137 +1 @@ -#! /bin/sh -# Copyright (c) 1999-2004 SuSE Linux AG, Nuernberg, Germany. -# All rights reserved. -# -# Author: Lars Mueller <lmue...@suse.de> -# -# /etc/init.d/smb -# and its symbolic link -# /usr/sbin/rcsmb -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -### BEGIN INIT INFO -# Provides: smb -# Required-Start: $network $remote_fs $syslog -# Should-Start: cupsd winbind nmb ldap -# Required-Stop: $network $remote_fs $syslog -# Should-Stop: cupsd winbind nmb ldap -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: Samba SMB/CIFS file and print server -# Description: Samba SMB/CIFS file and print server -### END INIT INFO - -SMBD_BIN="/usr/sbin/smbd" -SMB_CONF="/etc/samba/smb.conf" -PID_FILE="/var/run/samba/smbd.pid" - -SMB_APPARMOR_UPDATE="/usr/share/samba/update-apparmor-samba-profile" - -. /etc/rc.status -rc_reset - -# Check for missing binary -if [ ! -x ${SMBD_BIN} ]; then - echo -n >&2 "Samba SMB daemon, ${SMBD_BIN} is not installed. " - rc_status -s - exit 5 -fi - -# be extra carefull cause connection fail if TMPDIR is not writeable -export TMPDIR="/var/tmp" - -test -f /etc/sysconfig/samba && \ - . /etc/sysconfig/samba - -for setting in $SAMBA_SMBD_ENV; do - pathcheck="${setting%%:*}" - variable="${setting##*:}" - test "${pathcheck}" != "${variable}" -a ! -e "${pathcheck}" && \ - continue - export eval ${variable} -done - -case "$1" in - start) - echo -n "Starting Samba SMB daemon " - if [ ! -f ${SMB_CONF} ]; then - echo -n >&2 "Samba configuration file, ${SMB_CONF} does not exist. " - rc_status -s - exit 6 - fi - checkproc -p ${PID_FILE} ${SMBD_BIN} - case $? in - 0) echo -n "- Warning: daemon already running. " ;; - 1) echo -n "- Warning: ${PID_FILE} exists. " ;; - esac - test -d "${PID_FILE%/smbd.pid}" || \ - mkdir -m 0755 -p "${PID_FILE%/smbd.pid}" - test -f /etc/sysconfig/language && \ - . /etc/sysconfig/language - "${SMB_APPARMOR_UPDATE}" - export LC_ALL="$RC_LC_ALL" - export LC_CTYPE="$RC_LC_CTYPE" - export LANG="$RC_LANG" - startproc -p ${PID_FILE} -W ${PID_FILE} ${SMBD_BIN} -D -s ${SMB_CONF} - rc_status -v - unset LC_ALL LC_CTYPE LANG - ;; - stop) - echo -n "Shutting down Samba SMB daemon " - checkproc -p ${PID_FILE} ${SMBD_BIN} || \ - echo -n " Warning: daemon not running. " - killproc -p ${PID_FILE} -t 10 ${SMBD_BIN} - rc_status -v - ;; - try-restart|condrestart) - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset - fi - rc_status - ;; - restart) - $0 stop - $0 start - rc_status - ;; - force-reload|reload) - echo -n "Reloading Samba SMB daemon " - checkproc -p ${PID_FILE} ${SMBD_BIN} && \ - touch ${PID_FILE} || \ - echo -n >&2 " Warning: daemon not running. " - "${SMB_APPARMOR_UPDATE}" - killproc -p ${PID_FILE} -HUP ${SMBD_BIN} - rc_status -v - ;; - status) - echo -n "Checking for Samba SMB daemon " - checkproc -p ${PID_FILE} ${SMBD_BIN} - rc_status -v - ;; - probe) - test ${SMB_CONF} -nt ${PID_FILE} && echo reload - ;; - *) - echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}" - exit 1 - ;; -esac -rc_exit +symbolic link to smb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files-git.f8c2b1c/init/smbfs-1110 new/vendor-files-git.b95e12c/init/smbfs-1110 --- old/vendor-files-git.f8c2b1c/init/smbfs-1110 2017-07-14 14:54:18.000000000 +0200 +++ new/vendor-files-git.b95e12c/init/smbfs-1110 2017-10-25 17:46:27.110426848 +0200 @@ -1,222 +1 @@ -#! /bin/sh -# Copyright (c) 1999-2003 SuSE Linux AG, Nuernberg, Germany. -# All rights reserved. -# -# Author: Thomas Fehr, 1999-2001 -# Lars Mueller <lmue...@suse.de>, 2002-2004 -# Bjoern Jacke <bja...@sernet.de> 2004 -# -# /etc/init.d/smbfs -# and its symbolic link -# /usr/sbin/rcsmbfs -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -### BEGIN INIT INFO -# Provides: smbfs -# Required-Start: $network $syslog -# Should-Start: nfs nmb -# Required-Stop: $network $syslog -# Should-Stop: nfs nmb -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: Import remote SMB/ CIFS (MS Windows) file systems -# Description: Import remote SMB/ CIFS (MS Windows) file systems -### END INIT INFO - -# To access SMB/ CIFS servers beyond the network broadcast domain it may be -# necessary to also activate the nmb service. Also see section 'smbfs and nmb -# service' in /usr/share/doc/packages/samba/README.SUSE - -. /etc/rc.status -rc_reset - -LC_ALL=en_US -SMBFSTAB="/etc/samba/smbfstab" -SMB_CONF="/etc/samba/smb.conf" -SMBFS_STATE_FILE="/var/run/smbfs" -SLEEP=1 -TIMEOUT=10 - -grep -q " cifs " /proc/mounts -test $? -eq 0 && smbfs_used=yes || smbfs_used=no - -case "$1" in - start) - grep -q '^[[:space:]]*[^#].*[[:space:]]cifs[[:space:]]' /etc/fstab - rc=$? - if [ ! -f ${SMBFSTAB} -a ${rc} -ne 0 ]; then - echo -n >&2 "No ${SMBFSTAB} found and no type cifs active in /etc/fstab. " - rc_status -s - exit 6 - fi - echo -n "Mount CIFS File Systems " - service_used="no" - if [ ${rc} -eq 0 ]; then - service_used="yes" - timer=${TIMEOUT} - JOBS="none" - printdot="" - while [ "${JOBS}" ] && [ ${timer} -gt 0 ]; do - if [ -z "${printdot}" ]; then - echo - echo -n "from /etc/fstab " - mount -at cifs >/dev/null & - PID=$! - fi - test -e /proc/$PID || JOBS="" - if [ "${JOBS}" ]; then - timer=$[${timer}-1] - echo -n "." - sleep ${SLEEP} - printdot="yes" - fi - done - test "${printdot}" && echo -n " " - if [ "${JOBS}" -a ${timer} -eq 0 ]; then - echo -n >&2 " Error: timeout while mount. " - rc_failed - fi - rc_status -v - fi - timer=-1 - test -e ${SMBFSTAB} && \ - while read service mountpoint vfstype options; do - case "${service}" in - ""|\#*|\;*) continue ;; - esac - # Set default vfstype which is also a hack for old - # smbfstab formated files without a vfstype set. - if [ "${vfstype}" != "cifs" -a -z "${options}" ]; then - options="${vfstype}" - vfstype="cifs" - fi - # If no options are set use an empty password. - if [ -z "${options}" ]; then - options="password=" - fi - if [ ${timer} -eq -1 ]; then - echo -en "from ${SMBFSTAB} \n" - timer=0 - fi - # Remove /s at the end of a mount point. - mountpoint=$( echo "$mountpoint"|sed "s/\/*$//") - if grep -q "[[:space:]]$mountpoint[[:space:]]" /proc/mounts; then - echo -n "$mountpoint: mount point already in use. " - rc_status -s - continue - fi - service_used="yes" - echo -n "${service} on ${mountpoint} type ${vfstype} " - rc_reset - timer=${TIMEOUT} - JOBS="none" - printdot="" - while [ "${JOBS}" ] && [ ${timer} -gt 0 ]; do - if [ -z "${printdot}" ]; then - mount -t "${vfstype}" -o ${options} "${service}" "${mountpoint}" >/dev/null & - PID=$! - fi - test -e /proc/$PID || JOBS="" - if [ "${JOBS}" ]; then - timer=$[${timer}-1] - echo -n "." - sleep ${SLEEP} - printdot="yes" - fi - done - test "${printdot}" && echo -n " " - if [ "${JOBS}" -a ${timer} -eq 0 ]; then - echo -n >&2 " Error: timeout while mount. " - rc_failed - fi - rc_status -v - done < ${SMBFSTAB} - test "${service_used}" = "no" && rc_status -u - touch ${SMBFS_STATE_FILE} - ;; - stop) - echo -n "Umount SMB/ CIFS File Systems " - if [ "${smbfs_used}" = "yes" ]; then - # - # Unmount in background due to possible long timeouts - # - timer=${TIMEOUT} - JOBS="none" - printdot="" - while [ "${JOBS}" ] && [ ${timer} -gt 0 ]; do - if [ -z "${printdot}" ]; then - umount -at cifs & - PID=$! - fi - test -e /proc/$PID || JOBS="" - if [ "${JOBS}" ]; then - timer=$[${timer}-1] - echo -n "." - sleep ${SLEEP} - printdot="yes" - fi - done - test "${printdot}" && echo -n " " - if [ "${JOBS}" -a ${timer} -eq 0 ]; then - echo -n >&2 " Error: timeout while umount. " - rc_failed - fi - fi - rc_status -v - ;; - try-restart|condrestart) - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset - fi - rc_status - ;; - force-reload|restart) - $0 stop - $0 start - rc_status - ;; - reload) - echo -n "Reload mounted SMB/ CIFS File Systems " - rc_failed 3 - rc_status -v - ;; - status) - echo -n "Checking for mounted SMB/ CIFS File Systems " - if [ "${smbfs_used}" = "yes" ]; then - mount -t cifs | while read service on mountpoint type vfstype rest; do - echo - echo -n "${service} on ${mountpoint} type ${vfstype} " - done - else - rc_failed 3 - fi - rc_status -v - ;; - probe) - test ${SMBFSTAB} -nt ${SMBFS_STATE_FILE} -o \ - ${SMB_CONF} -nt ${SMBFS_STATE_FILE} && echo restart - ;; - *) - echo "Usage: $0 {start|stop|status|force-reload|reload|restart|reload|probe}" - exit 1 - ;; -esac -rc_exit +symbolic link to smbfs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files-git.f8c2b1c/init/smbfs-1130 new/vendor-files-git.b95e12c/init/smbfs-1130 --- old/vendor-files-git.f8c2b1c/init/smbfs-1130 2017-07-14 14:54:18.000000000 +0200 +++ new/vendor-files-git.b95e12c/init/smbfs-1130 2017-10-25 17:46:27.130425910 +0200 @@ -1,222 +1 @@ -#! /bin/sh -# Copyright (c) 1999-2003 SuSE Linux AG, Nuernberg, Germany. -# All rights reserved. -# -# Author: Thomas Fehr, 1999-2001 -# Lars Mueller <lmue...@suse.de>, 2002-2004 -# Bjoern Jacke <bja...@sernet.de> 2004 -# -# /etc/init.d/smbfs -# and its symbolic link -# /usr/sbin/rcsmbfs -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -### BEGIN INIT INFO -# Provides: smbfs -# Required-Start: $network $syslog -# Should-Start: nfs nmb -# Required-Stop: $network $syslog -# Should-Stop: nfs nmb -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: Import remote SMB/ CIFS (MS Windows) file systems -# Description: Import remote SMB/ CIFS (MS Windows) file systems -### END INIT INFO - -# To access SMB/ CIFS servers beyond the network broadcast domain it may be -# necessary to also activate the nmb service. Also see section 'smbfs and nmb -# service' in /usr/share/doc/packages/samba/README.SUSE - -. /etc/rc.status -rc_reset - -LC_ALL=en_US -SMBFSTAB="/etc/samba/smbfstab" -SMB_CONF="/etc/samba/smb.conf" -SMBFS_STATE_FILE="/var/run/smbfs" -SLEEP=1 -TIMEOUT=10 - -grep -q " cifs " /proc/mounts -test $? -eq 0 && smbfs_used=yes || smbfs_used=no - -case "$1" in - start) - grep -q '^[[:space:]]*[^#].*[[:space:]]cifs[[:space:]]' /etc/fstab - rc=$? - if [ ! -f ${SMBFSTAB} -a ${rc} -ne 0 ]; then - echo -n >&2 "No ${SMBFSTAB} found and no type cifs active in /etc/fstab. " - rc_status -s - exit 6 - fi - echo -n "Mount CIFS File Systems " - service_used="no" - if [ ${rc} -eq 0 ]; then - service_used="yes" - timer=${TIMEOUT} - JOBS="none" - printdot="" - while [ "${JOBS}" ] && [ ${timer} -gt 0 ]; do - if [ -z "${printdot}" ]; then - echo - echo -n "from /etc/fstab " - mount -at cifs >/dev/null & - PID=$! - fi - test -e /proc/$PID || JOBS="" - if [ "${JOBS}" ]; then - timer=$[${timer}-1] - echo -n "." - sleep ${SLEEP} - printdot="yes" - fi - done - test "${printdot}" && echo -n " " - if [ "${JOBS}" -a ${timer} -eq 0 ]; then - echo -n >&2 " Error: timeout while mount. " - rc_failed - fi - rc_status -v - fi - timer=-1 - test -e ${SMBFSTAB} && \ - while read service mountpoint vfstype options; do - case "${service}" in - ""|\#*|\;*) continue ;; - esac - # Set default vfstype which is also a hack for old - # smbfstab formated files without a vfstype set. - if [ "${vfstype}" != "cifs" -a -z "${options}" ]; then - options="${vfstype}" - vfstype="cifs" - fi - # If no options are set use an empty password. - if [ -z "${options}" ]; then - options="password=" - fi - if [ ${timer} -eq -1 ]; then - echo -en "from ${SMBFSTAB} \n" - timer=0 - fi - # Remove /s at the end of a mount point. - mountpoint=$( echo "$mountpoint"|sed "s/\/*$//") - if grep -q "[[:space:]]$mountpoint[[:space:]]" /proc/mounts; then - echo -n "$mountpoint: mount point already in use. " - rc_status -s - continue - fi - service_used="yes" - echo -n "${service} on ${mountpoint} type ${vfstype} " - rc_reset - timer=${TIMEOUT} - JOBS="none" - printdot="" - while [ "${JOBS}" ] && [ ${timer} -gt 0 ]; do - if [ -z "${printdot}" ]; then - mount -t "${vfstype}" -o ${options} "${service}" "${mountpoint}" >/dev/null & - PID=$! - fi - test -e /proc/$PID || JOBS="" - if [ "${JOBS}" ]; then - timer=$[${timer}-1] - echo -n "." - sleep ${SLEEP} - printdot="yes" - fi - done - test "${printdot}" && echo -n " " - if [ "${JOBS}" -a ${timer} -eq 0 ]; then - echo -n >&2 " Error: timeout while mount. " - rc_failed - fi - rc_status -v - done < ${SMBFSTAB} - test "${service_used}" = "no" && rc_status -u - touch ${SMBFS_STATE_FILE} - ;; - stop) - echo -n "Umount SMB/ CIFS File Systems " - if [ "${smbfs_used}" = "yes" ]; then - # - # Unmount in background due to possible long timeouts - # - timer=${TIMEOUT} - JOBS="none" - printdot="" - while [ "${JOBS}" ] && [ ${timer} -gt 0 ]; do - if [ -z "${printdot}" ]; then - umount -at cifs & - PID=$! - fi - test -e /proc/$PID || JOBS="" - if [ "${JOBS}" ]; then - timer=$[${timer}-1] - echo -n "." - sleep ${SLEEP} - printdot="yes" - fi - done - test "${printdot}" && echo -n " " - if [ "${JOBS}" -a ${timer} -eq 0 ]; then - echo -n >&2 " Error: timeout while umount. " - rc_failed - fi - fi - rc_status -v - ;; - try-restart|condrestart) - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset - fi - rc_status - ;; - force-reload|restart) - $0 stop - $0 start - rc_status - ;; - reload) - echo -n "Reload mounted SMB/ CIFS File Systems " - rc_failed 3 - rc_status -v - ;; - status) - echo -n "Checking for mounted SMB/ CIFS File Systems " - if [ "${smbfs_used}" = "yes" ]; then - mount -t cifs | while read service on mountpoint type vfstype rest; do - echo - echo -n "${service} on ${mountpoint} type ${vfstype} " - done - else - rc_failed 3 - fi - rc_status -v - ;; - probe) - test ${SMBFSTAB} -nt ${SMBFS_STATE_FILE} -o \ - ${SMB_CONF} -nt ${SMBFS_STATE_FILE} && echo restart - ;; - *) - echo "Usage: $0 {start|stop|status|force-reload|reload|restart|reload|probe}" - exit 1 - ;; -esac -rc_exit +symbolic link to smbfs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files-git.f8c2b1c/init/winbind-1010 new/vendor-files-git.b95e12c/init/winbind-1010 --- old/vendor-files-git.f8c2b1c/init/winbind-1010 2017-07-14 14:54:18.000000000 +0200 +++ new/vendor-files-git.b95e12c/init/winbind-1010 2017-10-25 17:46:27.122426285 +0200 @@ -1,129 +1 @@ -#! /bin/sh -# Copyright (c) 2002,2003 SuSE Linux AG, Nuernberg, Germany. -# All rights reserved. -# -# Author: Lars Mueller <lmue...@suse.de> -# -# /etc/init.d/winbind -# and its symbolic link -# /usr/sbin/rcwinbind -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -### BEGIN INIT INFO -# Provides: winbind -# Required-Start: $network $remote_fs $syslog -# Should-Start: nmb network-remotefs ntp -# Required-Stop: $network $remote_fs $syslog -# Should-Stop: nmb -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: NSS daemon for resolving names from Microsoft Windows servers -# Description: NSS daemon for resolving names from Microsoft Windows servers -### END INIT INFO - -WINBINDD_BIN="/usr/sbin/winbindd" -SMB_CONF="/etc/samba/smb.conf" -TESTPARM_BIN="/usr/bin/testparm" -PID_FILE="/var/run/samba/winbindd.pid" - -. /etc/rc.status -rc_reset - -# Check for missing binary -if [ ! -x ${WINBINDD_BIN} ]; then - echo -n >&2 "Samba WINBIND daemon, ${WINBINDD_BIN} is not installed. " - rc_status -s - exit 5 -fi - -test -f /etc/sysconfig/samba && \ - . /etc/sysconfig/samba - -for setting in $SAMBA_WINBINDD_ENV; do - pathcheck="${setting%%:*}" - variable="${setting##*:}" - test "${pathcheck}" != "${variable}" -a ! -e "${pathcheck}" && \ - continue - export eval ${variable} -done - -case "$1" in - start) - echo -n "Starting Samba WINBIND daemon " - if [ ! -f ${SMB_CONF} ]; then - echo -n >&2 "Samba configuration file, ${SMB_CONF} does not exist. " - rc_status -s - exit 6 - fi - checkproc -p ${PID_FILE} ${WINBINDD_BIN} - case $? in - 0) echo -n "- Warning: daemon already running. " ;; - 1) echo -n "- Warning: ${PID_FILE} exists. " ;; - esac - test -d "${PID_FILE%/winbindd.pid}" || \ - mkdir -m 0755 -p "${PID_FILE%/winbindd.pid}" - startproc -p ${PID_FILE} -W ${PID_FILE} ${WINBINDD_BIN} -s ${SMB_CONF} - rc_status -v - ;; - stop) - echo -n "Shutting down Samba ${curr_sam} WINBIND daemon " - checkproc -p ${PID_FILE} ${WINBINDD_BIN} || \ - echo -n " Warning: daemon not running. " - killproc -p ${PID_FILE} -t 10 ${WINBINDD_BIN} - rc_status -v - ;; - try-restart|condrestart) - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset - fi - rc_status - ;; - restart) - $0 stop - $0 start - rc_status - ;; - force-reload|reload) - echo -n "Reloading Samba ${curr_sam} WINBIND daemon " - checkproc -p ${PID_FILE} ${WINBINDD_BIN} || \ - echo -n >&2 " Warning: daemon not running. " - killproc -p ${PID_FILE} -g -HUP ${WINBINDD_BIN} - rc_status -v - ;; - status) - echo -n "Checking for Samba ${curr_sam} WINBIND daemon " - checkproc -p ${PID_FILE} ${WINBINDD_BIN} - rc_status -v - ;; - probe) - test ${SMB_CONF} -nt ${PID_FILE} && echo reload - ;; - write-status) - echo -n "Sending SAMBA windbind signal SIGUSR2 to write status log. " - killproc -p ${PID_FILE} -USR2 ${WINBINDD_BIN} - rc_status -v - ;; - *) - echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe|write-status}" - exit 1 - ;; -esac -rc_exit +symbolic link to winbind diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files-git.f8c2b1c/init/winbind-1130 new/vendor-files-git.b95e12c/init/winbind-1130 --- old/vendor-files-git.f8c2b1c/init/winbind-1130 2017-07-14 14:54:18.000000000 +0200 +++ new/vendor-files-git.b95e12c/init/winbind-1130 2017-10-25 17:46:27.118426473 +0200 @@ -1,129 +1 @@ -#! /bin/sh -# Copyright (c) 2002,2003 SuSE Linux AG, Nuernberg, Germany. -# All rights reserved. -# -# Author: Lars Mueller <lmue...@suse.de> -# -# /etc/init.d/winbind -# and its symbolic link -# /usr/sbin/rcwinbind -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -### BEGIN INIT INFO -# Provides: winbind -# Required-Start: $network $remote_fs $syslog -# Should-Start: nmb network-remotefs ntp -# Required-Stop: $network $remote_fs $syslog -# Should-Stop: nmb -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: NSS daemon for resolving names from Microsoft Windows servers -# Description: NSS daemon for resolving names from Microsoft Windows servers -### END INIT INFO - -WINBINDD_BIN="/usr/sbin/winbindd" -SMB_CONF="/etc/samba/smb.conf" -TESTPARM_BIN="/usr/bin/testparm" -PID_FILE="/var/run/samba/winbindd.pid" - -. /etc/rc.status -rc_reset - -# Check for missing binary -if [ ! -x ${WINBINDD_BIN} ]; then - echo -n >&2 "Samba WINBIND daemon, ${WINBINDD_BIN} is not installed. " - rc_status -s - exit 5 -fi - -test -f /etc/sysconfig/samba && \ - . /etc/sysconfig/samba - -for setting in $SAMBA_WINBINDD_ENV; do - pathcheck="${setting%%:*}" - variable="${setting##*:}" - test "${pathcheck}" != "${variable}" -a ! -e "${pathcheck}" && \ - continue - export eval ${variable} -done - -case "$1" in - start) - echo -n "Starting Samba WINBIND daemon " - if [ ! -f ${SMB_CONF} ]; then - echo -n >&2 "Samba configuration file, ${SMB_CONF} does not exist. " - rc_status -s - exit 6 - fi - checkproc -p ${PID_FILE} ${WINBINDD_BIN} - case $? in - 0) echo -n "- Warning: daemon already running. " ;; - 1) echo -n "- Warning: ${PID_FILE} exists. " ;; - esac - test -d "${PID_FILE%/winbindd.pid}" || \ - mkdir -m 0755 -p "${PID_FILE%/winbindd.pid}" - startproc -p ${PID_FILE} -W ${PID_FILE} ${WINBINDD_BIN} -s ${SMB_CONF} - rc_status -v - ;; - stop) - echo -n "Shutting down Samba ${curr_sam} WINBIND daemon " - checkproc -p ${PID_FILE} ${WINBINDD_BIN} || \ - echo -n " Warning: daemon not running. " - killproc -p ${PID_FILE} -t 10 ${WINBINDD_BIN} - rc_status -v - ;; - try-restart|condrestart) - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset - fi - rc_status - ;; - restart) - $0 stop - $0 start - rc_status - ;; - force-reload|reload) - echo -n "Reloading Samba ${curr_sam} WINBIND daemon " - checkproc -p ${PID_FILE} ${WINBINDD_BIN} || \ - echo -n >&2 " Warning: daemon not running. " - killproc -p ${PID_FILE} -g -HUP ${WINBINDD_BIN} - rc_status -v - ;; - status) - echo -n "Checking for Samba ${curr_sam} WINBIND daemon " - checkproc -p ${PID_FILE} ${WINBINDD_BIN} - rc_status -v - ;; - probe) - test ${SMB_CONF} -nt ${PID_FILE} && echo reload - ;; - write-status) - echo -n "Sending SAMBA windbind signal SIGUSR2 to write status log. " - killproc -p ${PID_FILE} -USR2 ${WINBINDD_BIN} - rc_status -v - ;; - *) - echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe|write-status}" - exit 1 - ;; -esac -rc_exit +symbolic link to winbind diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files-git.f8c2b1c/systemd/samba-ad-dc.service new/vendor-files-git.b95e12c/systemd/samba-ad-dc.service --- old/vendor-files-git.f8c2b1c/systemd/samba-ad-dc.service 1970-01-01 01:00:00.000000000 +0100 +++ new/vendor-files-git.b95e12c/systemd/samba-ad-dc.service 2017-09-28 13:54:16.000000000 +0200 @@ -0,0 +1,11 @@ +[Unit] +Description=Samba Active Directory Domain Controller +After=network.target remote-fs.target nss-lookup.target + +[Service] +Type=forking +ExecStart=/usr/sbin/samba -D +PIDFile=/run/samba/samba.pid + +[Install] +WantedBy=multi-user.target