# # spec file for package samba (Version 3.2.8) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: samba BuildRequires: cups-devel e2fsprogs-devel libacl-devel pam-devel popt-devel python-devel readline-devel %if 0%{?suse_version} BuildRequires: cracklib-devel openldap2-devel %endif %if 0%{?suse_version} > 1030 BuildRequires: gdbm-devel pwdutils %endif %if 0%{?suse_version} > 930 BuildRequires: krb5-devel libiniparser-devel libnscd-devel %endif %if 0%{?suse_version} > 930 && 0%{?suse_version} < 1031 BuildRequires: dmapi-devel libnscd-devel libxml2-devel mysql-devel postgresql-devel xfsprogs-devel %endif %if 0%{?suse_version} > 830 && 0%{?suse_version} < 931 BuildRequires: heimdal-devel %endif %if 0%{?fedora_version} BuildRequires: cracklib-devel %endif %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} || 0%{?mandriva_version} BuildRequires: krb5-devel openldap-devel %endif %define samba_ver 3.2.8 %define samba_ver_suffix %nil %define samba_ver_full %{samba_ver}%{samba_ver_suffix} %define vscan_ver 0.3.6b %define ldapsmb_ver 1.34b License: GPL v3 or later Group: Productivity/Networking/Samba Url: http://www.samba.org/ AutoReqProv: on Version: 3.2.8 Release: 1 %ifarch ppc64 Obsoletes: samba-64bit %endif Requires: samba-client >= %{version} %if 0%{?suse_version} > 1030 Recommends: cron logrotate %endif PreReq: coreutils grep /usr/sbin/groupadd Summary: A SMB/CIFS File, Print, and Authentication Server Source: http://samba.org/samba/ftp/samba-%{version}%{samba_ver_suffix}.tar.bz2 Source1: vendor-files.tar.bz2 Source2: patches.tar.bz2 Source3: build-source-timestamp Source10: http://prdownloads.sourceforge.net/openantivirus/samba-vscan-%{vscan_ver}.tar.bz2 Source11: http://www.hhrm.de/~gd/ldapsmb/ldapsmb-%{ldapsmb_ver}.tar.bz2 # Choose some features / extra packages here ############################################ %define make_devel 0 %define use_ccache 0 %if 0%{?use_ccache} > 0 BuildRequires: ccache %endif # requires: docbook-utils docbook-xsl-stylesheets docbook_4 freetype2 ghostscript-fonts-std ghostscript-library ghostscript-x11 libxslt sgml-skel te_etex te_latex te_pdf tetex xmlcharent %define make_doc 0 %define make_utils 0 %define make_vscan 1 %define make_ldapsmb 1 %if 0%{?suse_version} > 1020 || 0%{?centos_version} > 500 || 0%{?fedora_version} > 7 || 0%{?rhel_version} > 500 %define make_cifsupcall 1 %else %define make_cifsupcall 0 %endif # Define some global directories ################################ %define DOCDIR %{_defaultdocdir}/samba %define DOCBOOKDIR %{_defaultdocdir}/%{name}/docbook %define SWATDIR %{_datadir}/samba/swat %define LOGDIR %{_localstatedir}/log/samba %define LOCKDIR %{_localstatedir}/lib/samba %define CONFIGDIR %{_sysconfdir}/samba %define INITDIR %{_sysconfdir}/init.d %define PIDDIR %{_localstatedir}/run/samba %if "%{_vendor}" == "suse" %define NET_CFGDIR network %else %define NET_CFGDIR network-scripts %endif %define idmap_modules idmap_ad,idmap_ldap,idmap_rid %define vfs_modules vfs_cacheprime,vfs_readahead %if 0%{?ul_version} >= 1 %define VENDOR UL %else %if "%{_vendor}" == "suse" || "%{_vendor}" == "redhat" %define VENDOR SUSE %else %define VENDOR %_vendor %endif %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Samba is a suite of programs that allows SMB/CIFS clients to use the Unix file space, printers, and authentication subsystem. The package named samba contains all programs that are needed to act as a server. The binaries expect the configuration file to be found in /etc/samba/smb.conf For a more detailed description of Samba, check the samba-doc package or the Samba.org Web page at http://www.Samba.org/ Please check http://en.openSUSE.org/Samba for general information on Samba as part of SUSE Linux Enterprise or openSUSE products, links to binary packages of the most current Samba version, and a bug reporting how to. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %package client License: GPL v3 or later Summary: Samba Client Utilities Group: Productivity/Networking/Samba AutoReqProv: on Provides: smbfs samba3-client = %{version}-%{release} Obsoletes: samba3-client < %{version} %ifarch ppc64 Obsoletes: samba-client-64bit %endif PreReq: %{?insserv_prereq} %{?fillup_prereq} coreutils /sbin/ldconfig %if 0%{?suse_version} == 0 || 0%{?suse_version} > 920 Requires: cifs-mount %endif %description client Samba is a suite of programs that allows SMB/CIFS clients to use the Unix file space, printers, and authentication subsystem. The package named samba-client contains all programs that are needed to act as a Samba client. The binaries expect the configuration file to be found in /etc/samba/smb.conf For a more detailed description of Samba, check the samba-doc package or the Samba.org Web page at http://www.Samba.org/ Please check http://en.openSUSE.org/Samba for general information on Samba as part of SUSE Linux Enterprise or openSUSE products, links to binary packages of the most current Samba version, and a bug reporting how to. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020 %package devel License: GPL v3 or later Summary: Libraries and Header Files to Develop Programs with Samba Support Group: Development/Libraries/C and C++ AutoReqProv: on %ifarch ppc64 Obsoletes: samba-devel-64bit %endif %description devel This package contains the static libraries and header files needed to develop programs which make use of Samba. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %endif %if 0%{?suse_version} && 0%{?suse_version} < 1001 %package doc License: GPL v3 or later Summary: Samba Documentation Group: Documentation/Other AutoReqProv: on Provides: samba3-doc = %{version}-%{release} Obsoletes: samba3-doc < %{version} PreReq: coreutils findutils %description doc This package contains all the Samba documentation as it is not part of the man pages. Please check http://en.openSUSE.org/Samba for general information on Samba as part of SUSE Linux Enterprise or openSUSE products, links to binary packages of the most current Samba version, and a bug reporting how to. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %endif %package krb-printing License: GPL v3 or later Summary: Wrapper binary for kerberized printing Group: Productivity/Networking/Samba AutoReqProv: on Provides: samba3-krb-printing = %{version}-%{release} Obsoletes: samba3-krb-printing PreReq: coreutils %if 0%{?suse_version} > 1000 PreReq: /sbin/conf.d/SuSEconfig.permissions %endif Requires: samba-client >= %{version} %description krb-printing A wrapper binary to run smbspool with the original calling UID. Authors: -------- Jeremy Allison Source Timestamp: 2055 Branch : 3.2.8 %if %{make_utils} %package utils Summary: debug tools Group: Productivity/Networking/Samba AutoReqProv: on Provides: samba3-utils = %{version}-%{release} Obsoletes: samba3-utils %description utils Some of the debug-tools for developpers. Authors: -------- The Samba Team %endif %package winbind License: GPL v3 or later Summary: Winbind Daemon and Tool Group: Productivity/Networking/Samba AutoReqProv: on Provides: samba3-winbind = %{version}-%{release} samba-client:/usr/sbin/winbindd Obsoletes: samba3-winbind %ifarch ppc64 Obsoletes: samba-winbind-64bit %endif Requires: samba-client >= %{version} %if 0%{?suse_version} > 1030 Recommends: cron logrotate %endif PreReq: coreutils /sbin/ldconfig %{?insserv_prereq} %description winbind This is the winbind-daemon and the wbinfo-tool. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %if 0%{?suse_version} && 0%{?suse_version} < 1031 %package -n libsmbclient License: GPL v3 or later %else %package -n libsmbclient0 License: GPL v3 or later Provides: libsmbclient = %{version}-%{release} Obsoletes: libsmbclient %endif %ifarch ppc64 Obsoletes: libsmbclient-64bit %endif Summary: Samba Client Library Group: System/Libraries AutoReqProv: on PreReq: /sbin/ldconfig %if 0%{?suse_version} && 0%{?suse_version} < 1031 %description -n libsmbclient This package includes the libsmbclient library. libsmbclient is provided by the libsmbclient0 package. This entry is required to allow a samba.spec file providing libsmbclient for SUSE version < 11.0 while versions > 10.0 will have libsmbclient0. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %else %description -n libsmbclient0 This package includes the libsmbclient library. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %endif This package includes the smbclient library. Authors: -------- The Samba Team %package -n libsmbclient-devel License: GPL v3 or later Summary: Libraries and Header Files to Develop Programs with smbclient Support Group: Development/Libraries/C and C++ AutoReqProv: on %if 0%{?suse_version} && 0%{?suse_version} < 921 Requires: libsmbclient = %{version} heimdal-devel %else %if 0%{?suse_version} && 0%{?suse_version} < 1031 Requires: libsmbclient = %{version} krb5-devel %else Requires: libsmbclient0 = %{version} krb5-devel %endif %endif %description -n libsmbclient-devel This package contains the static libraries and header files needed to develop programs which make use of the smbclient programming interface. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %package -n libnetapi0 License: GPL v3 or later Summary: Samba netapi Library Group: Productivity/Networking/Samba AutoReqProv: on PreReq: /sbin/ldconfig %description -n libnetapi0 This package includes the netapi library. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %package -n libnetapi-devel License: GPL v3 or later Summary: Libraries and Header Files to Develop Programs with netapi Support Group: Development/Libraries/C and C++ AutoReqProv: on Requires: libnetapi0 = %{version} %description -n libnetapi-devel This package contains the static libraries and header files needed to develop programs which make use of the netapi programming interface. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %if 0%{?suse_version} && 0%{?suse_version} < 1031 %package -n libsmbsharemodes License: GPL v3 or later %else %package -n libsmbsharemodes0 License: GPL v3 or later %endif Summary: Samba smbsharemodes Library Group: System/Libraries AutoReqProv: on PreReq: /sbin/ldconfig %if 0%{?suse_version} && 0%{?suse_version} < 1031 %description -n libsmbsharemodes This package includes the smbsharemodes library. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %else %description -n libsmbsharemodes0 This package includes the smbsharemodes library. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %endif This package includes the smbsharemodes library. Authors: -------- The Samba Team %package -n libsmbsharemodes-devel License: GPL v3 or later Summary: Samba smbsharemodes Library Group: Development/Libraries/C and C++ AutoReqProv: on %if 0%{?suse_version} && 0%{?suse_version} < 1031 Requires: libsmbsharemodes = %{version} %else Requires: libsmbsharemodes0 = %{version} %endif %description -n libsmbsharemodes-devel This package contains the static libraries and header files needed to develop programs which make use of the smbsharemodes programming interface. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %if %{make_ldapsmb} %package -n libtalloc1 License: LGPL v3 or later Summary: Samba talloc Library Group: Productivity/Networking/Samba AutoReqProv: on PreReq: /sbin/ldconfig %description -n libtalloc1 This package includes the talloc library. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %package -n libtalloc-devel License: LGPL v3 or later Summary: Libraries and Header Files to Develop Programs with talloc Support Group: Development/Libraries/C and C++ AutoReqProv: on Requires: libtalloc1 = %{version} %description -n libtalloc-devel This package contains the static libraries and header files needed to develop programs which make use of the talloc programming interface. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %package -n libtdb1 License: LGPL v3 or later Summary: Samba tdb Library Group: Productivity/Networking/Samba AutoReqProv: on PreReq: /sbin/ldconfig %description -n libtdb1 This package includes the tdb library. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %package -n libtdb-devel License: LGPL v3 or later Summary: Libraries and Header Files to Develop Programs with tdb Support Group: Development/Libraries/C and C++ AutoReqProv: on Requires: libtdb1 = %{version} %description -n libtdb-devel This package contains the static libraries and header files needed to develop programs which make use of the tdb programming interface. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %package -n libwbclient0 License: GPL v3 or later Summary: Samba libwbclient Library Group: Productivity/Networking/Samba AutoReqProv: on PreReq: /sbin/ldconfig %description -n libwbclient0 This package includes the wbclient library. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %package -n libwbclient-devel License: GPL v3 or later Summary: Libraries and Header Files to Develop Programs with wbclient Support Group: Development/Libraries/C and C++ AutoReqProv: on Requires: libwbclient0 = %{version} %description -n libwbclient-devel This package contains the static libraries and header files needed to develop programs which make use of the wbclient programming interface. Authors: -------- The Samba Team Source Timestamp: 2055 Branch : 3.2.8 %package -n ldapsmb License: GPL v2 or later Summary: Tool to administer Samba's LDAP backend Group: Productivity/Networking/Samba AutoReqProv: on Version: 1.34b Release: 256 Requires: perl-ldap %description -n ldapsmb This tool aims to simplify the administration of a Samba Domain Controller that uses the ldapsam passdb backend. Authors: -------- Guenther Deschner Source Timestamp: 2055 Branch : 3.2.8 %endif %if 0%{?suse_version} == 0 || 0%{?suse_version} > 920 %package -n cifs-mount License: GPL v3 or later Summary: Mount using the Common Internet File System (CIFS) Group: System/Filesystems AutoReqProv: on Requires: keyutils Requires: keyutils-libs %description -n cifs-mount mount.cifs mounts a CIFS filesystem. It is usually invoked indirectly by the mount command when using the "-t cifs" option. Authors: -------- Steve French Source Timestamp: 2055 Branch : 3.2.8 %endif %if %{make_vscan} %package vscan License: GPL v2 or later Summary: On-Access Virus Scanning with Samba Group: Productivity/Networking/Samba AutoReqProv: on Version: 0.3.6b Release: 260 Provides: samba3-vscan = 0.3.6b Obsoletes: samba3-vscan Requires: samba = %{samba_ver} Url: http://www.openantivirus.org/ %description vscan samba-vscan provides on-access scanning of Samba shares with ClamAV, FRISK F-Prot, F-Secure AV, Kaspersky Anti-Virus, mks32, OAV ScannerDaemon, Sophos Sweep, Symantec AntiVirus Engine (via ICAP) and Trend Micro. Authors: -------- Rainer Link Source Timestamp: 2055 Branch : 3.2.8 %endif %prep %setup -n samba-%{samba_ver_full} -q # ldapsmb %if %{make_ldapsmb} %setup -T -D -a 11 -n samba-%{samba_ver_full} -q %endif # patches %setup -T -D -a 2 -n samba-%{samba_ver_full} -q for patch in $( patches/tools/guards "${file}.new" && \ mv "${file}.new" "${file}" done %__install -m 0644 vendor-files/tools/get_printing_ticket.c source/client/get_printing_ticket.c # Create and add vendor suffix test -f vendor-files/tools/package-data && \ . vendor-files/tools/package-data pushd source vendor_tag=$( grep ^Release: ${RPM_SOURCE_DIR}/samba.spec | \ head -n 1 | \ while read tag release; do \ echo -n "${release:+${release}-}"; \ done; \ echo -n "${SAMBA_PACKAGE_SVN_VERSION:+${SAMBA_PACKAGE_SVN_VERSION}-}"; \ test %{make_devel} -eq 1 && echo -n "devel-" || :) # Create product suffix test 0%{?centos_version} -gt 0 && product_version=%{?centos_version} test 0%{?fedora_version} -gt 0 && product_version=%{?fedora_version} test 0%{?mandriva_version} -gt 0 && product_version=%{?mandriva_version} test 0%{?rhel_version} -gt 0 && product_version=%{?rhel_version} test 0%{?suse_version} -gt 0 && product_version=%{?suse_version} major_version=$((${product_version}/100)) minor_version=$((${product_version}/10)) minor_version="${minor_version#$major_version}" product_version="${major_version}.${minor_version}" product_suffix="" if test "%{VENDOR}" != "UL"; then if test 0%{?sles_version} -gt 0; then product_suffix="-SLES%{sles_version}" elif test 0%{?suse_version} -gt 0; then product_suffix="-SL${product_version}" else product_suffix="-OBS" fi case "%{?suse_version}" in 1010|1110) product_suffix="-CODE${major_version}" ;; esac fi # Set SAMBA_VERSION_VENDOR_SUFFIX in the VERSION file mv VERSION VERSION.orig sed -e s/^SAMBA_VERSION_VENDOR_SUFFIX=$/SAMBA_VERSION_VENDOR_SUFFIX=\"${vendor_tag}%{VENDOR}${product_suffix}\"/ VERSION.orig >VERSION %build %if 0%{?suse_version} && 0%{?suse_version} < 911 OPTIMIZATION="-O" %else # use the default optimization unset OPTIMIZATION %endif export CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE ${OPTIMIZATION} -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS" %if %{use_ccache} export CC="ccache gcc" %endif cd source %{?suse_update_config:%{suse_update_config -f}} ln -s m4/aclocal.m4 aclocal.m4 autoreconf --force --install -I. -Im4 -Ilib/replace CONFIGURE_OPTIONS="\ --prefix=%{_prefix} \ --localstatedir=%{LOCKDIR} \ --sysconfdir=%{CONFIGDIR} \ --with-configdir=%{CONFIGDIR} \ --with-libdir=%{_libdir} \ --with-lockdir=%{LOCKDIR} \ --with-logfilebase=%{LOGDIR} \ --with-mandir=%{_mandir} \ --with-rootsbindir=/sbin \ --enable-cups \ --enable-debug \ --enable-static \ --with-acl-support \ --with-automount \ --with-dnsupdate \ --with-pam \ --with-pammodulesdir=%{_lib}/security \ --with-pam_smbpass \ --with-piddir=%{PIDDIR} \ --with-privatedir=%{CONFIGDIR} \ %if %{make_devel} --with-profiling-data \ %endif --with-quotas \ --with-swatdir=%{SWATDIR} \ --with-syslog \ --with-utmp \ --with-winbind \ --with-shared-modules=%{vfs_modules},%{idmap_modules} \ %if %{make_cifsupcall} --with-cifsupcall \ %endif %if %{make_devel} --enable-developer \ --enable-krb5developer \ %endif " # make sure we have a chance to find krb5-config for dir in /usr/lib/mit/bin /usr/lib/heimdal; do test -d "${dir}" && export PATH="${PATH}:${dir}" done unset CONFIGURE_OPTIONS_DEVEL %if %{make_devel} CONFIGURE_OPTIONS_DEVEL="--enable-debug --enable-developer" %endif ./configure ${CONFIGURE_OPTIONS} ${CONFIGURE_OPTIONS_DEVEL} ./script/mkversion.sh %if 0%{?suse_version} == 0 || 0%{?suse_version} > 930 %{__make} pch %else %{__make} proto %endif %{__make} %{?jobs:-j%jobs} \ CONFIGDIR=%{CONFIGDIR} \ LIBDIR=%{_libdir}/samba \ everything #%{__make} %{?jobs:-j%jobs} -C tdb tdbtest tdbtorture %if %{make_vscan} pushd ../examples/VFS/samba-vscan-%{vscan_ver}/ %{?suse_update_config:%{suse_update_config -f}} autoreconf --force --install ./configure ${CONFIGURE_OPTIONS} ${CONFIGURE_OPTIONS_DEVEL} %{__make} %{?jobs:-j%jobs} popd %endif %if %{make_ldapsmb} pushd ../ldapsmb-%{ldapsmb_ver} ./autogen.sh rm ldapsmb %{__make} %{?jobs:-j%jobs} all doc popd %endif %check pushd source make test_shlibs make test_nss_modules make test_pam_modules popd pushd testsuite/libsmbclient/src make popd %install %if %{make_devel} export NO_BRP_STRIP_DEBUG="true" %endif %__install -d -m 0755 -p \ ${RPM_BUILD_ROOT}/%{_sysconfdir}/{pam.d,xinetd.d,logrotate.d} \ ${RPM_BUILD_ROOT}/%{_sysconfdir}/openldap/schema \ ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/{if-{down,up}.d,scripts} \ %if 0%{?suse_version} && 0%{?suse_version} > 1020 ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services \ %endif ${RPM_BUILD_ROOT}/%{_sysconfdir}/permissions.d \ ${RPM_BUILD_ROOT}/%{_sysconfdir}/security \ ${RPM_BUILD_ROOT}/%{_sysconfdir}/slp.reg.d \ ${RPM_BUILD_ROOT}/%{CONFIGDIR} \ ${RPM_BUILD_ROOT}/%{INITDIR} \ ${RPM_BUILD_ROOT}/%{_lib}/security \ ${RPM_BUILD_ROOT}/sbin \ ${RPM_BUILD_ROOT}/%{_includedir} \ ${RPM_BUILD_ROOT}/%{_libdir}/python/lib-dynload \ ${RPM_BUILD_ROOT}/%{_libdir}/samba/{config,vfs,rpc,auth,charset,idmap} \ ${RPM_BUILD_ROOT}/%{_datadir}/omc/svcinfo.d \ ${RPM_BUILD_ROOT}/%{_datadir}/samba/{LDAP,templates} \ ${RPM_BUILD_ROOT}/%{_localstatedir}/adm \ ${RPM_BUILD_ROOT}/%{LOCKDIR}/{netlogon,drivers/{WIN40,W32X86,W32MIPS,W32ALPHA,W32PPC,IA64,x64},printing,profiles} \ ${RPM_BUILD_ROOT}/%{LOGDIR} \ ${RPM_BUILD_ROOT}/%{PIDDIR} \ ${RPM_BUILD_ROOT}/%{_var}/adm/fillup-templates \ ${RPM_BUILD_ROOT}/%{_var}/lock/subsys \ ${RPM_BUILD_ROOT}/%{DOCDIR}-vscan \ ${RPM_BUILD_ROOT}/%{DOCDIR} \ ${RPM_BUILD_ROOT}/%{DOCBOOKDIR} \ ${RPM_BUILD_ROOT}/%{SWATDIR}/help \ ${RPM_BUILD_ROOT}/%{_datadir}/susehelp/meta/Administration/System %{__make} -C source/ install \ DESTDIR=${RPM_BUILD_ROOT} \ CONFIGDIR=%{CONFIGDIR} \ LIBDIR=%{_libdir}/samba # utility scripts scripts="creategroup mksmbpasswd.sh" %__install -d -m 0755 examples/scripts for i in $scripts; do %__install -m 0755 "source/script/${i}" examples/scripts/${i} done # configuration files pushd vendor-files echo "# smb.conf is the main Samba configuration file. You find a full commented" >config/smb.conf echo "# version at %{DOCDIR}/examples/smb.conf.%{VENDOR} if the" >>config/smb.conf echo "# samba-doc package is installed." >>config/smb.conf echo "# Date: $( date -I)" >>config/smb.conf grep -v "\(^#\|^;\|^$\)" config/smb.conf.vendor >>config/smb.conf %__install -p -m 0644 config/smb.conf.vendor ../examples/smb.conf.%{VENDOR} for file in smb.conf lmhosts smbusers smbpasswd smbfstab smbusers; do %__install -m 0644 "config/${file}" ${RPM_BUILD_ROOT}/%{CONFIGDIR}/${file} done section_names=$( sed -ne 's/^\[\(.*\)\]$/\1/p' config/smb.conf) for section in $section_names; do ../source/bin/testparm -s --section-name "${section}" config/smb.conf >"${RPM_BUILD_ROOT}/%{_datadir}/samba/templates/default-${section}" || : done for file in config/templates/*; do cp -a "${file}" "${RPM_BUILD_ROOT}/%{_datadir}/samba/templates/" done # start scripts scriptSuffix="" %if 0%{?suse_version} if test 0%{?suse_version} -lt 901; then scriptSuffix="-900" elif test 0%{?suse_version} -lt 1011; then scriptSuffix="-1010" fi %endif startScripts="smb nmb smbfs winbind" for script in ${startScripts}; do %__install -m 0755 "init/${script}${scriptSuffix}" \ "${RPM_BUILD_ROOT}/%{INITDIR}/${script}" ln -s "%{INITDIR}/${script}" "${RPM_BUILD_ROOT}/%{_sbindir}/rc${script}" done for script in ${startScripts}; do SERVICE_NAME=$( echo "${script}" | tr [:lower:] [:upper:]) sed \ -e "s#__SERVICE_NAME#${SERVICE_NAME}#g" \ -e "s#__SERVICE_SCRIPT_NAME#${script}#g" \ init/template.xml \ >"${RPM_BUILD_ROOT}/%{_datadir}/omc/svcinfo.d/${script}.xml" done %__install -m 0755 tools/nmbstatus ${RPM_BUILD_ROOT}/%{_bindir}/nmbstatus pod2man tools/nmbstatus >${RPM_BUILD_ROOT}/%{_mandir}/man1/nmbstatus.1 # PDF generator %__install -p -m 0755 tools/smbprngenpdf ${RPM_BUILD_ROOT}/%{_bindir}/smbprngenpdf touch ${RPM_BUILD_ROOT}/var/lock/subsys/smbfs %__install -m 0644 config/swat.xinetd ${RPM_BUILD_ROOT}/%{_sysconfdir}/xinetd.d/swat %__install -m 0644 config/samba.reg ${RPM_BUILD_ROOT}/%{_sysconfdir}/slp.reg.d/samba.reg %if 0%{?suse_version} && 0%{?suse_version} < 921 %__install -m 0644 config/samba.pamd ${RPM_BUILD_ROOT}/%{_sysconfdir}/pam.d/samba %else %__install -m 0644 config/samba.pamd-common ${RPM_BUILD_ROOT}/%{_sysconfdir}/pam.d/samba %endif %__install -m 0644 config/dhcp.conf ${RPM_BUILD_ROOT}/%{_var}/adm/fillup-templates/samba-client-dhcp.conf %__install -m 0644 config/sysconfig.dhcp-samba-client ${RPM_BUILD_ROOT}/%{_var}/adm/fillup-templates/sysconfig.dhcp-samba-client for script in dhcpcd-hook-samba samba-winbindd smbfs; do %__install -m 0755 "tools/${script}" "${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/${script}" done # Create ghosts for the symlinks for script in 21-dhcpcd-hook-samba 21-smbfs 55-samba-winbindd; do touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-{down,up}.d/${script} done # Install SuSEfirewall2 config files %if 0%{?suse_version} && 0%{?suse_version} > 1020 %__install -m 0644 -p config/sysconfig.firewall.netbios-server \ %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/netbios-server %__install -m 0644 -p config/sysconfig.firewall.samba-server \ %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-server %endif %if 0%{?suse_version} && 0%{?suse_version} > 1100 %__install -m 0644 -p config/sysconfig.firewall.samba-client \ %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-client %endif # Add logrotate settings for nmbd and smbd only on systems newer than 8.1. %if 0%{?suse_version} && 0%{?suse_version} < 811 LOGROTATE_FILES="samba-winbind" rm -f "${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba" touch "${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba" %else LOGROTATE_FILES="samba samba-winbind" %endif for file in ${LOGROTATE_FILES}; do %__install -m 0644 logrotate/${file} ${RPM_BUILD_ROOT}/%{_sysconfdir}/logrotate.d/${file} rm -f "${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-${file}" touch "${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-${file}" echo "%config(noreplace) %{_sysconfdir}/logrotate.d/${file}" >>${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-${file} done %__install -m 0644 docu/README.vendor ${RPM_BUILD_ROOT}/%{DOCDIR}/README.%{VENDOR} # Install mkinitrd scripts for boot process %if 0%{?suse_version} > 1100 %__install -d -m 0755 %{buildroot}/lib/mkinitrd/scripts %__install -m 0755 mkinitrd/mkinitrd-boot.sh %{buildroot}/lib/mkinitrd/scripts/boot-cifs.sh %__install -m 0755 mkinitrd/mkinitrd-setup.sh %{buildroot}/lib/mkinitrd/scripts/setup-cifs.sh %endif # SuSEhelp files %__install -m 0644 docu/Samba.desktop ${RPM_BUILD_ROOT}/%{_datadir}/susehelp/meta/Administration/System/Samba.desktop %__install -m 0644 docu/manpages.html ../docs/htmldocs/manpages.html popd %__install -m 0755 packaging/Debian/debian-unstable/samba-common.dhcp ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba-functions # libnss_wins.so %__install -m 0755 source/nsswitch/libnss_wins.so ${RPM_BUILD_ROOT}/%{_lib}/libnss_wins.so.2 # winbind stuff %__install -m 0644 examples/pam_winbind/pam_winbind.conf ${RPM_BUILD_ROOT}/%{_sysconfdir}/security/pam_winbind.conf %__install -m 0755 source/nsswitch/libnss_winbind.so ${RPM_BUILD_ROOT}/%{_lib}/libnss_winbind.so.2 # smbfilter %__install -m 0755 source/bin/smbfilter ${RPM_BUILD_ROOT}/%{_bindir}/smbfilter # smbget %__install -m 0755 source/bin/smbget ${RPM_BUILD_ROOT}/%{_bindir}/smbget # workaround for the common libs and modules destdir; fixed already upstream for file in libnetapi libsmbclient libsmbsharemodes libtalloc libtdb libwbclient; do mv ${RPM_BUILD_ROOT}/%{_libdir}/samba/${file}* \ ${RPM_BUILD_ROOT}/%{_libdir}/ done # install nsswitch-headers (for squid, etc. #FIXME) %__install -d -m 0755 \ ${RPM_BUILD_ROOT}/%{_includedir}/samba/nsswitch \ ${RPM_BUILD_ROOT}/%{_includedir}/samba/winbindd for file in winbind_client.h winbind_nss_config.h winbind_nss_linux.h; do %__install -m 0644 "source/nsswitch/${file}" ${RPM_BUILD_ROOT}/%{_includedir}/samba/nsswitch/${file} done for file in winbindd.h winbindd_proto.h; do %__install -m 0644 "source/winbindd/${file}" ${RPM_BUILD_ROOT}/%{_includedir}/samba/winbindd/${file} done # install smbtorture and other test-programs %if %{make_utils} %__install -m 0755 source/bin/debug2html ${RPM_BUILD_ROOT}/%{_bindir}/debug2html %__install -m 0755 source/bin/log2pcap ${RPM_BUILD_ROOT}/%{_bindir}/log2pcap %__install -m 0755 source/bin/smbtorture ${RPM_BUILD_ROOT}/%{_bindir}/smbtorture %__install -m 0755 source/bin/talloctort ${RPM_BUILD_ROOT}/%{_bindir}/talloctort %__install -m 0755 source/bin/msgtest ${RPM_BUILD_ROOT}/%{_bindir}/msgtest %__install -m 0755 source/bin/maketest ${RPM_BUILD_ROOT}/%{_bindir}/maketest %__install -m 0755 source/bin/locktest ${RPM_BUILD_ROOT}/%{_bindir}/locktest %__install -m 0755 source/bin/nsstest ${RPM_BUILD_ROOT}/%{_bindir}/nsstest %__install -m 0755 source/bin/vfstest ${RPM_BUILD_ROOT}/%{_bindir}/vfstest # install tdb tools #%__install -m 0755 source/tdb/tdbtest ${RPM_BUILD_ROOT}/%{_bindir}/tdbtest #%__install -m 0755 source/tdb/tdbtorture ${RPM_BUILD_ROOT}/%{_bindir}/tdbtorture %endif %if %{make_vscan} # install VSCAN-vfs-modules %{__make} -C examples/VFS/samba-vscan-%{vscan_ver} install \ DESTDIR="${RPM_BUILD_ROOT}" \ LIBDIR=%{_libdir}/samba %endif %if %{make_ldapsmb} %__install -m 0700 ldapsmb-%{ldapsmb_ver}/ldapsmb ${RPM_BUILD_ROOT}/%{_sbindir}/ cp -a ldapsmb-%{ldapsmb_ver}/ldapsmb.5 ${RPM_BUILD_ROOT}/%{_mandir}/man5 %endif # cups SMB support mkdir -p ${RPM_BUILD_ROOT}/%{_libdir}/cups/backend/ touch ${RPM_BUILD_ROOT}/%{_libdir}/cups/backend/smb # make examples clean VFS="${RPM_BUILD_DIR}/samba-%{samba_ver_full}/examples/VFS" VSCAN="$VFS/samba-vscan-%{vscan_ver}" dirs="$SAM $VFS" (for i in $dirs; do make -C "${i}" clean; done) # add docs %if %{make_vscan} mv examples/VFS/samba-vscan-%{vscan_ver} . %endif # pam_smbpass is missing cp -a source/pam_smbpass/samples examples/pam_smbpass %__install -m 0644 source/pam_smbpass/CHANGELOG examples/pam_smbpass/CHANGELOG %__install -m 0644 source/pam_smbpass/INSTALL examples/pam_smbpass/INSTALL %__install -m 0644 source/pam_smbpass/README examples/pam_smbpass/README %__install -m 0644 source/pam_smbpass/TODO examples/pam_smbpass/TODO mv COPYING Manifest README Read-Manifest-Now Roadmap WHATSNEW.txt ${RPM_BUILD_ROOT}/%{DOCDIR}/ # this is empty rm -rf docs/yodldocs rm -rf docs/manpages cp -a docs/* ${RPM_BUILD_ROOT}/%{DOCDIR} rm -rf "${RPM_BUILD_ROOT}/%{DOCBOOKDIR}" cp -a examples/ ${RPM_BUILD_ROOT}/%{DOCDIR} rm -rf "${RPM_BUILD_ROOT}/%{SWATDIR}/using_samba" ln -s "%{DOCDIR}/htmldocs/using_samba" "${RPM_BUILD_ROOT}/%{SWATDIR}" test -e "${RPM_BUILD_ROOT}/%{SWATDIR}/help/manpages" || \ ln -s "%{DOCDIR}/htmldocs/manpages" "${RPM_BUILD_ROOT}/%{SWATDIR}/help" # Install HTML pages only in the samba-doc package pushd ${RPM_BUILD_ROOT}/%{SWATDIR}/help for file in $( find -mindepth 1 -maxdepth 1); do file="${file#./}" case "${file}" in welcome-no-samba-doc.html) case "%{name}" in samba*-doc) rm "${file}" ;; esac continue ;; welcome.html) ;; *) rm -r "${file}" ln -s "%{DOCDIR}/htmldocs/${file}" . ;; esac echo "%doc %{SWATDIR}/help/${file}" >>${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba-doc done popd # finally build filelist-samba-doc for file in $( find ${RPM_BUILD_ROOT}%{DOCDIR} -maxdepth 1); do # exclude %{DOCDIR}, README, and docbook case "${file#${RPM_BUILD_ROOT}}" in %{DOCDIR}|%{DOCDIR}/README.%{VENDOR}|%{DOCDIR}/docbook) continue ;; esac echo "%doc ${file#${RPM_BUILD_ROOT}}" >>"${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba-doc" done %if ! %{make_utils} # delete manpages if not packaged in utils-package rm -f \ ${RPM_BUILD_ROOT}/%{_mandir}/man1/log2pcap.1* \ ${RPM_BUILD_ROOT}/%{_mandir}/man1/vfstest.1* %endif # sort out vscan-modules from the main filelist for file in $( find ${RPM_BUILD_ROOT}%{_libdir}/samba/vfs/ -mindepth 1 ! -iname '*vscan*' ); do echo "${file#${RPM_BUILD_ROOT}}" >>${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba done # copy the schema %__install -m 0644 examples/LDAP/samba.schema ${RPM_BUILD_ROOT}/%{_sysconfdir}/openldap/schema/samba3.schema %__install -m 0644 examples/LDAP/samba-nds.schema ${RPM_BUILD_ROOT}/%{_datadir}/samba/LDAP/samba-nds.schema # Clean up installed doc if we have a noarch doc package %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1000 while read file; do rm -r "${RPM_BUILD_ROOT}/${file#%* }" done <"${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba-doc" for file in %{SWATDIR}/using_samba %{_datadir}/susehelp; do rm -r "${RPM_BUILD_ROOT}/${file}" done pushd "${RPM_BUILD_ROOT}/%{DOCDIR}" for file in $( find . -mindepth 1 -maxdepth 1);do test "${file}" = "./README.%{VENDOR}" && continue rm -r "${file}" done popd %endif # Workaround bug 380693 by relocating the CIFS helper apps to /usr %if 0%{?suse_version} && 0%{?suse_version} < 1030 mv ${RPM_BUILD_ROOT}/sbin/{,u}mount.cifs ${RPM_BUILD_ROOT}/usr/sbin/ ln -fs /usr/sbin/mount.cifs ${RPM_BUILD_ROOT}/sbin/ ln -fs /usr/sbin/umount.cifs ${RPM_BUILD_ROOT}/sbin/ %endif %pre /usr/sbin/groupadd -g 71 -o -r ntadmin 2>/dev/null || : %preun %{?stop_on_removal:%{stop_on_removal smb nmb}} %postun %{?restart_on_update:%{restart_on_update nmb smb}} %{?insserv_cleanup:%{insserv_cleanup}} %preun client %{?stop_on_removal:%{stop_on_removal smbfs}} %post client /sbin/ldconfig if [ ${1:-0} -eq 1 ]; then # Only insserv smbfs if we're not in update mode. %{?fillup_and_insserv:%{fillup_and_insserv -fy smbfs}} ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-dhcpcd-hook-samba ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-dhcpcd-hook-samba ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/smbfs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-smbfs ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/smbfs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-smbfs else for if_case in if-down.d if-up.d; do test -h %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/dhcpcd-hook-samba || \ continue rm -f %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/dhcpcd-hook-samba ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/21-dhcpcd-hook-samba test -h %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/smbfs || \ continue rm -f %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/smbfs ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/smbfs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/21-smbfs done fi if ! test -e %{_bindir}/get_printing_ticket; then ln -fs %{_bindir}/smbspool %{_libdir}/cups/backend/smb fi %{?fillup_only:%{fillup_only -nsd dhcp samba-client network}} %postun client /sbin/ldconfig %{?insserv_cleanup:%{insserv_cleanup}} %post -n libnetapi0 /sbin/ldconfig %postun -n libnetapi0 /sbin/ldconfig %post -n libtalloc1 /sbin/ldconfig %postun -n libtalloc1 /sbin/ldconfig %post -n libwbclient0 /sbin/ldconfig %postun -n libwbclient0 /sbin/ldconfig %post -n libtdb1 /sbin/ldconfig %postun -n libtdb1 /sbin/ldconfig %if 0%{?suse_version} && 0%{?suse_version} < 1001 %pre doc # Remove all directories and files from usr/share/samba/swat/help expect welcome-*.html if [ -d usr/share/samba/swat/help ]; then find usr/share/samba/swat/help -mindepth 1 -maxdepth 1 -type d -print0 | \ xargs -0 rm -rf for file in $( find usr/share/samba/swat/help -maxdepth 1 -type f); do case "${file}" in usr/share/samba/swat/help/welcome*.html) continue ;; *) rm -f "${file}" ;; esac done fi %endif %post krb-printing if test ${1:-0} -eq 1 -a -d %{_libdir}/cups/backend; then ln -fs %{_bindir}/get_printing_ticket %{_libdir}/cups/backend/smb fi %{?run_permissions:%{run_permissions}} %postun krb-printing if test -e %{_bindir}/smbspool -a -d %{_libdir}/cups/backend; then ln -fs %{_bindir}/smbspool %{_libdir}/cups/backend/smb fi %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1000 %verifyscript krb-printing %verify_permissions -e %{_bindir}/get_printing_ticket %endif %post winbind /sbin/ldconfig if test ${1:-0} -eq 1; then ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/55-samba-winbindd ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/55-samba-winbindd else for if_case in if-down.d if-up.d; do test -h %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/samba-winbindd || \ continue rm -f %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/samba-winbindd ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/55-samba-winbindd done fi %preun winbind %{?stop_on_removal:%{stop_on_removal winbind}} %postun winbind /sbin/ldconfig %{?restart_on_update:%{restart_on_update nscd winbind}} %{?insserv_cleanup:%{insserv_cleanup}} %if 0%{?suse_version} == 0 || 0%{?suse_version} > 920 %post -n cifs-mount [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup exit 0 %postun -n cifs-mount [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup exit 0 %endif %if 0%{?suse_version} && 0%{?suse_version} < 1031 %post -n libsmbclient %else %post -n libsmbclient0 %endif /sbin/ldconfig %if 0%{?suse_version} && 0%{?suse_version} < 1031 %postun -n libsmbclient %else %postun -n libsmbclient0 %endif /sbin/ldconfig %if 0%{?suse_version} && 0%{?suse_version} < 1031 %post -n libsmbsharemodes %else %post -n libsmbsharemodes0 %endif /sbin/ldconfig %if 0%{?suse_version} && 0%{?suse_version} < 1031 %postun -n libsmbsharemodes %else %postun -n libsmbsharemodes0 %endif /sbin/ldconfig %clean [ x"${RPM_BUILD_ROOT}" = x"/" ] && ( echo "your buildroot is /" && exit 0) || rm -rf "${RPM_BUILD_ROOT}" %files -f filelist-samba %defattr(-,root,root) %attr(0754,root,root) %config %{INITDIR}/nmb %attr(0754,root,root) %config %{INITDIR}/smb %attr(0600,root,root) %config(noreplace) %{CONFIGDIR}/smbpasswd %config(noreplace) %{CONFIGDIR}/smbusers %config %{_sysconfdir}/pam.d/samba %{_sysconfdir}/slp.reg.d %config(noreplace) %{_sysconfdir}/xinetd.d/swat %if 0%{?suse_version} && 0%{?suse_version} > 1020 %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/netbios-server %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-server %endif /%{_lib}/security/pam_smbpass.so %dir %{_libdir}/samba %dir %{_libdir}/samba/vfs %{_libdir}/samba/auth %{_libdir}/samba/config %{_libdir}/samba/rpc %{_libdir}/samba/*.msg %attr(0775,root,ntadmin) %{LOCKDIR}/drivers %{LOCKDIR}/netlogon %attr(0770,root,users) %dir %{LOCKDIR}/profiles %dir %{SWATDIR} %dir %{SWATDIR}/help %{SWATDIR}/help/welcome-no-samba-doc.html %{SWATDIR}/images %{SWATDIR}/include %{SWATDIR}/lang %{_bindir}/smbstatus %{_sbindir}/nmbd %{_sbindir}/rcnmb %{_sbindir}/rcsmb %{_sbindir}/smbd %{_sbindir}/swat %if 0%{?suse_version} && 0%{?suse_version} < 1100 %dir %{_datadir}/omc %dir %{_datadir}/omc/svcinfo.d %endif %attr(0644,root,root) %{_datadir}/omc/svcinfo.d/nmb.xml %attr(0644,root,root) %{_datadir}/omc/svcinfo.d/smb.xml %dir %{_datadir}/samba %doc %{_mandir}/man1/smbstatus.1.* %doc %{_mandir}/man5/smbpasswd.5.* %doc %{_mandir}/man8/nmbd.8.* %doc %{_mandir}/man8/smbd.8.* %doc %{_mandir}/man8/swat.8.* %doc %{_mandir}/man8/vfs_audit.8.* %doc %{_mandir}/man8/vfs_cacheprime.8.* %doc %{_mandir}/man8/vfs_cap.8.* %doc %{_mandir}/man8/vfs_catia.8.* %doc %{_mandir}/man8/vfs_commit.8.* %doc %{_mandir}/man8/vfs_default_quota.8.* %doc %{_mandir}/man8/vfs_streams_depot.8.* %doc %{_mandir}/man8/vfs_extd_audit.8.* %doc %{_mandir}/man8/vfs_fake_perms.8.* %doc %{_mandir}/man8/vfs_fileid.8.* %doc %{_mandir}/man8/vfs_full_audit.8.* %doc %{_mandir}/man8/vfs_gpfs.8.* %doc %{_mandir}/man8/vfs_netatalk.8.* %doc %{_mandir}/man8/vfs_notify_fam.8.* %doc %{_mandir}/man8/vfs_prealloc.8.* %doc %{_mandir}/man8/vfs_readahead.8.* %doc %{_mandir}/man8/vfs_readonly.8.* %doc %{_mandir}/man8/vfs_recycle.8.* %doc %{_mandir}/man8/vfs_smb_traffic_analyzer.8.* %doc %{_mandir}/man8/vfs_shadow_copy.8.* %doc %{_mandir}/man8/vfs_shadow_copy2.8.* %doc %{_mandir}/man8/vfs_streams_xattr.8.* %doc %{_mandir}/man8/vfs_xattr_tdb.8.* %if 0%{?suse_version} && 0%{?suse_version} < 1021 %{_includedir}/samba %endif %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020 %files devel %defattr(-,root,root) %{_includedir}/samba %endif %files client %defattr(-,root,root) %attr(0754,root,root) %config %{INITDIR}/smbfs %dir %{CONFIGDIR} %config(noreplace) %{CONFIGDIR}/lmhosts %config(noreplace) %{CONFIGDIR}/smb.conf %attr(0600,root,root) %config(noreplace) %{CONFIGDIR}/smbfstab %dir %{_sysconfdir}/openldap %dir %{_sysconfdir}/openldap/schema %attr(0444,root,root) %config %{_sysconfdir}/openldap/schema/samba3.schema %ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-dhcpcd-hook-samba %ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba-functions %ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-smbfs %ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-smbfs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/smbfs %if 0%{?suse_version} && 0%{?suse_version} > 1100 %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-client %endif %{_bindir}/eventlogadm %{_bindir}/findsmb %{_bindir}/ldbadd %{_bindir}/ldbdel %{_bindir}/ldbedit %{_bindir}/ldbmodify %{_bindir}/ldbsearch %{_bindir}/net %{_bindir}/nmblookup %{_bindir}/nmbstatus %{_bindir}/pdbedit %{_bindir}/profiles %{_bindir}/rpcclient %{_bindir}/smbcacls %{_bindir}/smbclient %{_bindir}/smbcontrol %{_bindir}/smbcquotas %{_bindir}/smbfilter %{_bindir}/smbget %{_bindir}/smbpasswd %{_bindir}/smbprngenpdf %{_bindir}/smbspool %{_bindir}/smbtar %{_bindir}/smbtree %{_bindir}/tdbbackup %{_bindir}/tdbdump %{_bindir}/tdbtool %{_bindir}/testparm %{_sbindir}/rcsmbfs /%{_lib}/libnss_wins.so.2 %dir %{_libdir}/cups %dir %{_libdir}/cups/backend %ghost %{_libdir}/cups/backend/smb %dir %{_libdir}/samba %{_libdir}/samba/charset %{_libdir}/samba/lowcase.dat %{_libdir}/samba/upcase.dat %{_libdir}/samba/valid.dat %doc %{_mandir}/man1/findsmb.1.* %doc %{_mandir}/man1/ldbadd.1.* %doc %{_mandir}/man1/ldbdel.1.* %doc %{_mandir}/man1/ldbedit.1.* %doc %{_mandir}/man1/ldbmodify.1.* %doc %{_mandir}/man1/ldbsearch.1.* %doc %{_mandir}/man1/nmblookup.1.* %doc %{_mandir}/man1/nmbstatus.1.* %doc %{_mandir}/man1/profiles.1.* %doc %{_mandir}/man1/rpcclient.1.* %doc %{_mandir}/man1/smbcacls.1.* %doc %{_mandir}/man1/smbcontrol.1.* %doc %{_mandir}/man1/smbclient.1.* %doc %{_mandir}/man1/smbcquotas.1.* %doc %{_mandir}/man1/smbget.1.* %doc %{_mandir}/man1/smbtar.1.* %doc %{_mandir}/man1/smbtree.1.* %doc %{_mandir}/man1/testparm.1.* %doc %{_mandir}/man5/lmhosts.5.* %doc %{_mandir}/man5/smb.conf.5.* %doc %{_mandir}/man5/smbgetrc.5.* %doc %{_mandir}/man7/samba.7.* %doc %{_mandir}/man8/eventlogadm.8.* %doc %{_mandir}/man8/net.8.* %doc %{_mandir}/man8/pdbedit.8.* %doc %{_mandir}/man8/smbpasswd.8.* %doc %{_mandir}/man8/smbspool.8.* %doc %{_mandir}/man8/tdbbackup.8.* %doc %{_mandir}/man8/tdbdump.8.* %doc %{_mandir}/man8/tdbtool.8.* %if 0%{?suse_version} && 0%{?suse_version} < 1100 %dir %{_datadir}/omc %dir %{_datadir}/omc/svcinfo.d %endif %attr(0644,root,root) %{_datadir}/omc/svcinfo.d/smbfs.xml %dir %{_datadir}/samba %dir %{_datadir}/samba/LDAP %config %{_datadir}/samba/LDAP/samba-nds.schema %{_datadir}/samba/templates %dir %{DOCDIR} %doc %{DOCDIR}/README.%{VENDOR} %{_var}/adm/fillup-templates/samba-client-dhcp.conf %{_var}/adm/fillup-templates/sysconfig.dhcp-samba-client %ghost %{_var}/lock/subsys/smbfs %dir %{LOCKDIR} %attr(0750,root,root) %dir %{LOGDIR} %dir %{PIDDIR} %if 0%{?suse_version} && 0%{?suse_version} < 921 /sbin/mount.cifs /sbin/umount.cifs %{_sbindir}/mount.cifs %{_sbindir}/umount.cifs %doc %{_mandir}/man8/mount.cifs.8.* %doc %{_mandir}/man8/umount.cifs.8.* %endif %files winbind -f filelist-samba-winbind %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/security/pam_winbind.conf %attr(0754,root,root) %config %{INITDIR}/winbind %ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/55-samba-winbindd %ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/55-samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd %doc %{_mandir}/man1/ntlm_auth.1.* %doc %{_mandir}/man1/wbinfo.1.* %doc %{_mandir}/man8/winbindd.8.* %{_bindir}/ntlm_auth %{_bindir}/wbinfo %{_sbindir}/rcwinbind %{_sbindir}/winbindd /%{_lib}/libnss_winbind.so.2 /%{_lib}/security/pam_winbind.so %{_libdir}/samba/idmap %{_libdir}/samba/nss_info %doc %{_mandir}/man7/pam_winbind.7.* %doc %{_mandir}/man8/idmap_ad.8.* %doc %{_mandir}/man8/idmap_ldap.8.* %doc %{_mandir}/man8/idmap_nss.8.* %doc %{_mandir}/man8/idmap_rid.8.* %doc %{_mandir}/man8/idmap_tdb.8.* %if 0%{?suse_version} && 0%{?suse_version} < 1100 %dir %{_datadir}/omc %dir %{_datadir}/omc/svcinfo.d %endif %attr(0644,root,root) %{_datadir}/omc/svcinfo.d/winbind.xml %if %{make_utils} %files utils %defattr(-,root,root) %{_bindir}/debug2html %{_bindir}/log2pcap %{_bindir}/locktest %{_bindir}/locktest2 %{_bindir}/masktest %{_bindir}/msgtest %{_bindir}/nsstest %{_bindir}/smbtorture %{_bindir}/talloctort #%{_bindir}/tdbtest #%{_bindir}/tdbtorture %{_bindir}/vfstest %doc %{_mandir}/man1/log2pcap.1.* %doc %{_mandir}/man1/vfstest.1.* %endif %if 0%{?suse_version} && 0%{?suse_version} < 1001 %files doc -f filelist-samba-doc %defattr(-,root,root) %dir %{DOCDIR} %dir %{_datadir}/samba %dir %{SWATDIR} %dir %{SWATDIR}/help %{SWATDIR}/using_samba %doc %{_datadir}/susehelp %endif %files krb-printing %defattr(-,root,root) %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1000 %verify(not mode) %attr(4750,root,lp) %{_bindir}/get_printing_ticket %else %attr(0750,root,lp) %{_bindir}/get_printing_ticket %endif %dir %{_libdir}/cups %dir %{_libdir}/cups/backend %ghost %{_libdir}/cups/backend/smb %if %{make_vscan} %files vscan %defattr(-,root,root) %{_libdir}/samba/vfs/vscan* %doc samba-vscan-%{vscan_ver}/{AUTHORS,COPYING,ChangeLog,FAQ,INSTALL,NEWS,README,TODO} %doc samba-vscan-%{vscan_ver}/*/vscan-*.conf %dir %{_libdir}/samba/vfs %endif %files -n libnetapi0 %defattr(-,root,root) %{_libdir}/libnetapi.so.* %files -n libnetapi-devel %defattr(-,root,root) %{_includedir}/netapi.h %{_libdir}/libnetapi.a %{_libdir}/libnetapi.so %if 0%{?suse_version} && 0%{?suse_version} < 1031 %files -n libsmbclient %else %files -n libsmbclient0 %endif %defattr(-,root,root) %{_libdir}/libsmbclient.so.* %doc %{_mandir}/man7/libsmbclient.7.* %files -n libsmbclient-devel %defattr(-,root,root) %{_includedir}/libsmbclient.h %{_libdir}/libsmbclient.a %{_libdir}/libsmbclient.so %if 0%{?suse_version} && 0%{?suse_version} < 1031 %files -n libsmbsharemodes %else %files -n libsmbsharemodes0 %endif %defattr(-,root,root) %{_libdir}/libsmbsharemodes.so.* %files -n libsmbsharemodes-devel %defattr(-,root,root) %{_includedir}/smb_share_modes.h %{_libdir}/libsmbsharemodes.a %{_libdir}/libsmbsharemodes.so %if %{make_ldapsmb} %files -n libtalloc1 %defattr(-,root,root) %{_libdir}/libtalloc.so.* %files -n libtalloc-devel %defattr(-,root,root) %{_includedir}/talloc.h %{_libdir}/libtalloc.a %{_libdir}/libtalloc.so %files -n libtdb1 %defattr(-,root,root) %{_libdir}/libtdb.so.* %files -n libtdb-devel %defattr(-,root,root) %{_includedir}/tdb.h %{_libdir}/libtdb.a %{_libdir}/libtdb.so %files -n libwbclient0 %defattr(-,root,root) %{_libdir}/libwbclient.so.* %files -n libwbclient-devel %defattr(-,root,root) %{_includedir}/wbclient.h #%{_libdir}/libwbclient.a %{_libdir}/libwbclient.so %files -n ldapsmb %defattr(-,root,root) %{_sbindir}/ldapsmb %{_mandir}/man5/ldapsmb.5.* %endif %if 0%{?suse_version} == 0 || 0%{?suse_version} > 920 %files -n cifs-mount %defattr(-,root,root) %if 0%{?suse_version} && 0%{?suse_version} < 1030 %{_sbindir}/mount.cifs %{_sbindir}/umount.cifs %endif /sbin/mount.cifs /sbin/umount.cifs %doc %{_mandir}/man8/mount.cifs.8.* %doc %{_mandir}/man8/umount.cifs.8.* %if %{make_cifsupcall} %{_sbindir}/cifs.upcall %doc %{_mandir}/man8/cifs.upcall.8.* %endif %if 0%{?suse_version} > 1100 %dir /lib/mkinitrd %dir /lib/mkinitrd/scripts /lib/mkinitrd/scripts/setup-cifs.sh /lib/mkinitrd/scripts/boot-cifs.sh %endif %endif %changelog * Sun Feb 08 2009 jmcdonough@suse.de - Update to 3.2.8. + Fix and streamline join and DC detection + BUG 4308: Excel save operation corrupts file ACLs. + BUG 5933: Fix incrementing/decrementing num_validated_vuids. + BUG 5953: Fix smbclient crashes. + BUG 5953: Make cli_send_smb_direct_writeX use writev. + BUG 5965: Fix creation of the first share using SWAT. + BUG 5969: Optimize smbclient put command. + BUG 5979: Fix level 2 oplocks. + BUG 5980: Fix race condition when granting level2 oplocks + BUG 5986: Fix renaming of streams. + BUG 5990: Strict allocate should be checked before ftruncate. + BUG 6000: Avoid bashism in perfcount.init. + BUG 6009: Setting "min receivefile size = 1" breaks writes. + BUG 6014: mget shouldn't segfault without arguments. + BUG 6016: Alternate Data Streams / Extended Attributes seem to conflict. + BUG 6017: Fix magic scripts. + BUG 6021: smbclient du command does not recuse properly. + BUG 6030: Add missing header in Status page. + BUG 6035: Fix possible race between fcntl F_SETLKW and alarm delivery. + BUG 6040: Calling Samba print server with an aliased DNS-name fails. + BUG 6058: Use 'make distclean' instead of 'make clean' in build_docs. + Fix "allow trusted domain" so it disables trusted domains. + Fix error code when smbclient puts a file over an existing directory. + Don't return 0 on error in smbcacls - bad for scripts. + Determine case sensitivity based on file system attributes. + Add vfs_fileid manpage. + Adjust regex to match variable names including underscores. + Fix stream marshalling to return the correct streaminfo status. + Fix a delete on close divergence from Windows. + Allow renames of streams via NTRENAME and fix stream error codes. + Fix a segfault if ? is there but the options are NULL. + Avoid flooding of syslog with failing pam_putenv messages. + Document default of the printing config variable. + Change default value for "ldap ssl" to "start tls". + Check if Unix account exists before asking for the password in smbpasswd. + Add manpage for vfs_shadow_copy2. + Clean event context after child is forked. + Refresh sequence number as soon as possible. + Don't set child->requests to NULL in parent after fork. + Clean event context after fork and fix krb5 refresh chain. + Fix null pointer refrence in event context. + Don't send message to any other child in child process. + Fix bug in get_dc_name_via_netlogon(), null pointer refrence. * Tue Feb 03 2009 jmcdonough@suse.de - Backport 3.2.8 fixes. + cups leaks and crashes + various winbind child handling fixes + join fixes + ACL fixes for Excel + allow usrmgr with non-root * Mon Feb 02 2009 lmuelle@suse.de - Replace cifs.upcall Makefile patches by the upstream version. * Wed Jan 28 2009 lmuelle@suse.de - Only add ccache to BuildRequires if it is used. * Fri Jan 23 2009 anschneider@suse.de - Replace all chkconfig calls with rc_active calls to improve performance during boot. * Fri Jan 23 2009 anschneider@suse.de - Add SuSEfirewall2 service config file to allow samba browsing on post-10.2 systems; (bnc#460902). * Wed Jan 07 2009 olh@suse.de - Obsolete old -XXbit packages; (bnc#437293). * Mon Jan 05 2009 lmuelle@suse.de - Update to 3.2.7. + Samba 3.2.0 to 3.2.6 can potentially give root filesystem access to older versions of smbclient; CVE-2009-0022; (bnc#460764). * Sat Dec 27 2008 jmcdonough@suse.de - Samba 3.2.0 to 3.2.6 can potentially give root filesystem access to older versions of smbclient; CVE-2009-0022; (bnc#460764). * Thu Dec 25 2008 boyang@suse.de - Fix nmbstatus dipslay when workgroup parameter is given; (bnc#459785). * Thu Dec 25 2008 boyang@suse.de - Fix Mounting failure when there is white spaces in service; (bnc#460793). * Fri Dec 12 2008 lmuelle@suse.de - Fix all remaining conditional macro calls; (bnc#456469). * Fri Dec 12 2008 anschneider@suse.de - Add IPv6 support for mount.cifs. * Wed Dec 10 2008 lmuelle@suse.de - Update to 3.2.6. + Fix potential segfault in vfs_tsmsm. + Don't list the domain twice when expanding internal aliases. + Fix the output of "getent group" when "winbind use default domain = yes" with "security = ads". + Add domain prefix to username in lookup_groupmem(). + Prevent negative GM/ cache entries due to broken connections. + Fix crash in sync_eventlog_params(). + Fix timeouts when calling 'getgrent'. + BUG 1254: Fix "write list" in setups using "security = share". + BUG 5080: Fix access to cups-printers with cups 1.3.4. + BUG 5737: Fix Winbind crash in an unusual failure mode. + BUG 5783: Fix FindFirst where search pattern equals the mangled filename. + BUG 5790: Fix returning of STATUS_OBJECT_NAME_NOT_FOUND on set file disposition. + BUG 5797: Fix moving of readonly files. + BUG 5814: Fix Winbind crash bug while doing "rescan_trusted_domain". + BUG 5818: Sort ACEs in smbcacl output properly and honor inheritance. + BUG 5825: Fix account locking with LDAP backend. + BUG 5826: Fix truncated filenames when accessing old servers. + BUG 5889: Fix "delete veto files = no". + BUG 5891: Fix smbd crash when viewing the eventlog exported by "eventlog list". + BUG 5900: Fix vfs_readonly. + BUG 5903: Fix vfs_streams_xattr breaking contents of files. + BUG 5904: Fix libnss_wins causing SIGABRT while servicing getaddrinfo() request. + BUG 5914: Fix build failure: redefinition of struct name_list. + BUG 5937: Fix filenames with "*" char hiding other files. + BUG 5953: Fix smbclient crashes. + Fix rename_open_files. + Restructure VFS SMB traffic analyzer VFS module. + Correctly fix smbclient to terminate on eof from server. + Unify access checks for lsa server functions. + Remove the requirement for ldap call made as root. + Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles. + Fix net rpc vampire, based on an *amazing* piece of debugging work by "Cooper S. Blake" . + Fix Coverity IDs 456, 574, 592, 606 and 607. + Fix net rpc vampire. + Use the same prerequisite for DDNS update as Windows XP. + Make "lwinet ads dns register" honor the "interfaces" parameter. + Fix extended DN parse error when AD object does not have a SID. + BUG 5888: Fix PNP_GetHwProfInfo(). + BUG 5957: Do not abort rename process on valid rename script. + BUG 5898: Fix 'net rpc shutdown'. + Fix duplicate installation of cifs.upcall. + Fix _srvsvc_NetShareAdd segfault. + Ensure consistency when reporting password complexity. + Fix _lsa_GetUserName. + Fix access check in _samr_QuerySecurity(). + _samr_DeleteUser needs to wipe out the user_handle on success. + NetGroupEnum_r needs to handle servers with no groups. + Search for gpfs functions in both libgpfs_gpl.so an libgpfs.so. + BUG 5908: Fix internal change notify on shared directory. + BUG 5135 and 5446: Prevent calling POSIX ACL vfs methods on zfs share. + BUG 5929: Fix building of vfs_prealloc with option --with-cluster-support and GPFS. + Add new VFS module to analyze SMB traffic + BUG 5928: Fix 'testparm --version'. + Have uppercase_string return success on NULL pointer in mount.cifs. + Make mount.cifs return codes match the return codes for /bin/mount. + Use lock/unlock_mtab scheme from util-linux-ng mount prog in mount.cifs. + BUG 5778: Check if strlcpy and strlcat are already defined. + BUG 5840: Fix segfault in "rpcclient lsaaddacctrights". + BUG 5860: Fix nasty error message for overlong strings in safe_strcpy. + Fix a potential NULL deref in found by the IBM Checker. + Fix an uninitialized variable found by the IBM Checker. + Fix an unlikely memleak found by the IBM Checker. + Fix some missing error handlings. + Add workaround for domain joins using a netbios name which is different from the hostname. + Fix crash bug when freeing a non-malloc'ed buffer if the client sends a non-encrypted packet with the crypto state set. + Fix trans2findfirst for the large directory optimization. + Fix checking for presence of cups-devel and correct cups-devel test for HAVE_IPRINT. + BUG 5805: Don't close stdout when calling setup_logging multiple times. + Fix setting of trust password using 'net rpc trustdom add'. + Fix several issues in vfs_streams_xattr and vfs_stream_depot. + Return an error instead of crashing when no realm is given (trigerred by "net ads info -S 127.8.7.6" (where 127.8.7.6 doesn't exist) and "disable netbios = yes"). + Fix the new vfs_smb_traffic_analyzer build for static links. + BUG 5901: Fix default for streams_depot location. + Fix several build warnings. + Delete the krb5 ccname variable from the PAM environment if set. + Fix circular dependency error with autoconf 2.6.3. + Add @CIFSUPCALL_PROGS@ to "all" target so cifs.upcall gets built at compile time rather than install time. + BUG 5906: Fix Winbind crash when calling 'getent group'. + Fix logging to syslog. + Allow SYSLOG_FACILITY to be modified with a new configure option called --with-syslog-facility. + BUG 5909: Fix MS-DFS on Vista clients. + BUG 5944: Fix starting of nmbd with "socket address" set to "". + Fix segfault on startup with trusted domains. + Re-add "winbind:ignore domains" parameter. + Avoid freeing fsp twice when opening new_file fails (Debian #431696). * Wed Dec 10 2008 anschneider@suse.de - Fix the conditional macro to start smbfs by default; (bnc#456469). * Wed Dec 03 2008 anschneider@suse.de - Readd libsmbclient to baselibs.conf for pre 11.0 distributions. * Wed Dec 03 2008 anschneider@suse.de - Use %%__install macro to install files with the right permissions instead of cp. * Mon Dec 01 2008 boyang@suse.de - Remove patch for bnc#336854, which doesn't exist in 3.2.x or higher. * Mon Dec 01 2008 lmuelle@suse.de - Use %%{NET_CFGDIR} define instead of a fixed path to the network conf. * Sat Nov 29 2008 lmuelle@suse.de - Update to 3.2.5. + Samba 3.0.29 to 3.2.4 can potentially leak arbitrary memory contents to malicious clients; CVE-2008-4314; (bnc#446971). * Thu Nov 27 2008 ro@suse.de - Update baselibs.conf. * Thu Nov 27 2008 anschneider@suse.de - Fix circular dependency error with autoconf 2.6.3. * Thu Nov 27 2008 anschneider@suse.de - Fix the dhcp hook script and support CODE11; (bnc#442335). * Thu Nov 27 2008 anschneider@suse.de - Fix perl v5.10 warnings in nmbstatus; (bnc#448225). * Tue Nov 25 2008 sjayaraman@suse.de - Make cifs-mount depend on keyutils, keyutils-libs packages as they are required to support dfs and kerberos; (bnc#432494). * Thu Nov 20 2008 lmuelle@suse.de - Fix the offset checks in the trans routines; CVE-2008-4314; (bnc#446971). * Thu Nov 20 2008 hhetter@suse.de - Change the runlevel description for winbindd to use "Microsoft Windows" instead of "NT"; (bnc#446154). * Tue Nov 11 2008 boyang@suse.de - Directory/Filenames get truncated when 3.2.0 client acesses old server; (bnc#432471). * Thu Nov 06 2008 anschneider@suse.de - Add SuSEfirewall2 services config file to open Netbios and Samba ports on post-10.2 systems; (bnc#247344). * Wed Oct 29 2008 anschneider@suse.de - Remove unrecognized configure options. * Fri Oct 24 2008 anschneider@suse.de - Fix the pam_winbind build. * Tue Oct 21 2008 anschneider@suse.de - Delete the krb5 ccname variable from the PAM environment if set. * Thu Oct 16 2008 anschneider@suse.de - Move the nss_info modules to the samba-winbind package. * Thu Oct 16 2008 anschneider@suse.de - Add version branding for CODE 11. * Wed Oct 15 2008 anschneider@suse.de - Restart smbfs even with the traditional network setup; (bnc#425058). * Fri Oct 03 2008 lmuelle@suse.de - Only call the stop_on_removal, restart_on_update, or insserv_cleanup macro if available. * Fri Oct 03 2008 lmuelle@suse.de - Only call the fillup_and_insserv or fillup_only macro if available. * Fri Oct 03 2008 lmuelle@suse.de - Use package names instead of macros for cp, mkdir, mv, rm, and grep or instead of the full path to the binary for ln, find and xargs. * Fri Oct 03 2008 lmuelle@suse.de - Introduce NET_CFGDIR to fit the needs for a differing location of the network configuration per vendor. * Thu Oct 02 2008 lmuelle@suse.de - Use path macros for cp, mkdir, mv, rm, and grep. * Thu Oct 02 2008 lmuelle@suse.de - Only use SUSE rpm macros and SuSEconfig.permissions if available. * Mon Sep 29 2008 lmuelle@suse.de - Adopt samba-vscan to build after the change to the bool type define. * Thu Sep 25 2008 tlaxmeshwar@novell.com - Fix winbindd crash in an unusual failure mode; (bnc#416598). * Mon Sep 22 2008 lmuelle@suse.de - Build cifs.upcall for CentOS 5, Fedora 8 and RHEL 5 and newer too. * Sat Sep 20 2008 lmuelle@suse.de - Call mkinitrd_setup during %%post and %%postun for post-9.2 systems only. * Sat Sep 20 2008 lmuelle@suse.de - Update to 3.2.4. + BUG 5590: Fix binary stripping on older OS. + Fix linking of cifs.upcall when nscd_flush_cache() is found. + BUG 5052: Allow inheritable permissions. + BUG 5697: Fix spinning of nmbd in reload_interfaces when only loopback has an IPv4 address. + BUG 5698: Fix non guest connections to shares when "security = share" is used. + BUG 5729: Explicitly allow "-valid". + BUG 5745: Fix Kerberos authentication with (lib)smbclient. + BUG 5751: Fix showing of ACLs on DFS in (lib)smbclient. + BUG 5761: Fix opening of mangled directory name (resulted 'is a stream name'). + Fix the wcache_invalidate_samlogon calls. + Clarify usage of "force create mode". + Write times code update. + Fix Winbind crash. + idmap_ad: Fix a segfault when calling nss_get_info() with a NULL ads structure. + Fix build warnings. + Cleanup of DC enumeration in get_dcs(). + BUG 5710: Fix changing of machine account passwords. + Fix several build warnings. + Fix invalid sid copy (hit when enumerating sibling domains) in Winbind. + BUG 5736: Fix Winbind crash bug with trusted domains. + Correct the netsamlogon_clear_cached_user function. + Fix handling of MSKRB5 OID in cifs.upcall. + Fix build warnings in cifs.upcall. + Change default install location of cifs.upcall to EPREFIX/sbin. + Enable building of cifs.upcall by default on Linux. + BUG 5707: Do proper error handling if the socket is closed. + Fix calculation of useable_space for trans2 and nttrans replies. + Fix Coverity ID 587. + Add mapping of generic bits when setting an NFSv4 ACL. + Some write time fixes. + BUG 4516: No IPv6 on Solaris 2.6. + BUG 5571: Fix group memeberships in Winbind. + Fix cut and paste error in quota code. + Fix display of POSIX ACLs. + Avoid a race condition in glibc between AIO and setresuid(). + Add missing become root for AIO operations. + Fix logic of tsmsm_sendfile(). + Fix an errno handling bug that could lead to an infinite loop. + Fix handling of arbitrary new PAC types. * Thu Sep 18 2008 anschneider@suse.de - Create a link to the html manpages so that they can be accesses in swat; (bnc#426182). * Tue Sep 09 2008 jmcdonough@suse.de - "Password last set" timestamp update from admin pw change; (bnc#420407). * Wed Sep 03 2008 hare@suse.de - Call mkinitrd_setup during %%post and %%postun for package cifs-mount; (bnc#413709). * Wed Aug 27 2008 lmuelle@suse.de - Update to 3.2.3. + Force the permissions on group_mapping.ldb to 0600; CVE-2008-3789; (bnc#420634). * Tue Aug 19 2008 lmuelle@suse.de - Update to 3.2.2. + BUG 5592: Fix creation and installation of shared libraries. + Fix replacement of random seed generator. + Fix a race condition in idmap_tdb2_allocate_id(). + Fix unix_convert() for "*" after changing map_nt_error_from_unix(). + Make sure to always set errno on error path in OpenDir. + BUG 5675: Fix smbspool program assuming Kerberos authentication by mistake. + BUG 5686: Fix segfaults in libsmbclient. + BUG 5692: Fix coredump in full_audit.so. + BUG 5696: Fix "force group" in setups using Winbind. + Rename cifs.spnego to cifs.upcall. + Fix segfault in cifs.upcall when it is called without any arguments. + Fix coverity ID 594 (resource leak on error path). + Fix assigning of primary group memberships when authenticating via Winbind. + BUG #5617: Fix freezing Windows Explorer on WinXP while browsing Samba shares. + Include stdlib.h to get a prototype for free(). + Solve an IBM XL C/C++ compiler error encountered in get_exit_code() auth_errors array initialization in client/smbspool.c. + Use NGROUPS_MAX instead of 32 for the max group value in rep_initgroups(). + Add add c++ guard to netapi. + Fix compile warning in cifs.upcall. + Add "dns_resolver" key type to cifs.upcall. + BUG 5688: Fix orphaned LPQ processes if socket address is invalid. + BUG 5684: Fix removal of dead records in tdb files. + Fix coverity IDs 595, 596. + Fix smb_len calculation for chained requests. + Fix output of test status. + Fix smbclient connections to older servers. + Fix a fd leak when trying to regain contact to a domain controller in Winbind. + Fix permissions on ctdb databases. + Fix passing back success when a function had in fact failed in two places. - Add --enable-static to the configure options to get the statical libraries installed by the install Makefile target. - Add --with-cifsupcall to build the cifs.upcall binary for post 10.2 systems. * Thu Aug 14 2008 lmuelle@suse.de - Set Required- and Should-Stop in the init info part of all init scripts. * Thu Aug 14 2008 jmcdonough@suse.de - Fix libsmbclient to older servers; (bnc#402776). * Tue Aug 05 2008 lmuelle@suse.de - Update to 3.2.1. + BUG 5594: Fix "make test" by adding and using a new testparm switch "--skip-logic-checks". + Fix creation of libaddns.a, libsmbclient.a and libsharemodes.a. + Update the section about net conf in the net(8) manpage. + Improve processing of registry shares. + Fix listing of registry shares with testparm. + Fix several build issues. + BUG 5578: Fix error from strlcat. + BUG 5613: Fix flushing of smb.conf when creating a new share using SWAT. + Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd. + Remove worrying warning message when safe_strcpy tries to copy a pseaudo interface name that's too long. + Canonicalize servername in the printer functions to remove leading '\\' characters. + Fix option processing in smbcacls - add POPT_COMMON_CONNECTION. + Fix bug creating files using DOS clients with mixed case files. + Fix uninitialized variable. + BUG 5616: Fix session keys also in rpccli_netr_LogonSamLogonEx wrapper. + BUG 5570: Fix bogus error message during AD domain join. + Fix trusted domain handling in Winbindd. + Fix build warning. + BUG 5202: Fix setting of ACEs for users/groups with write access in setups with 'dos filemode = yes'. + Re-activate 'acl group control' parameter and make it only apply to owning group. + Make ntimes function more like POSIX and allow NULL arg. + BUG 5512: Fix alignment problems on sparc. + BUG 5616: Fix share connections in setups with "server signing = mandatory" or SMB signing set on the client side. + Fix a race condition in Winbind leading to a crash. + Fix a segfault in base64_encode_data_blob. + Fix some uninitialized variable references via ndr_print. + Fix error message if trying to join with a non-privileged user. + Fix setups using "include = registry" without [global] settings in the registry. + Fix "net sam rights" on domain member servers. + Add documentation for the vfs streams modules. + Cleanup some duplicate code by passing the password to the wbinfo_auth* functions. + Allow SID with 0 in subauthority to be converted properly. + Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage. + Fix realpath() check so that it doesn't generate a core() when it fails. + Fix overwriting of winbind logfiles. + Fix "vfs_full_audit.c: name table not in sync with vfs.h" panic. + Add broadcasting of the debug message to all winbindd children. + BUG 5635: Fix updating of printer queues. + Release still reachable memory if the smbclient context is freed. + Remove trailing withespace from wbinfo -m which breaks gdm auth. + BUG 5540: Fix "set primary group script" user option substitution. + Fix regression in Winbindd offline mode. + Allow authentication and memory credential refresh after password change from gdm/xdm. + Allow %%u parameters for print job username. * Tue Jul 29 2008 anschneider@suse.de - Fix a race condition in winbind leading to a crash; (bnc#406623). * Mon Jul 28 2008 anschneider@suse.de - Use the configure option to enable debugging. This fixes the creation of the debuginfo and debugsource package. * Sun Jul 27 2008 anschneider@suse.de - Fix emptying the printing queue; (bnc#411493). * Fri Jul 25 2008 anschneider@suse.de - Remove trailing withespace from wbinfo -m which breaks gdm auth. * Thu Jul 24 2008 anschneider@suse.de - Add a recommendation to the samba and samba-winbind package to install logrotate for openSUSE 11.0 and later. * Wed Jul 23 2008 hare@suse.de - Include mkinitrd scriptlets. * Mon Jul 21 2008 boyang@suse.de - Allow %%u parameters for print job username - use advanced sub; (bnc#374389). * Thu Jul 17 2008 lmuelle@suse.de - Update to 3.0.31. + BUG 5504: Fix SIGTERM handling in Winbind children so that they do not remove the unix domain socket used to field client requests. + Split the winbindd_passdb backend into a 'builtin' and a 'sam' backend. + When allocating client buffers for large read/write - make sure we take account of the large read/write SMB headers as well as the buffer space. + Memory leak fixes in DC location code. + BUG 5533: Winbindd fails to cope correctly with a workgroup name containing a '.' + BUG 5555: Don't return NT_STATUS_PASSWORD_MUST_CHANGE error on machine account logon. + BUG 5551: smbd recursing back into winbindd from a winbindd call. + Fix usage message for "net rpc trustdom add". + Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd. + BUG 5578: Bad (non-Samba) use of strlcat gives error. + Canonicalize servername in the printer functions to remove leading '\\' characters. + Documentation build fixes. + [DOCS] Fix use of smbconfoption in samba.entities. + Return NULL in sitename_fetch() if gencache_init() fails. + Use machine account and machine password from our domain when contacting trusted domains. + SPNEGO SPN fix when contacting trusted domains. + BUG 5285: Fix libcap header mismatch. + Fix joining NT4 domains. + Don't let winbind getgroups crash when we have no gids in the token. + Fallback to level 24 pwd set while joining. + Fix joining w2k domains in "security = ads". + Fix pam_sm_chauthtok for storing modified cached creds. + BUG 5202: Re-activate "acl group control" parameter and make it only apply to owning group. + BUG 5531: Fix conversion of ns units when converting from nttime to timespec. + BUG 4974: Map NT_STATUS_OBJECT_PATH_NOT_FOUND to ENOENT in libsmbclient. + Fix a segfault in base64_encode_data_blob. + AIX build fixes. + ENODATA is not defined in freeBSD 4.6.2. + Don't reset password last set time just because the expired flag is set to 0. + Fix usage message for 'net idmap dump'. + Miscellaneous man page fixes. + BUG 4203: Samba3-HOWTO: Add improvements/fixes submitted by Pete Boyd. + Fixes to man pages. + Add tdb file documentation. + Ensure that winbindd trusted domain children keep primary domain online status up to date. + Update cached creds during password change. + Ensure that Winbind always uses set_domain_offline() to mark a domain offline. + Allow authentication and memory credential refresh after password change from gdm/xdm. + Memory leak fixes. * Tue Jul 08 2008 boyang@suse.de - Allow authentication and memory credential refresh after password change from gdm/xdm; [bnc#395578]. * Fri Jul 04 2008 lmuelle@suse.de - Add SMB_VFS_OP_RECVFILE to vfs_op_names to get it in sync with vfs.h. * Wed Jul 02 2008 lmuelle@suse.de - Call the libsmbclient testsuite from the %%check instead of the %%build script. * Wed Jul 02 2008 boyang@suse.de - Use machine account and machine password from our domain when contacting trusted domains; [bnc#404667]. * Tue Jul 01 2008 anschneider@suse.de - Add a %%check section move the test of the PAM modules to this section and add more tests. * Tue Jul 01 2008 anschneider@suse.de - Add a recommendation to the samba and samba-winbind package to install cron for openSUSE 11.0 and later. * Tue Jul 01 2008 anschneider@suse.de - Use a variable for syslog and add missing $remote_fs dependency for Require-Start in the init information of the init scripts. * Tue Jul 01 2008 lmuelle@suse.de - Update to 3.2.0. + Support for establishing interdomain trust relationships with Windows 2008. + All changes from the pre and rc releases as noted in here earlier. * Tue Jul 01 2008 lmuelle@suse.de - Move header files from the devel sub package to lib*-devel. * Mon Jun 30 2008 schwab@suse.de - Work around bad use of autoconf interna. * Mon Jun 30 2008 anschneider@suse.de - Build Samba with debug symbols to get working debuginfo packages. * Thu Jun 26 2008 lmuelle@suse.de - Add /etc/openldap to the file list and not only the schema directory. * Wed Jun 25 2008 anschneider@suse.de - Improve samba-winbindd and dhcpcd-hook-samba interface scripts for faster booting; [fate#304967], [fate#304965]. * Wed Jun 18 2008 anschneider@suse.de - Move sysconfig variable DHCLIENT_MODIFY_SMB_CONF from Other to 'Network/DHCP/DHCP client'; [bnc#400467]. * Wed Jun 11 2008 boyang@suse.de - pam_winbind: Update cached creds during password change; [bnc#395578]. * Tue Jun 10 2008 lmuelle@suse.de - Update to 3.2.0rc2. + BUG 5504: Fix behaviour of winbindd children receiving a SIGTERM. + BUG 5489: Split the winbindd_passdb backend into a 'builtin' and a 'sam'. + Make sure we take account of the large read/write SMB headers as well as the buffer space when allocating cli buffers for large read/write. + Fix tag as a goto target we were not reinitializing the array counts. + BUG 5451: Fix for using the correct machine domain when looking up trust credentials in our tdb. + Fix spnego SPN when contacting trusted domains. + BUG 5285: Fix libcap header mismatch. + Fix pam_sm_chauthtok for storing modified cached creds. + Fix joining issue in setups with "config backend = registry". + BUG 4544: Add new parameter 'ldap connection timeout' to prevent waiting for TCP connection timeouts if no LDAP server is available. + BUG 5502: Fix security=server. + Fix coverity IDs 552, 553, 570, 571, 572. + Shrink ldbtools. + Fix reset of password last set time just because the expired flag is set to 0. + Remove support for symbol versioning in shared libraries. + Fix autogen for autoconf 2.62. + BUG 5515: Fix empty input fields in SWAT. + BUG 5516: Fix saving of the config file in SWAT. + Fix winbindd trusted domain child not keeping primary domain online status up to date. * Tue Jun 10 2008 boyang@suse.de - pam_winbind: fix pam_sm_chauthtok for storing modified cached creds; [bnc#395578]. * Mon Jun 09 2008 jmcdonough@suse.de - Don't reset "password last set time" when unlocking an autolocked account; [bnc#382111]. * Fri Jun 06 2008 jmcdonough@suse.de - Fix winbind sigterm handling and make init script send sighup to all child winbind processes; [bnc#382027]. * Thu Jun 05 2008 boyang@suse.de - Fix bug with winbindd trusted domain child not keeping primary domain online status up to date, merge to trunk from reversion 1801; [bnc#373560]. * Fri May 30 2008 jmcdonough@suse.de - Make winbind children reopen logs on SIGHUP; [bnc#382027]. * Fri May 30 2008 lmuelle@suse.de - Set only CONFIGDIR and LIBDIR while make everything and install. No longer set CONFIGFILE, DRIVERFILE, LMHOSTSFILE, and SMB_PASSWD_FILE; [bnc#395877]. * Wed May 28 2008 lmuelle@suse.de - Update to 3.0.30. + Fix for CVE-2008-1105. + Remove man pages for ldb tools not included in Samba 3.0. * Wed May 28 2008 lmuelle@suse.de - Fix vulnerability that allows for the execution of arbitrary code in smbd; CVE-2008-1105; SA30228; [#391168]. * Tue May 27 2008 coolo@suse.de - Follow the rename of libtdb0 in baselibs.conf. * Fri May 23 2008 lmuelle@suse.de - Rename sub package libtdb0 to libtdb1. * Fri May 23 2008 lmuelle@suse.de - Update to 3.2.0rc1. + Move the posix pending close functionality down into the VFS layer. + Fix activation of registry globals in loadparm. + BUG 5452: Fix smbclient put. + BUG 5434: Ensure the loaded password doesn't contain the '\n' at the end. + BUG 5456: Fix missing echo if we ^C at the prompt. + BUG 5464: Fix timeout in winbindd. + Fix returning a directory value for a QPATHINFO on a msdfs link with a non-dfs path. + Use more error-prone form of testing dm_destroy_session() return code. + BUG 5453: Fix winbindd and smbd crash when dsgetdcname is used. + BUG 5465: Fix joining with createcomputer=ou1/ou2/ou3. + BUG 5461: Fix issue with Citrix on Samba DCs with more than 900 groups. + Fix wins null pointer crash in nss_wins module. + Fix lm session key length in _netr_LogonSamLogon. + Add -f switch for DsGetDCName() example and be more verbose on output. + BUG 5429: Clarify log msgs re: failure to create BUILTIN\{Administrators,Users} + Fix the DNS Update option of "net ads join". + BUG 5184: Add Missing HAVE_UPDWTMPX check before using updwtmpx(). + Recognize and allow longer UA keys in winbindd_cache. + BUG 5436: Fix signing problem in the client with transs requests. + Fix a valgrind bug in the new [ug]id2sid cache. + Fix Coverity IDs 565 and 222. + Fix dfs_Enum: In form_junctions, correctly check for malloc failure. + Add support for symbol versioning in shared libraries (can be disabled with --disable-sysmbol-versioning). + Add new function wbcLibraryDetails() to libwbclient. + Cleanup size_t return values in convert_string_allocate. + Fix Kerberos support for CUPS 1.3 in smbspool. + Fix printing with Vista. + Fix deletion of files when they're in use by other drivers. * Fri May 23 2008 lmuelle@suse.de - Update to 3.0.29. + Fix a crash in tdb_wrap_log(). + BUG 5267: Fix for nmbd termination problems when no interfaces found. + BUG 5326: OS/2 servers give strange "high word" replies for print jobs. + Remove MS-DFS check that required the target host be ourself. + BUG 5372: Fix high CPU usage of cupsd on large print servers by using more efficient CUPS queries in smbd. + BUG 5095: Fix the enforcement of the "Manage Documents" access right. + BUG 5460: Fix MS-DFS referral problem in server code. + Fix bug in Winbind that caused the parent to ignore dead children. + BUG 4235: Improve compliance to the Squid helper protocol. Original patch from Pawel Worach . + Prevent cycle in Wibind's list of children when reaping dead processes. + BUG 5419: Fix memory leak in ads_do_search_all_args() (merge from v3-2). + Fix winbind NETLOGON credential chain on a samba dc for w2k8 trusts. + Fix client connections and negotiation with Windows 2008 DCs in member server code. + Add NT_STATUS_DOWNGRADE_DETECTED error code (merge from v3-2). + BUG 5430: Fix pam_winbind.so on Solaris (requires -lsocket). + Re-add samr getdispinfoindex parsing which got lost in the glue commit. + BUG 5461: Implement a very basic _samr_GetDisplayEnumerationIndex(). Corrects interop problem between Citrix PM and a Samba DC. + BUG 3840: Fix smbclient connecting to NetApp filers when using whitespace in the user's password. + BUG 4901: Fix behavior of "ldap passwd sync = only". + BUG 5317: Fix debug output from domain_client_validate(). + BUG 5338: Fix format string bug in rpcclient. + Ensure that "wbinfo -a trusted\\user%%password" works correctly on a Samba DC with trusts. + BUG 5336: Fix SetUsetrInfo(level 25) to update the pwdLastSet attribute. + BUG 5350: Fallback to anonymous sessions if not trust password could be obtained on Samba DCs and member servers. + Fix signing problem in the client with trans requests. + Enable winbind child processes to do something with signals, in particular closing and reopening logs on SIGHUP. + Add implementation of machine-authenticated connection to netlogon pipe used when connecting to win2k and newer domain controllers. + Fix trusted users on a DC that uses the old idmap syntax. + Only have Winbind cache domain password policies that were successfully retrieved. + Fix alignment bug when marshalling printer data replies. + Fix DeleteDriverDriverEx() checks to prevent removing in use files. * Tue May 20 2008 hhetter@suse.de - Prevent errors during the cache validation when ua keys reach a size larger than 1024; [bnc#372558]. * Sat May 17 2008 lmuelle@suse.de - Expand baselibs.conf to match pre SUSE 11.0 products. * Fri May 16 2008 lmuelle@suse.de - Remove obsoletes and provides 3 for all packages and systems. * Fri May 16 2008 lmuelle@suse.de - Cleanup the use of the suse_version macro to achieve consistent defaults. * Fri May 16 2008 lmuelle@suse.de - Set CODEPAGEDIR while make to fit the install location. * Fri May 16 2008 hhetter@suse.de - Prevent errors during the cache validation when ua keys reach a size larger than 1024; [bnc#372558]. * Wed May 14 2008 lmuelle@suse.de - Package man page files independent of the used compression method (gz,lzma). * Wed May 14 2008 lmuelle@suse.de - Rewrite spec file to build packages for Fedora, Redhat, CentOS, and Mandriva in the OBS too. * Wed May 14 2008 anschneider@suse.de - Add a script to restart smbfs if NetworkMangaer gets an IP address; [bnc#373075]. * Tue May 13 2008 lmuelle@suse.de - Remove all references to the obsoleted samba-pdb package. * Fri May 09 2008 lmuelle@suse.de - Compose the BuildRequires in a more flexible way to fit the openSUSE build service (OBS) requirements to support different operating system targets. * Mon Apr 28 2008 lmuelle@suse.de - Use _libdir macro instead of a local define of LIBDIR. * Mon Apr 28 2008 lmuelle@suse.de - Remove PreReq /sbin/ldconfig from the libtdb-devel package. * Sat Apr 26 2008 lmuelle@suse.de - Install the shared libraries with the same name as used as soname. * Fri Apr 25 2008 lmuelle@suse.de - Update to 3.2.0pre3. + Use of IDL generated parsing layer for several DCE/RPC interfaces. + Removal of the 1024 byte limit on pathnames and 256 byte limit on filename components to honor the MAX_PATH setting from the host OS. + Introduction of a registry based configuration system. + Improved CIFS Unix Extensions support. + Experimental support for file serving clusters. + Support for IPv6 in the server, and client tools and libraries. + Support for storing alternate data streams in xattrs. + Encrypted SMB transport in client tools and libraries, and server. + Support for Vista clients authenticating via Kerberos. + Full support for Windows 2003 cross-forest, transitive trusts and one-way domain trusts. + Support for userPrincipalName logons via pam_winbind and NSS lookups. + Expansion of nested domain groups via NSS calls. + Support for Active Directory LDAP Signing policy. + New LGPL Winbind client library (libwbclient.so). + New NetApi library for domain join related queries (libnetapi.so) and example GTK+ Domain join gui. + New client and server support for remotely joining and unjoining Domains. + Support for joining into Windows 2008 domains. + New ldb backend for local group mapping tables + Raised level of security defaults for authentication operations. + Inclusion of an HTML version of the 3rd edition of "Using Samba" from O'Reilly Publishing. * Fri Apr 25 2008 lmuelle@suse.de - Add libtalloc1, libtdb0, and libwbclient0 to baselibs.conf. * Fri Apr 25 2008 lmuelle@suse.de - Remove obsoletes and provides samba3 for post 10.3 systems. * Fri Apr 25 2008 lmuelle@suse.de - Let libsmbsharemodes-devel require libsmbsharemodes0 for post 10.3 systems. * Wed Apr 23 2008 lmuelle@suse.de - Rename the libsmbsharemodes package to libsmbsharemodes0 to follow the shared library packaging policy for post 10.3 systems. * Tue Apr 22 2008 jmcdonough@suse.de - Update kdc dns-only lookup patch to IPv6. * Thu Apr 17 2008 lmuelle@suse.de - Move mount.cifs and umount.cifs from /sbin/ to /usr/sbin/ and create sym links in /sbin/; [bnc#380693]. * Thu Apr 17 2008 anschneider@suse.de - Enable the build of vfs_cacheprime and vfs_readahead modules. * Mon Apr 14 2008 lmuelle@suse.de - Update to 3.2.0pre2. + Add library for access to the registry configuration data. + BUG 5023: Separate NFS4 and POSIX ACL code in file access checks. + BUG 4308: Fix Excel save operation ACL bug. + BUG 4801: Correctly implement LSA lookup levels for LookupNames. + Add new option "debug class" to control printing of the debug class. + Enable building of the zfsacl and notify_fam vfs modules. + BUG 5083: Fix memleak in solarisacl module. + BUG 5063: Fix build on RHEL5. + New smb.conf parameter "config backend = registry" to enable registry only configuration. + Added support for IPv6 client and server connections. + Remove unused utilities: smbctool and rpctorture. + Fix service principal detection to match Windows Vista (based on work from Andreas Schneider). + Encrypted SMB transport in client tools and libraries, and server. + Added support for an SMB_CONF_PATH environment variable containing the path to smb.conf. + Various fixes to ntlm_auth. + Correctly handle mixed-case hostnames in NTLMv2 authentication. + Add Winbind client library. + Enhance client and server remote registry access. + Add client calls for remotely joining a computer to a domain (including calls from "net dom" command). + Add libnetapi.so library for joining domains including sample GTK+ app. + Fixes for Vista SP1 Kerberos authdata handling to only pickup the PAC. + Various fixes for DsGetDcName and conversion to IDL based structures. + Add ads_get_joinable_ous() to libads to get list of joinable ous. + Add get_logon_hours_from_pdb() to comply with new IDL based structures. + Migration of the entire client and server DCE/RPC code to IDL based structures and autogenerated code for DSSETUP, LSA, SAMR and NETLOGON. + Started migration of client and server DCE/RPC code to IDL based structures and autogenerated code for NTSSVC, SVCCTL and EVENTLOG. + Use IDL and autogenerated code for samlogoncache and Kerberos PAC handling. + Add remote join/unjoin server-side implementation. + Import the Linux red-black tree implementation. + Support for storing xattrs in tdb files. + Support for storing alternate data streams in xattrs. + Implement a generic in-memory cache based on rb-trees. + Speed up the smbclient "get" command. + Add the aio_fork module. + Modified libsmbclient API for more easily maintaining ABI compatibility while adding new features to libsmbclient. + Refactor Winbind internal parent-child interface tables to achieve better unit testing support. + Networking fixes to the libreplace library. + Add support for DNS Service Discovery. Based on work from Rishi Srivatsavai . + Don't restart winbind if a corrupted tdb is found during initialization. + Add share parameter "administrative share". + Improve error messages of net subcommands. + Add 'net rap file user'. + Change LDAP search filter to find machine accounts which are not located in the user suffix. + Remove smbmount. + BUG 5073: Allow "delete readonly = yes" to correctly override deletion of a file. + Register the smb service with mDNS if mDNS is supported. + Add smbclient support for basic mDNS browsing. + Fix padding between Winbind 32bit/64bit client library in the request/ response structures. + Added a syncops VFS module for file systems which do not guarantee meta-data operations are immediately committed to disk in stable form. + Additional portability support for building shared libraries. + Get Samba version or capability information from Windows user space. - Add new sub packages libnetapi0, libnetapi-devel, libtalloc1, libtalloc-devel, libtdb0, libtdb-devel, libwbclient0, libwbclient-devel. * Mon Apr 14 2008 anschneider@suse.de - Fix build with glibc 2.8. * Thu Apr 10 2008 ro@suse.de - Added baselibs.conf file to build xxbit packages for multilib support for post 10.3 systems. * Thu Apr 10 2008 boyang@suse.de - Only cache password policy results that worked, otherwise we cannot login until the cache expires even if a connection to a DC has been restored; [bnc#373552]. * Tue Apr 01 2008 mkoenig@suse.de - Remove dir /usr/share/omc/svcinfo.d as it is provided now by filesystem. * Tue Mar 11 2008 lmuelle@suse.de - Prevent tdb lock call getting interrupted by sig alarm; [bnc#364200]. * Mon Mar 10 2008 lmuelle@suse.de - Update to 3.0.28a. + Failure to join Windows 2008 domains. + Windows Vista (including SP1 RC) interop issues. * Tue Mar 04 2008 lmuelle@suse.de - Rename the libsmbclient package to libsmbclient0 to follow the shared library packaging policy and remove provides libsmbclient3 for post 10.3 systems. * Fri Feb 22 2008 anschneider@suse.de - Add variable to define if a share should be an administrative share; [bnc#358841]. * Mon Feb 18 2008 jjaimon@novell.com - Fix patch errors with dcerpc and idmap_global; [bnc#280452]. * Thu Feb 07 2008 jmcd@suse.de - Fix safe_strcpy error caused by duplicate domain name fix; [bnc#356025]. * Thu Feb 07 2008 anschneider@suse.de - Fix two memleaks if num_validated_vuids exceeds its maximum; [bnc#349581]. * Fri Jan 25 2008 jmcdonough@suse.de - Fix ACL inheritance; [bnc#351570]. * Wed Jan 23 2008 anschneider@suse.de - Fix a gcc 4.3 buffer overflow warning. * Wed Jan 09 2008 boyang@novell.com - Remove duplicate domain name prepend when user SID is in winbindd cache; [#336854]. * Tue Jan 08 2008 anschneider@suse.de - Prevent winbindd from segfaulting due to corrupted cache tdb on flushing caches; [#340332]. * Thu Dec 20 2007 anschneider@suse.de - Fix kerberos authentication with Vista; [#350032]. * Wed Dec 12 2007 jmcdonough@suse.de - Update to 3.0.28. + Fix send_mailslot overflow: CVE-2007-6015; [#343702]. * Wed Nov 28 2007 jmcdonough@suse.de - Additional cases and problems caused by fix for CVE-2007-4572; [#337823]. * Mon Nov 26 2007 jmcdonough@suse.de - Fix send_mailslot overflow: CVE-2007-6015; [#343702]. * Fri Nov 23 2007 hhetter@suse.de - Added default printing system information to README.vendor; [#113759]. * Fri Nov 16 2007 lmuelle@suse.de - Add missing define of AI_ADDRCONFIG for systems with older glibc versions. * Thu Nov 15 2007 lmuelle@suse.de - Update to 3.0.27. + Stack buffer overflow in nmbd's logon request processing; CVE-2007-4572; [#326261]. + Remote code execution in Samba's WINS server daemon (nmbd) whe processing name registration followed name query requests; CVE-2007-5398; [#337823]. * Thu Nov 15 2007 anschneider@suse.de - Change the spec file to get debug packages again. * Wed Nov 14 2007 jmcdonough@suse.de - Additional case for overflow: CVE-2007-4572; [#326261]. * Thu Nov 08 2007 jmcdonough@suse.de - Fix process_logon_packet overflow; CVE-2007-4572; [#326261]. * Wed Nov 07 2007 jmcdonough@suse.de - Fix reply_netbios_packet vulnerability; CVE-2007-5398; [#337823]. * Tue Oct 30 2007 jmcdonough@suse.de - Fix missing getpwent mutex unlock; [#329796], [#331754], [#336854]. * Tue Oct 30 2007 jmcdonough@suse.de - Fix the alignment of 32 and 64-bit winbind requests; [#331754]. * Fri Oct 12 2007 lmuelle@suse.de - Add dmapi-devel and xfsprogs-devel to the BuildRequires for post 10.0 systems; [#289599], fate [#302668]. * Tue Oct 09 2007 anschneider@suse.de - Fix possible segfault in winbind which could be caused by uninitialized variables; [#253862c223]. * Fri Oct 05 2007 jmcdonough@suse.de - Use FQDN in KDC DNS lookup; [#295284]. * Wed Oct 03 2007 lmuelle@suse.de - Update to 3.2.0pre1. + Use of IDL generated parsing layer for several DCE/RPC interfaces. + Removal of the 1024 byte limit on pathnames and 256 byte limit on filename components to honor the MAX_PATH setting from the host OS. + Introduction of a registry based configuration system. + Improved CIFS Unix Extensions support. + Experimental support for file serving clusters. + Full support for Windows 2003 cross-forest, transitive trusts and one-way domain trusts + Support for userPrincipalName logons via pam_winbind and NSS lookups. + Support in pam_winbind for logging on using the userPrincipalName. + Expansion of nested domain groups via NSS calls. + Support for Active Directory LDAP Signing policy. + New ldb backend for local group mapping tables + Raised level of security defaults for authentication operations. + Inclusion of an HTLM version of the 3rd edition of "Using Samba" from O'Reilly Publishing. - Update samba-vscan to 0.3.6c-beta5. - Disable dcerpc-funnel and idmap_ad-Global_Catalog as both currently don't apply to Samba 3.2. * Wed Oct 03 2007 jmcdonough@suse.de - Make nss_winbind thread-safe; [#293907, #329796]. * Wed Oct 03 2007 jmcdonough@suse.de - Perform KDC lookup using DNS only; [#295284]. * Wed Sep 26 2007 anschneider@suse.de - Handle smb child crash; [#294895]. * Wed Sep 26 2007 lmuelle@suse.de - Add a global lock inside nss_winbind as workaround; [#293907]. * Thu Sep 20 2007 lmuelle@suse.de - Merge ranged retrieval optimization to winbindd. * Wed Sep 19 2007 lmuelle@suse.de - Update to 3.0.26a. + Memory leaks in Winbind's IDMap manager. - Update to 3.0.26. + Incorrect primary group assignment for domain users using the rfc2307 or sfu winbind nss info plugin; CVE-2007-4138; [#307623]. * Fri Sep 07 2007 lmuelle@suse.de - Fix two memleaks in idmap_cache.c; bso [#4917]. - Correct failure of libsmbclient against a version of Windows. - Make read_sock return the total number of bytes read instead. - Fix error in enum_dom_groups. - Fix logic error in timeout of blocking lock processing. - Add parameter "directory name cache size". - Fix use of pwrite in tdb code. * Thu Aug 30 2007 lmuelle@suse.de - Also ensure to initialize ip_srv_site and count_site even if we are not on site; [#230963#c124]. - Use an off site DC if we're not online and talking to the KDC of our domain; [#230963#c106]. * Wed Aug 22 2007 anschneider@suse.de - Fix a bug where samba writes the wrong default value of max_passwd_expire to an LDAP server; [#298469]. * Tue Aug 21 2007 lmuelle@suse.de - Fix if statements where we still expected cli_connect() to return BOOL. * Tue Aug 21 2007 lmuelle@suse.de - Update to 3.0.25c. + File sharing with Widows 9x clients. + Winbind running out of file descriptors due to stalled child processes. + MS-DFS inter-operability issues. * Tue Jul 24 2007 anschneider@suse.de - Update the cache tdb validation patch which improves the backup handling trying to end up with a useable cache tdb. This applies mostly to the situation that disk space is short; [#256166c82]. * Thu Jul 19 2007 anschneider@suse.de - Update the cache tdb validation patch to support backup and corrupted file handling; [#256166c77]. * Wed Jul 11 2007 anschneider@suse.de - Fix a bug that causes smbd to 'hang' intermittently; [#289599]. * Tue Jul 10 2007 lmuelle@suse.de - Fix event based krb5 ticket refreshing in winbindd. * Fri Jul 06 2007 lmuelle@suse.de - Limit the LDAP expression in lookup_usergroups_member() to security groups; [253862c209]. * Fri Jul 06 2007 lmuelle@suse.de - Don't reset the num_names counter in lookup_groupmem(); [253862c198]. * Wed Jul 04 2007 anschneider@suse.de - Make the days before the password expiry warning appears configurable in pam_winbind.conf; [#287871]. * Tue Jul 03 2007 schwab@suse.de - Don't link shared libraries of vscan with -pie. * Fri Jun 29 2007 lmuelle@suse.de - Increase LOOKUP_SIDS_HUNK_SIZE for rpccli_lsa_lookup_sids_all() from 1000 to 20480; [#253862c175]. * Wed Jun 27 2007 lmuelle@suse.de - Update to 3.0.25b. + Offline caching of files with Windows XP/Vista clients. + Improper cleanup of expired or invalid byte range locks on files. + Crashes is idmap_ldap and idmap_rid. * Sat Jun 23 2007 lmuelle@suse.de - Fix reply when no dfs share is configured. - Fix the DFS code to work with Vista clients; [#286937]. * Fri Jun 22 2007 lmuelle@suse.de - Migrate old if-up/down scripts to new names on update; [#283706, #285187]. * Tue Jun 19 2007 anschneider@suse.de - Introduced prefix numbering of if-up/down scripts that they get executed in the right order; [#283706, #285187]. * Tue Jun 19 2007 anschneider@suse.de - Restart nscd on winbind update to load the new libnss_winbind.so.2 library. This will not resolve every problem with nss modules; [#174589c88]. * Mon Jun 18 2007 anschneider@suse.de - Fix winbind segfaults with idmap_rid; bso [#4624]. * Thu Jun 07 2007 lmuelle@suse.de - Add missed 'c' character to the list of valid ones in escape_shell_string(); [#273611]. * Fri Jun 01 2007 lmuelle@suse.de - Let lookup_groupmem() only resolve not yet cached SIDs; [#253862c106]. * Thu May 31 2007 lmuelle@suse.de - Remove superfluous requires to samba from the devel package. * Wed May 30 2007 lmuelle@suse.de - Ensure the returned structure size from _samr_query_dispinfo() is smaller than the total size; [#203833]. * Sat May 26 2007 lmuelle@suse.de - Remove 'unset CONFIGURE_OPTIONS' in front of the configure call to vscan. - Install header files with 0644 instead of 0755 permissions. - Enable build of the python package. * Fri May 25 2007 anschneider@suse.de - Branch a samba-devel package for post 10.2 systems. - Install .a library files with 0644 instead of 0755 permissions. * Fri May 25 2007 lmuelle@suse.de - Update to 3.0.25a. + Missing supplementary Unix group membership when using "force·group". + Premature expiration of domain user passwords when using a·Samba domain controller. + Failure to open the Windows object picker against a server configured to use "security = domain". + Authentication failures when using security = server. * Thu May 24 2007 lmuelle@suse.de - Add %%dir /usr/share/samba to the client package. - Remove samba-classic{,-client}, samba-ldap{,-client}, sambaxp{,-client}, and smbclnt from Provides and Obsoletes of the main or client package. * Thu May 24 2007 stbinner@suse.de - Add /sbin/ldconfig to %%post and %%postun of libsmbsharemode. * Wed May 23 2007 lmuelle@suse.de - Update samba-vscan to 0.3.6c-beta4. * Wed May 23 2007 anschneider@suse.de - In some cases PRS_ALLOC_MEM was called with zero count; [#273613]; bso [#4637]. * Wed May 23 2007 hhetter@suse.de - Enhance the patch to the ads version of lookup_groupmem(); [#253862c89]. * Mon May 21 2007 lmuelle@suse.de - Don't use current_user to prep the security ctx in change_to_user(); [#273613]. * Mon May 21 2007 lmuelle@suse.de - Prevent winbindd segfaulting due to corrupted cache tdb; [#256166]. * Sat May 19 2007 lmuelle@suse.de - Use WORKGROUP instead of TUX-NET as default workgroup setting in smb.conf. * Fri May 18 2007 lmuelle@suse.de - No longer check in the pre package scripts if swat or winbindd of version 2.2 are updated; [#273160]. * Mon May 14 2007 lmuelle@suse.de - Update to 3.0.25. + Significant improvements in the winbind off-line logon support. + Support for secure DDNS updates as part of the 'net ads join'·process. + Rewritten IdMap interface which allows for TTL based caching and·per domain backends. + New plug-in interface for the "winbind nss info" parameter. + New file change notify subsystem which is able to make use of·inotify on Linux. + Support for passing Windows security descriptors to a VFS·plug-in allowing for multiple Unix ACL implements to running side·by side on the Same server. + Improved compatibility with Windows Vista clients including·improved read performance with Linux servers. + Man pages for IdMap and VFS plug-ins. + Security Fixes CVE-2007-2444, CVE-2007-2446, and CVE-2007-2447. - Disable build of the python package. * Fri May 11 2007 lmuelle@suse.de - Fix heap overflows to prevent remote code execution; CVE-2007-2446; [#273613]. - Fix remote command injection vulnerability; CVE-2007-2447; [#273611]. * Tue May 08 2007 lmuelle@suse.de - Remove obsolete samba-pdb package and required packages from BuildRequires for post 10.2 systems. * Mon May 07 2007 lmuelle@suse.de - Remove X-UnitedLinux- prefix from init scripts for post 9.0 systems. * Mon May 07 2007 lmuelle@suse.de - Remove requires on release from devel packages. * Thu May 03 2007 lmuelle@suse.de - Reduces the number of queries made to the DC in the ads version of lookup_groupmem(); [#253862]. * Thu May 03 2007 lmuelle@suse.de - Allow winbindd to take local shortcut on secondary DCs in case dce funnel directory is set; [#266853]. * Wed May 02 2007 lmuelle@suse.de - Really remove Should-Start smb in smbfs init script; [#242918]. * Wed Apr 25 2007 lmuelle@suse.de - Disable 'msdfs root' by default again; [#268004]. * Fri Apr 20 2007 lmuelle@suse.de - Build libsmbsharemodes and create libsmbsharemodes and corresponding devel package; [#264623]. * Fri Apr 20 2007 lmuelle@suse.de - Let idmap_ad search in the Global Catalog in case dce funnel directory is set; [#266049]. * Tue Apr 17 2007 lmuelle@suse.de - Allow share names with a lengths greater than 32 chars; bso [#4512]. * Tue Apr 17 2007 lmuelle@suse.de - Check the euid and call become_root() to get write access to dump a core. * Tue Apr 17 2007 lmuelle@suse.de - Add pwdutils BuildRequires for post 10.2 systems. * Mon Apr 16 2007 lmuelle@suse.de - Do not restart winbindd under any if-up circumstances; [#227942]. * Fri Apr 13 2007 lmuelle@suse.de - Replace unneeded become_root_uid_only() by refactored become_root(); CVE-2007-2444; [#262090]. * Tue Apr 03 2007 lmuelle@suse.de - Add repository version and branch to the spec file via build-source-timestamp mechanism. * Tue Apr 03 2007 lmuelle@suse.de - Allow applications to set the share mode while opening a file using libsmbclient; bso [#3684]; [#203737]. * Thu Mar 29 2007 lmuelle@suse.de - Fix for fd leak on error path in winbindd; bso [#3204], [#258737]. * Mon Mar 26 2007 rguenther@suse.de - Add gdbm-devel BuildRequires for post 10.2 systems. * Mon Mar 26 2007 lmuelle@suse.de - Remove setlocale(LC_ALL, "C") calls; bso [#2926], [#247728]. * Sat Mar 17 2007 lmuelle@suse.de - Fix segfault and memleak in wb_lookup_rids(); bso [#4434]. * Mon Mar 05 2007 lmuelle@suse.de - Fixes a known bottleneck under very high load situations; [#247984]. * Mon Feb 26 2007 gd@suse.de - Avoid passdb builtin group membership calls in the DCERPC funnel patch; [#248556]. * Fri Feb 23 2007 lmuelle@suse.de - Allow pre 3.0.23 multi passdb backend configurations to work with post 3.0.22 by using the first backend only; [#245167]. * Thu Feb 22 2007 gd@suse.de - Prevent nscd crash in NSS winbind initgroups(); [#237719]. - Fix pam_winbind cached login for samba/NT4 domains; bso [#4225]. - Various pam_winbind fixes; bso [#4094, #4288]. - Fix DCERPC funnel patch; [#245278]. - Fix vista and share level security. - Fix vista variable expansion; bso [#4093]. - Fix vista DFS support; bso [#4356]. - Fix vista backup tool; bso [#4361]. - Fix vista deletion on shares; bso [#4188]. - Fix vista spoolss problems. * Tue Feb 13 2007 gd@suse.de - Fix crash bug in rpc_pipe_bind(); [#244892]. * Fri Feb 09 2007 lmuelle@suse.de - Enable DCERPC funnel patch. * Fri Feb 09 2007 gd@suse.de - Fix accumulation of expired LDAP connections when winbind in ads mode; bso [#4009]. * Wed Feb 07 2007 gd@suse.de - Fix all lp_dce_funnel_directory() callers; [#242833]. * Wed Feb 07 2007 lmuelle@suse.de - Disable broken DCERPC funnel patch; [#242833]. * Mon Feb 05 2007 lmuelle@suse.de - Update to 3.0.24. + Potential Denial of Service bug in smbd; CVE-2007-0452; [#240265]. * Thu Feb 01 2007 lmuelle@suse.de - Fix logic error in the deferred open code; CVE-2007-0452; [#240265]. * Thu Feb 01 2007 gd@suse.de - Avoid winbind event handler for internal domains. * Tue Jan 30 2007 gd@suse.de - Fix smbcontrol winbind offline; [#223418]. - Fail on offline pwd change attempts; [#223501]. - Register check_dom_handler when coming from offline mode. - Fix pam_winbind passwd changes in online mode. - Call set_domain_online in init_domain_list(). - Winbind cleanup after failure and fix crash bug. - Don't register check domain handler for all trusts. - Add separate logfile for dc-connect wb child. - Only write custom krb5 conf for own domain. - Move check domain handler to fork_domain_child. * Fri Jan 26 2007 gd@suse.de - Fix pam_winbind text string typo; [#238496]. - Support sites without DCs (automatic site coverage); [#219793]. - Fix invalid krb5 cred cache deletion; [#227782]. - Fix invalid warning in the PAM session close; - Fix DC queries for all DCs; [#230963]. - Fix sitename usage depending on realm; [#195354]. * Wed Jan 24 2007 gd@suse.de - Add DCERPC funnel patch; fate [#300768]. * Mon Jan 22 2007 gd@suse.de - Fix pam password change with w2k DCs; [#237281]. * Thu Jan 18 2007 lmuelle@suse.de - Check from the init script for SAMBA__ENV variable expected to be set in /etc/sysconfig/samba to export a particular environment variable before starting a daemon. See section 'Setup a particular environment for a Samba daemon' from the README file how this feature is to use. * Mon Jan 15 2007 lmuelle@suse.de - Remove %%config tag from /usr/share/omc/svcinfo.d/*.xml files. * Thu Jan 11 2007 gd@suse.de - Fix pam_winbind grace offline logins; [#223501]. - Fix password expiry message; [#231583]. * Thu Jan 11 2007 lmuelle@suse.de - Move XML service description documents; fate [#301712]. * Wed Jan 10 2007 lmuelle@suse.de - Disable smbmnt, smbmount, and smbumount for systems newer than 10.1. * Tue Jan 09 2007 lmuelle@suse.de - Add XML service description documents; fate [#301712]. * Thu Jan 04 2007 lmuelle@suse.de - Move tdb utils to the client package. * Thu Dec 14 2006 jeallison@novell.com - Fix crash caused by deleting a message dispatch handler from inside the handler itself; [#221709]. * Fri Dec 08 2006 jeallison@novell.com - Fix delays in winbindd access when on a non-home network; [#222595]. * Thu Nov 23 2006 jeallison@novell.com - Fix client-side smb signing; [#222951]. - Fix imcomplete merge for firefox NTLM handling; [#198255]. * Mon Nov 20 2006 lmuelle@suse.de - Add IA64 and x64 printer drivers directory. * Thu Nov 16 2006 lmuelle@suse.de - Update to 3.0.23d. + Stability fixes for winbindd. * Fri Nov 03 2006 gd@suse.de - Fix ldapsmb group and unicode issues; [#143417, #216606]. - Fix net ads account management; [#217046]. - Fix libnscd usage in passdb; [#217363]. - Add the "mega patch" + Add site support for winbind; [#195354], fate [#300909]. + Add site support for net; [#211281], fate [#300909]. + Fix winbind krb5 ticket handling from offline; [#178028]. + Fix "net ads leave"; [#196771]. + Fix winbind username case handling; [#184902]. + Fix winbind name canonicalisation; [#210174]. + Fix winbind online/offline handling; [#196859]. + Add NTLM cached credential handling for firefox; [#198255], fate [#300973]. + Fix winbind groupmembership handling; [#211324]. + Fix winbind site-support handling on reconnect; [#195354]. + Fix winbind child initialization and online/offline handling; [#196859]. + Fix winbind cached credential storage; [#185053]. + Fix winbind long login delays; [#184450]. + Fix winbind crash for new AD user; [#208454]. * Thu Oct 26 2006 gd@suse.de - Fix pam_winbind overriding syslog settings; [#201756]. - Fix profilepath pam_set_data for other PAM modules; [#215707]. * Mon Oct 23 2006 gd@suse.de - Fix timeout handling for winbindd (samr, netlogon). - Fix gencache access; [#209409, #211281]. - Fix libsmbclient accessing NetApp; bso [#4018]. - Fix error handling in ads printer code; [#209409]. - Fix passwd pam segfault; [#211719]. - Fix crash in winbind async child. - Fix winbind failure mode for trusted domains. * Fri Oct 20 2006 jeallison@novell.com - Add realm to username if missing in net ads join; [#211706]. * Thu Oct 19 2006 lmuelle@suse.de - Move the LOCKDIR to the client sub package. * Thu Oct 12 2006 lmuelle@suse.de - Activate the libaddns. * Thu Sep 28 2006 lmuelle@suse.de - Add version of the package subversion to Samba vendor version suffix. * Fri Sep 01 2006 lmuelle@suse.de - Update to 3.0.23c. + Authentication failures in pam_winbind when the AD domain policy is set to not expire passwords. + Authorization failures when using smb.conf options such as "valid users" with the smbpasswd passdb backend. * Thu Aug 24 2006 jeallison@novell.com - Fix time value reporting in libsmbclient; [#195285]. * Tue Aug 15 2006 ro@suse.de - Remove update-messages. * Tue Aug 08 2006 jeallison@novell.com - Store and restore NT hashes as string compatible values; [#185053]. * Tue Aug 08 2006 jeallison@novell.com - Added winbindd null sid fix; [#185053]. * Tue Aug 08 2006 lmuelle@suse.de - Update to 3.0.23b. + Ambiguity with unqualified names in smb.conf parameters such as "force user" and "valid users". + Errors in 'net ads join' caused by bad IP address in the list of domain controllers. + SMB signing errors in the client and server code. + Domain join failures when using smbpasswd on a Samba PDC. * Wed Jul 26 2006 lmuelle@suse.de - Fix from Alison Winters of SGI to build even if make_vscan is 0. * Sat Jul 22 2006 lmuelle@suse.de - Update to 3.0.23a. + Failure to strip the domain name from groups when 'winbind use default domain = yes' + Bad token creation of local users on member servers not running winbindd. + Failure to add users or groups to ACLs using the Windows object picker. + Failure in file serving code when 'kernel oplocks = yes'. + New "createupn" option to "net ads join" + Rewritten Kerberos keytab generation when 'use kerberos keytab = yes' * Tue Jul 18 2006 lmuelle@suse.de - Replace vendor-files/tools/dlopen.sh by test_pam_modules make rule. * Tue Jul 18 2006 lmuelle@suse.de - Fix pam config file parsing in pam_winbind; bso [#3916]. * Mon Jul 10 2006 lmuelle@suse.de - Update to 3.0.23. + Improved 'make test' + New offline mode in winbindd. + New Kerberos support for pam_winbind.so. + New handling of unmapped users and groups. + New non-root share management tools. + Improved support for local and BUILTIN groups. * Fri Jul 07 2006 gd@suse.de - Prevent potential crash in winbindd's credential cache handling; [#184450]. * Thu Jul 06 2006 lmuelle@suse.de - Fix memory exhaustion DoS; CVE-2006-3403; [#190468]. * Sun Jul 02 2006 jeallison@novell.com - Fix the munlock call, samba.org svn rev r16755 from Volker. * Sat Jul 01 2006 jeallison@novell.com - Change the kerberos principal for LDAP authentication to netbios-name$@realm from host/name@realm; [#184450]. * Tue Jun 27 2006 lmuelle@suse.de - Ensure to link all required libraries to libnss_wins; [#184306]. * Sat Jun 24 2006 lmuelle@suse.de - Update to 3.0.23rc3. + Warnings from the Klocwork code analyzer. + Various portability bugs on AIX, Solaris, and True64. + Authorization problems when managing services. + Problems joining Windows clients to a Samba/LDAP domain. * Wed Jun 21 2006 jeallison@novell.com - Change log level of debug message to avaoid flodded nmbd log; [#157623]. * Mon Jun 19 2006 lmuelle@suse.de - Add 'usershare allow guests = Yes' to the default config; [#144787]. * Fri Jun 16 2006 schwab@suse.de - Fix syntax error in configure script. * Thu Jun 15 2006 gd@suse.de - Add CHANGEPW kpasswd fallback to TCP; [#184945]. * Tue Jun 13 2006 lmuelle@suse.de - Update to 3.0.23rc2. + Winbindd & Samba PDC integration issues. + Join problems from Windows clients in a Samba domain. + Winbind & AD trust failures. * Fri Jun 09 2006 lmuelle@suse.de - Remove VFS examples; [#182117]. * Fri Jun 09 2006 gd@suse.de - Honour 'sn' attribute for eDir; [#176799]. * Thu Jun 08 2006 lmuelle@suse.de - Adapt smbclient fix to smbtree to enable long share names; [#175999]. - Make smbclient -L use RPC to list shares, fall back to RAP; [#171311]. * Wed Jun 07 2006 gd@suse.de - Re-add in-forest domain trusts; [bso #3823]. * Thu Jun 01 2006 lmuelle@suse.de - Remove SO_SNDBUF and SO_RCVBUF from socket options example; [#165723]. * Wed May 31 2006 gd@suse.de - Add wbinfo --own-domain; [#167344]. - Fix usability of pam_winbind on a Samba PDC; [bso #3800]. * Tue May 30 2006 lmuelle@suse.de - Remove intrusive affinity patches for winbindd. * Sun May 28 2006 jeallison@novell.com - Merge Volker's winbindd crash fix for half-opened connections in winbindd_cm.c (sessionsetup succeeded but tconX failed). * Thu May 25 2006 lmuelle@suse.de - Update to 3.0.23rc1. + Winbind IDMAP integration with RFC2307 schema objects supported by Windows 2003 R2. + Rewritten 'net ads join' to mimic Windows XP without requiring administrative rights to join a domain. * Mon May 22 2006 lmuelle@suse.de - Optimize lookup of user's group memberships via ExtendedDn LDAP control; [#168100]. - Restart winbind if the hostname is modified by the DHCP client; [#169260]. - Set the groups membership first whilst we're still root and use execve() instead of execv() in get_printing_ticket; [#177114]. - Add samba-krb-printing sub package with get_printing_ticket wrapper binary; [#149698]. * Tue May 16 2006 gd@suse.de - Prevent passwords beeing swapped to disc; [#174834]. - Remove length limit from winbind cache cleanup function; [#175737]. - Fix NDS_ldapsam memory leak. - Only add password to linked list when necessary. - Don't try cached credentials when changing passwords. - Cleanup winbind linked list of credential caches. - Use the index objectCategory attribute in AD LDAP requests. - Adjust AD time difference when validating tickets. - Add password change warning for passwords beeing too young. - Remove experimental Heimdal KCM support. * Mon May 08 2006 lmuelle@suse.de - Added "usershare allow guests" global parameter; [#144787]. * Thu May 04 2006 gd@suse.de - Return domain name in samrquerydominfo 5; [#172756]. * Tue May 02 2006 gd@suse.de - Fix unauthorized access when logging in with pam_winbind; [#156385]. * Thu Apr 27 2006 lmuelle@suse.de - Don't ever set O_SYNC on open unless "strict sync = yes"; [#165431]. * Mon Apr 24 2006 gd@suse.de - Correct fix to exit from "net" with an inproper configuration; [#163227], [#182749]. - Robustness fixes for winbind; [#167952]. - Fix build of own iniparser copy. * Sun Apr 23 2006 lmuelle@suse.de - Update to 3.0.23pre1. * Sat Apr 15 2006 lmuelle@suse.de - Exit from the net command with an error if Samba is not configured for the required role; [#163227]. - Add portability issue fixes between 32-bit winbind clients and a 64-bit winbindd server. - Install pam_winbind.conf to /etc/security and add it with %%config(noreplace) to the samba-winbind sub package. - Add fix to the vscan antivir module to circumvent longer startup times of the antivir scanner process. * Wed Apr 12 2006 gd@suse.de - Use iniparser for pam_winbind. * Mon Apr 03 2006 lmuelle@suse.de - Allow testparm to dump a paramatrical option. - Update to 3.0.22; CVE-2006-1059; [#161778]. * Fri Mar 31 2006 gd@suse.de - Don't assume account objectclass for eDir; [#160169]. * Wed Mar 29 2006 gd@suse.de - Only send CLDAP request to an connect AD DC; [#159684]. - Invalidate krb5 credential cache when pam_auth has failed; [#161018]. * Tue Mar 28 2006 lmuelle@suse.de - Enhance comment for the 'cups options = raw' line; [#160720]. * Thu Mar 23 2006 gd@suse.de - Align pam_winbind patch with upstream version. * Tue Mar 21 2006 jeallison@novell.com - Fix oplock logic bug under heavy load; [#159626]. * Mon Mar 20 2006 gd@suse.de - Flush nscd cache also on winbindd startup; [#137793]. - Remove paranoia check for empty acct_flags to support NT4 and older Samba 3 DCs; [#149477]. - Skip superfluous keytab-iteration; [#154951]. - Avoid fallback to samlogon after password failure; [#158717]. - Fix empty domain name in NSS calls; [#154954]. * Wed Mar 15 2006 lmuelle@suse.de - Call make proto instead of pch for pre 10.0 systems. - Use 0750 as default permissions for /var/log/samba as the log files are created with 0644. - Add libnscd-devel to BuildRequires for post 9.1 systems. * Tue Mar 14 2006 jeallison@novell.com - Fix Coverity bug missing return on error case in usershare code. Samba.org svn rev 14019. * Mon Mar 13 2006 gd@suse.de - Correctly flush nscd caches when winbindd comes (back) online; [#137793]. - Fix ldapsmb handling of quoted strings in smb.conf; [#153756]. * Thu Mar 09 2006 gd@suse.de - Fix LDAP replication sleep handling for search requests; [#118378]. * Tue Mar 07 2006 lmuelle@suse.de - Use dlopen.sh to test that every module we just built can actually be loaded by a minimal PAM-aware application. - Link pam_smbpass with the required object files; bso [#3565]. * Wed Mar 01 2006 lmuelle@suse.de - Fix case where a non existing tdb let smbpasswd -a core dump. - Use make everything only to build the same result. - Call proto_exists before we create the precompiled headers (pch). - Set LC_ALL, LC_CTYPE, and LANG from /etc/sysconfig/language before we start smbd and unset it afterwards; [#105322]. - Fix message handling with smbcontrol; [#153699]. - Build and install mount.cifs and umount.cifs as part of the main Makefile. - Define 'symbols' heimdal if we build on a system older than 9.1. Else the heimdal specific patches are not applied. - Start nmbd in /etc/sysconfig/network/scripts/samba-winbindd if the service is enabled before we switch winbindd online. * Fri Feb 24 2006 lmuelle@suse.de - Only use absolute paths for the targets of sym links. - Add a comment to the smbusers file that we are not using it in our default configuration; [#153370]. - Update to final 3.0.21c. - Properly shutdown winbindd with invalid configuration; [#153074]. - Never overwrite the acct_flags in rpccli_netlogon_sam_network_logon; [#149477]. - Fix usage of DESTDIR while calling make install; bso [#3282]. - Allow to rename workstations in a Samba Domain; [#140877], bso [#2331]. - Honour workgroup when parsing smb-uris correctly; [#152821]. - Simplify fillup_and_insserv call in the %%post of the client package for post 10.0 systems. - Fix net usershare info core dump; [#150870]. - Reorder Prereq lines and add missing binaries. - Run /sbin/ldconfig from %%post and %%postun if the package contains a lib; also replace any %%run_ldconfig by /sbin/ldconfig; add PreReq /sbin/ldconfig. * Mon Feb 20 2006 lmuelle@suse.de - Update to 3.0.21c from svn.Samba.org SAMBA_3_0_RELEASE tree. * Thu Feb 16 2006 lmuelle@suse.de - Replace swat-welcome.diff by the upstream version; [#63160], bso [#2278]. - Replace pdbedit-pw-stdin.diff by the upstream version; bso [#1386]. - Add winbind offline config template; fate [#300457]. - Enhance return codes of net usershare; [#150870]. - Don't let lp_load() overwrite configuration settings; [#149682]. - Fix winbindd getpwnam behaviour for pam_winbind; [#149021]. - Replace nss-soname.diff by the upstream version; bso [#3381]. - Move libnss_wins into the client package. - Fix pam_winbind Kerberos/NTLM fallback; [#149477]. - Update eDirectory LDAP schema for account policies; [#149470]. - Fix login password expiry handling in pam_winbind; [#149462]. * Tue Feb 14 2006 gd@suse.de - Send correct workstation name to prevent NT_STATUS_INVALID_WORKSTATION beeing returned in samlogon; [#148645], [#161051]. * Wed Feb 08 2006 aj@suse.de - Remove openafs requirement. * Tue Feb 07 2006 lmuelle@suse.de - Add Requires kerberos devel package to libsmbclient-devel; [#148579]. - Add Requires of the main lib packages to the libsmbclient and libmsrps devel packages. - Add missing documentation to testparm man page.. * Mon Feb 06 2006 lmuelle@suse.de - Remove /var/spool/samba from the filelist. - No longer ignore NetworkManager controlled interfaces in dhcpcd-hook-samba. - No longer call netbios_setup() if we source dhcpcd-hook-samba-functions. * Thu Feb 02 2006 lmuelle@suse.de - Add missing \ to the dhcpcd-hook-samba-functions. - Change password character to '*' in NSS replies. - Fix online/offline message handling for winbindd. - Only do anything while calling the helper script samba-winbindd if "winbind offline logon" is "Yes". - Starting nmbd with helper script samba-winbindd if we are going online and service nmb is activated. - Package network interface scripts as %%ghost and only create the sym links on the initial install. - Update to final 3.0.21b. - Always use a local copy of guards (patches/tools/guards) instead of depending to the quilt package at build time. - Install any section of the default smb.conf as separate file packaged in /usr/share/samba/templates/default-* into the client package. - Append product version string to SAMBA_VERSION_VENDOR_SUFFIX. - Add new feature to allow winbindd online offline state to be controlled by smbcontrol; [#147249]. - Add -k switch to tdbdump to dump the data of a single key; [#133453]. * Thu Jan 26 2006 lmuelle@suse.de - Add --all-domains switch to wbinfo. - Update to 3.0.21b from svn.Samba.org SAMBA_3_0_RELEASE tree. - Add script to trigger winbindd on- or offline mode. - By default only allow to share directories owned by the user; [#144787]. - Add more verbose error message if usershares aren't activated; [#145299]. - Remove /var/lib/samba/usershares/ from the filelist; [#144013]. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 20 2006 lmuelle@suse.de - Add %%w macro to be replaced by the winbind separator. - Add a desktop smb.conf as template to the client package. - Run SuSEconfig --module permissions if the package is not installed with YaST and we have a /etc/permissions.d/samba-usershares file. - Add /etc/permissions.d/samba-usershares as %%ghost to the filelist. - Set %%verify(not group mode), root:users and 01700 as default for the default usershare path, /var/lib/samba/usershares/. - It turns out krb5_kt_get_entry() on MIT does an implicit open/read/close and blows away an open keytab handle - so make sure we use a new handle; bso [#3421]. - Ensure net usershare add uses an absolute path; [#143777]. - Use stderr for error messages of the net command. - Ensure to rewind rem_backend if we have to workaround an old configuration. Else winbindd might seg fault. - Fix crash bug in the idmap winbindd child. - Add PAM conversation for disallowed password change. * Sat Jan 14 2006 lmuelle@suse.de - Remove idmap_ prefix from any idmap backend config setting; bso [#3264]. - Add net usershare command to manipulate user shares from trunk of samba.org. - Align suse/samba3-pam_winbind patch with trunk of samba.org. - Fix segfault in "net rpc vampire|samdump"; bso [#3390]. * Mon Jan 09 2006 jeallison@novell.com - Don't assume owning sticky bit directory means write access allowed; bso [#3348]. * Wed Jan 04 2006 lmuelle@suse.de - Create the precompiled headers with exactly the same flags as the binaries. - Allow to rename machine accounts. Fixed crash against eDirectory; [#140877]. * Tue Jan 03 2006 lmuelle@suse.de - Add 'winbind refresh tickets' parameter; [#140962]. * Sun Jan 01 2006 lmuelle@suse.de - Update to 3.0.21a; bso [#3349]. * Wed Dec 21 2005 lmuelle@suse.de - Update to 3.0.21. * Mon Dec 19 2005 gd@suse.de - Add extended pam_winbind work from trunk. * Wed Dec 14 2005 lmuelle@suse.de - Return NT_STATUS_ACCOUNT_DISABLED if eDirectory returns LDAP_UNWILLING_TO_PERFORM; [#138491]. * Sun Dec 04 2005 lmuelle@suse.de - Package libmsrpc files separate. - Revert libsmbclient package renaming. - Update to 3.0.21rc2. * Tue Nov 29 2005 lmuelle@suse.de - Ensure to be root while calling pdb_search_destroy(); else we don't have enough permissions to do the last paged LDAP search. * Wed Nov 23 2005 lmuelle@suse.de - Store "sambaLogonHours" in GMT and display them in localtime; bso [#3187] - Update to ldapsmb 1.34. - Cache the results more agressivly to stop multiple LDAP searches; bnc [#134082]. - Allow anonymous printing to Microsoft Windows 2000 and XP systems via unauthenticated ntlmssp session setup, bnc [#106335]. * Mon Nov 21 2005 lmuelle@suse.de - Improve performance when enumerating users from a LDAP database; bnc [#134082]. * Fri Nov 18 2005 lmuelle@suse.de - Add fix for quota on ext[23], reiserfs. * Thu Nov 17 2005 lmuelle@suse.de - Create a separate Samba documentation package to build it as noarch for post 10.0 systems. * Sun Nov 13 2005 lmuelle@suse.de - Update to 3.0.21rc1. * Wed Nov 09 2005 lmuelle@suse.de - Add samba.org post 3.0.20b fixes. + Ensure printjob deletion. + Fix setting of quotas on Linux. + Clear request structure before used by wbinfo; bso [#3201]. + Added new parameter 'map readonly = [yes|no|permissions]'; bnc [#134188]. + Fix acl evaluation bug. + Don't count open pipes in the num_files_open on a connection. * Fri Oct 28 2005 lmuelle@suse.de - Speed up load of the configuration file with a large number of share definitions; bnc [#129341], bso [#1117]. * Sun Oct 16 2005 lmuelle@suse.de - Update patch for mount.cifs to work with named uid/ gid; [#120601]. * Fri Oct 14 2005 lmuelle@suse.de - Use upstream fix to supress LDAP build warnings with OpenLDAP 2.3.7 or higher and to build with openssl 0.9.8a or higher. - Allow mount.cifs also to work with uid/ gid names; [#120601]. * Thu Oct 13 2005 lmuelle@suse.de - Disable smbwrapper support for all architectures. - Update to 3.0.20b + winbindd crash with alt_names; bso [#3068] + denied write on a share in read/write mode; bso [#3088] + read-only share files are always seen as read-only + quota support; bso [#3070] * Sun Oct 09 2005 schwab@suse.de - Make syscall wrapper stuff compilable. * Sat Oct 01 2005 lmuelle@suse.de - Update to 3.0.20a. * Mon Sep 26 2005 ro@suse.de - fix some implicit function declarations in getdate. * Mon Sep 19 2005 lmuelle@suse.de - Add iprint support; [#113346]. - Update to samba-vscan 0.3.6b. - Add more samba.org post 3.0.20 fixes. + RegCreateKeyEx() Failures + Usrmgr.exe and Groups + net rpc shutdown + DOS applications - Disable build of smbwrapper for ia64. * Mon Sep 12 2005 gd@suse.de - Fix x86_64 crash bugs + security descriptor upgrade in print tdbs [#106751, samba.org #3084] + winbindd resolving group membership [samba.org #3082] * Mon Aug 29 2005 lmuelle@suse.de - Add samba.org post 3.0.20 fixes. + Fix password history for eDirectory + fix enumerated group name + other minor fixes * Sat Aug 20 2005 lmuelle@suse.de - Update to 3.0.20. * Thu Aug 18 2005 lmuelle@suse.de - Fix assembling of the filepath in vscan-icap; [#105582]. - Fix typo in vscan-mcdaemon; [#102372]. * Tue Aug 09 2005 lmuelle@suse.de - Update to 3.0.20rc2. * Tue Aug 09 2005 lmuelle@suse.de - Enable vscan filetype support for post 9.0 systems as SLES 9 SP 2 provides a file package built with -fPIC; [#102372]. * Wed Aug 03 2005 lmuelle@suse.de - Update to ldapsmb 1.33. - Create precompiled headers on post 9.3 systems. * Fri Jul 29 2005 lmuelle@suse.de - Update to 3.0.20rc1. - Fail build if a patch doesn't apply. * Wed Jul 20 2005 lmuelle@suse.de - Use guards of the quilt package to apply all patches. - Add shared module idmap_ad. - Update to ldapsmb 1.32. * Wed Jul 13 2005 lmuelle@suse.de - Update to 3.0.20pre2. * Tue Jun 28 2005 lmuelle@suse.de - Update to 3.0.20pre1. * Mon Jun 20 2005 lmuelle@suse.de - Add more post 3.0.14a fixes; bugzilla.Samba.org [#2729, #2698]. - Add hint to documentation about the permissions of umount.cifs; [#85813]. * Tue May 10 2005 lmuelle@suse.de - Add more post 3.0.14a fixes. - Update umount.cifs to the current version. * Tue Apr 26 2005 lmuelle@suse.de - Add umount.cifs binary. * Fri Apr 22 2005 lmuelle@suse.de - Fix potential buffer overflow in torture. - Change Requires ... = %%{version} to >= ... %%{version} to allow installation of an subpackage from the original media after a version update was available and installed by online update. Kept Requires samba = %%{version} for samba-vscan [#80230]. * Wed Apr 20 2005 lmuelle@suse.de - Add missing /usr/sbin/groupadd to PreReq of the main package. * Tue Apr 19 2005 lmuelle@suse.de - Remove 'dos filetimes = Yes' from smb.conf as it now is the default. * Tue Apr 19 2005 ro@suse.de - try to make testsuite build with gcc-4 * Fri Apr 15 2005 lmuelle@suse.de - Update to version 3.0.14a. - Fix net share migrate and report in the case of the top level share directory ACL. * Tue Apr 12 2005 lmuelle@suse.de - Update to version 3.0.14. * Fri Apr 08 2005 lmuelle@suse.de - Update samba-vscan to version 0.3.6. - Set 'dos filetimes = Yes' in smb.conf for all shares where other users than the owning user might have write access to Microsoft Excel files. * Thu Mar 24 2005 lmuelle@suse.de - Update to version 3.0.13; fix Samba to POSIX draft ACL mapping [#74373]; bugzilla.Samba.org [#2521]. * Mon Mar 21 2005 lmuelle@suse.de - Fix copy/delete files from Microsoft Windows 98 explorer; [#74102]; bugzilla.Samba.org [#2501]. * Fri Mar 18 2005 lmuelle@suse.de - Update to version 3.0.12. * Sun Mar 13 2005 lmuelle@suse.de - Ensure to package smbfstab with limited access permissions. - Add additional Provides and Obsoletes and add %%version-%%release to the Provides tags. * Fri Feb 25 2005 lmuelle@suse.de - Disable com_err patch for post 9.2 products. - Use NO_BRP_STRIP_DEBUG="true" in the %%install section if make_devel is set. - Call mkversion.sh to add VENDOR_SUFFIX to version.h * Mon Feb 07 2005 ro@suse.de - use kerberos-devel-packages in neededforbuild (again) * Fri Feb 04 2005 lmuelle@suse.de - Update to 3.0.11. - Create extra package, cifs-mount for the mount.cifs for post 9.2 products; [#45324]. - Replace SWAT welcome.html sym link post and pre script workaround by a SWAT fix; [#48160]; bugzilla.Samba.org [#2278]. * Fri Jan 21 2005 lmuelle@suse.de - Enusre to free memory used for response and language in the print_cups code; [#49999]; bugzilla.Samba.org [#2270]. * Thu Jan 20 2005 lmuelle@suse.de - Fix order of evaluation in the bitmap code; Samba.org svn revision 4120; [#49476,#49514,#49947]. * Fri Jan 14 2005 ro@suse.de - fix typo in specfile * Wed Dec 22 2004 lmuelle@suse.de - Fix open_any_socket_out on request of Volker Lendecke; bugzilla.Samba.org [#2180]; [#49480]. * Thu Dec 16 2004 lmuelle@suse.de - Update to version 3.0.10; CAN-2004-1154; [#49119]. * Wed Dec 15 2004 lmuelle@suse.de - Set IDMAP_RID_SUPPORT_TRUSTED_DOMAINS to 1 in sam/idmap_rid.c and add Samba.org svn revision 4216; [#49250]. - Disable none working pdf share; [#49221]. - Don't remove statically defined printers in remove_stale_printers(); bugzilla.Samba.org [#2091]; [#49221]. * Tue Dec 14 2004 lmuelle@suse.de - Add more changes from Vince Brimhall to the eDirectory integration patches; [#48821]. * Mon Dec 13 2004 lmuelle@suse.de - Fix remote exploitation of an integer overflow vulnerability in the smbd daemon; will be addressed in 3.0.10 upstream; CAN-2004-1154; [#49119]. - Add workaround for samba-vscan if TMPDIR env is set; [#49041]. - Add more changes from Vince Brimhall to the eDirectory integration patches; rename the passdb backend file to pdb_nds; [#48821]. - Remove patch to avoid inclusion of linux/audit.h as it - even for post 9.1 products - is superfluous; bugzilla.Samba.org [#2061]. * Tue Nov 30 2004 lmuelle@suse.de - Add -O to CFLAGS only for pre 9.2 products; [#44167], bugzilla.Samba.org [#1631]. - Ensure to include /usr/lib/cups/backend only in post 9.0 products. * Fri Nov 19 2004 lmuelle@suse.de - Only avoid inclusion of linux/audit.h for post 9.1 products. - Fix also max fd count for the select() call in nmbd and wrepld. - Add more post 3.0.9 fixes. * Fri Nov 19 2004 lmuelle@suse.de - Add missing ldapsmb man page. - Add AntiVir module to samba-vscan. - Fix fixed PID file name if multiple Samba daemons are used; [#48237]. - Add fixes to nds_ldap.c and nds-pdb_ldap.c.diff from Vince Brimhall . - Use common* PAM configuration only for post 9.2 products. - Update to version 3.0.9. * Mon Nov 15 2004 lmuelle@suse.de - Add max fd count for select call in smbd/server.c. * Mon Nov 15 2004 kukuk@suse.de - Use common-* PAM configuration. * Fri Nov 12 2004 lmuelle@suse.de - Remove check for uid and gib mapping from winbind init script as winbind nowadays works fine as a proxy only. - Add -t 10 to all killproc calls in the init scripts; [#47227]. - Fix output of smbstatus to make the man page; fix -L, -p, & -S and the -u functionality. - Move doc subpackage %%preun to %%postun and change sym link only if first arg is less than 1 as only this situation is a deinstallation case. * Thu Nov 11 2004 lmuelle@suse.de - Fix seg fault in lanman printing code. - Fix testparm reporting for the passwd program string. - Add welcome.html also as %%ghost to the samba-doc package and remove rm from %%preun as this breaks the uninstall of samba-doc; [#48160]. - Protect all welcome-* files in the %%pre section of samba-doc to not get deleteted. welcome-en-no-samba-doc.html of the samba package was accidently removed. * Thu Nov 11 2004 lmuelle@suse.de - Update Samba docs to version 3.0.8; [#48137]. - Use a 32 instead of a 64 byte case-exact string in the samba-nds.schema for the sambaPasswordHistory object; [#48134]. - Use samba-nds.schema of examples/LDAP/samba-nds.schema as it is now part of the main line and mark it as %%config in the filelist. - Remove admin from default smbusers mapping file; [#48111]. - Add post 3.0.8 fixes. - Remove rest of old net RPC printer migration patch as the problem is solved different in 3.0.8. - Fix undefined reference to `secrets_*' in libsmbclient; [#48082]. - Enable testsuite for libsmbclient. - Fix domain/ workgroup bug for multibyte names in nmbstatus; [#38309]. - Remove superfluous rm in the preun of the samba package. * Mon Nov 08 2004 lmuelle@suse.de - Update to version 3.0.8; CAN-2004-0930; [#48019]. - Fix roundup problem for non-Windows clients; CAN-2004-0882 [#46203]. - Use upstream version of the HTML index file; [#48041]. * Wed Nov 03 2004 lmuelle@suse.de - Add samba-nds.schema to /usr/share/samba/LDAP, [#47894]. * Tue Nov 02 2004 lmuelle@suse.de - Remove incomplete account expiry feature. - Remove broken clockskew fix on request of the author. * Thu Oct 28 2004 lmuelle@suse.de - Add printername and queue update patch, bugzilla.Samba.org [#1519]. - Add account and password expire feature mainly for migration. - Add bad password count and logon count while migration. - Use define for common %%setup options and set it to -q. - Fix several serious compiler warnings in smbd/lanman.c. * Fri Oct 22 2004 adrian@suse.de - make it possible to build the package as user * Thu Oct 21 2004 mc@suse.de - disable samba3-account_pol_ldap.diff; breaks libsmbclient * Tue Oct 19 2004 lmuelle@suse.de - Add showacls option to smbclient. * Mon Oct 18 2004 mc@suse.de - Update pdb_ldap.c.diff from Vince Brimhall . * Fri Oct 15 2004 lmuelle@suse.de - Update eDirectory patch from Vince Brimhall . * Thu Oct 14 2004 lmuelle@suse.de - Add information to the default smb.conf that the full version is only available if samba-doc is installed, [#43953]. - Move samba.reg to the vendor-files tar ball. - Use $syslog for Required-Start in the smbfs init script, [#37618]. - Add eDirectory patch from Vince Brimhall . - Add alias migration code from Volker Lendecke . - Add account policy migration to LDAP code from Guenther Deschner . * Mon Oct 11 2004 lmuelle@suse.de - Fix recursive ls in smbclient. Fix by Josef Zlomek. * Wed Oct 06 2004 lmuelle@suse.de - Fix job check of smbfs init script. - Use 0754 permissions for all init scripts. * Thu Sep 23 2004 lmuelle@suse.de - Fix smbfs init script for case where we wait for mount or umount to succeed, [#45778]. * Tue Sep 21 2004 lmuelle@suse.de - User 0775 and root:ntadmin for drivers and 0770 and root:users for profiles directory as with the Samba 2.2 packages. - Add groupadd ntadmin to %%pre of the main package, [#45719]. - Modify NetBIOS Datagram Distributor extensions patch to protect records which are marked as permanent. * Thu Sep 16 2004 lmuelle@suse.de - Enable krb5_cc_close() in libsmb/clikrb5 to avoid memleak of winbindd. - Remove obsolet part from vendor README. - Call mount only one time in the smbfs init script. - Add additional information to the samba-vscan INSTALL file. * Mon Sep 13 2004 lmuelle@suse.de - Update to version 3.0.7, CAN-2004-0807, CAN-2004-0808, [#44883]. - Restructure vendor-files tar ball. - Use -dPARANOIDSAFER as option to gs in smbprngenpdf. - Move all 'inherit permissions' to 'inherit acls' in the default smb.conf. - Enhance libtool --mode patch for examples/pdb/ as suggested by Andreas Schwab . - Add %%{?jobs:-j%%jobs} to most make calls as suggested by Stephan Kulow * Fri Sep 03 2004 lmuelle@suse.de - Remove letters from the version string of autoconf and autoheader. - Add --mode=MODE to libtool calls. - Add logrotate settings for nmbd and smbd only on systems newer than 8.1. * Wed Sep 01 2004 lmuelle@suse.de - Disable filetype support in vscan for version older than 9.2 where file was built without -fPIC. - Use new update message mechanism, [#44359]. - Disable profile information gathering. This is the Samba default. - Check in %%pre of the doc package if there are still directories and files in swat/help and remove them to allow cpio to create sym links here, [#44564]. - Check in dhcpcd-hook-samba if the interface is configured for BOOTPROTO dhcp and exit gracefully if not. * Fri Aug 27 2004 lmuelle@suse.de - Fix check for DHCLIENT_MODIFY_SMB_CONF, add copyright to and remove 'set -e' from dhcpcd-hook script. - Remove swat/help/* and replace it with sym links to the samba-doc package. - Add VENDOR suffix to mount.cifs. - Add NetBIOS Datagram Distributor extensions provided by Brian Landy . See http://www.landy.cx/ or the comments in the patch. - Add more post 3.0.6 fixes. * Thu Aug 26 2004 lmuelle@suse.de - Use try-restart in nmb init script when called with force-reload. - Add DHCP support for wins server and netbios scope setting. * Tue Aug 24 2004 lmuelle@suse.de - Update to version 3.0.6, [#43737, #43773]. - Update samba-vscan to version 0.3.5, [#43853]. - Update net RPC printer migrate patch from Günther Deschner. - Add several post 3.0.6 fixes. - Use -O instead of default -O2 for CFLAGS to avoid potential miscompilation, [#44167]; bugzilla.Samba.org [#1631]. * Thu Jul 22 2004 lmuelle@suse.de - Update to version 3.0.5. CAN-2004-0600 and CAN-2004-0686. - Add net RPC printer migrate patch from Günther Deschner. - Add RPM release to the vendor suffix in the version header file. * Tue Jun 22 2004 lmuelle@suse.de - Fix premature optimization in unix_convert() [#42332]; bugzilla.Samba.org [#1345]. * Wed Jun 16 2004 lmuelle@suse.de - Convert spec file to UTF-8 to produce mail with content type UTF-8 if we create one in the %%pre or %%post section. * Tue Jun 15 2004 lmuelle@suse.de - Create a mail if we update from Samba 2.2 and used LDAP as SAM before [#42055]. - Move /var/log/samba and /var/run/samba to the client package [#42018]. * Fri Jun 11 2004 lmuelle@suse.de - Ensure that we always use tdb_open_log() instead of tdb_open_ex() [#41929]. - Fix afs syscall patch. Already tested and added upstream. - Add some information about the commented example configuration file to the README. - Add an inative [netlogon] share to the example configuration. * Wed Jun 02 2004 ro@suse.de - avoid inclusion of linux/audit.h * Tue Jun 01 2004 lmuelle@suse.de - Add CIFS support to smbfs init script [#41486]. - Use stderr for important messages in the init scripts. - Remove empty Samba named configuration. - Add hu translation to Samba.desktop file. * Mon May 31 2004 lmuelle@suse.de - Move smb.conf existence test in all init scripts to the start case [#41430]. - Add WHATSNEW and README to the htmldocs file. - Use samba.css in htmldocs.html and manpages.html. - Add X-DOC-* lines to enable search index creation and some translations to the Samba.desktop file. * Sun May 30 2004 lmuelle@suse.de - Remove backtrace file from vendor-files as our version it's now in upstream. - Add Samba.desktop file for SuSEhelp system to the doc package. - Move smbpasswd, smbcontrol binaries and man pages to the client package. - Move README to the client package. - Add additional information to the README. * Sun May 30 2004 lmuelle@suse.de - Split winbind and wrepl logrotate from main package [#41433]. - Skip test for smb.conf file in case of stop in nmb, smb, winbind, and wrepl init scripts [#41430]. - Move sym link /usr/share/samba/swat/using_samba to the doc package [#41429]. - Return always with success from smbfs init script in case of stop [#41428]. - Don't add /etc/samba/*.tdb files to file list. - Enable patch to build examples-vfs with -fPIC for all architectures. * Fri May 28 2004 lmuelle@suse.de - Add profiles share with setting to suppress popup of a desktop.ini file to the default smb.conf. * Thu May 27 2004 lmuelle@suse.de - Enable logon drive, path, and home in the way Standard Server 8 does and add 'username map' setting to default smb.conf. - Use /var/log/samba/ as a secure directory for the smb-print script [#36676]. - Readd -t|--password-from-stdin option to pdbedit [#41182]; bugzilla.Samba.org [#1386]. - Fix winbind in case schannel verifier does not include the nonce [#41100]; bugzilla.Samba.org [#1315]. - Fix 'write list' option in case of security is better than share [#41101]; bugzilla.Samba.org [#1319]. - Touch smbd pid file in the init script while reload if the daemon runs. This allows probe to return a value not equal reload. - Add upstream changes to the 'printcap cache time' feature. Thie requires to set 'printcap cache time = 750' in our default smb.conf as the upstream default is 0 which disables the feature. * Wed May 19 2004 ro@suse.de - fix some gcc warnings (py_spoolss_drivers.c: argument sequence) * Thu May 13 2004 lmuelle@suse.de - Add patch to fix clock skew of winbind in ADS security. For details see bugzilla.Samba.org [#1208]. - Add patch to fix printing to the IP address of the server. - Remove TDB files from below /var/lib/samba/ from filelist. - Update to version 3.0.4. Fix password change broken by Microsoft hotfix MS04-011 [#40087]. - Add libsmbclient fix from Stephan Kulow . For details see bugzilla.samba.org [#429]. - Add 'printcap cache time' option to remove stale and add new printers [#21846]. See also bugzilla.Samba.org [#1259]. By this we no longer have to wait for the CUPS dameon in the init script. - Disable 'interfaces' and 'bind interfaces only' by default [#39491]. - Use right path to smb.conf in smbpasswd file and add some hints. * Thu Apr 29 2004 lmuelle@suse.de - Add quotactl support patch from Stefan Metzmacher [#39666] - Replace suse_ver macro by real version string. * Thu Apr 29 2004 lmuelle@suse.de - Update to version 3.0.3. - Adopt missing patches from 2.2.8a. - Move LDAP schema to samba-client package. - Add prerequires to samba package. - Add missing stop_on_removal macros - Add /var/lib/samba/browse.dat to the file list. - Add /var/lib/samba/printing directory to the file list. - Remove printingCupsOptions and expired_service_tickets diff; use upstream version instead; they are now part of the printingAndManyOtherFixes diff. - Enhance waiting for cupsd function in the smb init script * only check with lpstat every two seconds * remember start time in seconds and calculate the waiting time in relation to this; this is important if a configured CUPS server is unreachable. In this case we now really wait only 30 seconds and not 30 times of the lpstat timeout. * Thanks to Bjoern Jacke for the patch. * Mon Apr 19 2004 lmuelle@suse.de - fix ldapsmb script - add expired service tickets patch from Guenther Deschner * Thu Apr 15 2004 lmuelle@suse.de - add 'cups options = raw' to the default smb.conf, [#28176] - fix typo and use signal USR2 in write-status case of init script * Mon Apr 05 2004 lmuelle@suse.de - add patch from Alexander Bokovoy to fix smbmount, [#37871] - only create notify message on first installation * Sat Apr 03 2004 lmuelle@suse.de - readd /var/lock/samba/{drivers,netlogon,profiles} - add more TDB files as %%ghost %%config(noreplace) to the file list - enhance default configuration file, [#38024] * Wed Mar 31 2004 lmuelle@suse.de - add restart_on_update macros for nmb, smb and winbind - fix path to smb-print.log, [#36676] - move smbpasswd, pdbedit and testparm binaries and man pages to the client package - add cracklib-devel to BuildRequires - add several TDB files as %%ghost %%config(noreplace) to the file list - add backtrace script to examples/scripts - fix smbadduser paths - move /etc/xinetd.d/samba to /etc/xinetd.d/swat * Mon Mar 22 2004 lmuelle@suse.de - add 'printing cups options' feature; this allows us to print with option 'raw' without enabeling raw printing in the cups.conf, [#20218] - add big patch collected from the CVS; [#36602] - add sambaxp and sambaxp-client to the provides and obsoletes tag - spec file cleanup * Tue Feb 24 2004 gd@suse.de - readd nmbstatus, mkntpwd, ldap-schema and cups-smb-backend * Sun Feb 22 2004 gd@suse.de - disable build of utils-package * Wed Feb 18 2004 gd@suse.de - update to 3.0.2a - removed last references of docbook package - moved cifsmount into client package - added pgsql-backend - cleaned up neededforbuild - build as root - fixed dependencies - smb init-script should check for defaults - winbind init-script should warn for required params * Wed Feb 18 2004 coolo@suse.de - readding my fix for libsmbclient. without it surfing windows networks is pure luck ;( * Mon Feb 16 2004 adrian@suse.de - register samba and swat via slp.reg.d * Wed Feb 11 2004 kukuk@suse.de - Remove self Conflicts * Sun Feb 01 2004 gd@suse.de - update to 3.0.2rc2 * Sun Jan 25 2004 adrian@suse.de - rename package back to "samba" - fix build - add %%defattr - clean up Provides/Obsoletes - add Provides/Obsoletes for libsmbclient3 * Sun Jan 25 2004 gd@suse.de - removed extra docbook-package * Sun Jan 25 2004 gd@suse.de - initial package of samba3. based on the work of Lars Mueller . * Sun Jan 18 2004 meissner@suse.de - Added -fPIC to libmksd build. * Fri Jan 16 2004 kukuk@suse.de - added pam-devel to neededforbuild * Fri Oct 17 2003 kukuk@suse.de - Remove unused des from neededforbuild * Mon Sep 15 2003 kukuk@suse.de - Add requires to libsmbclient-devel [Bug #30718] * Fri Sep 05 2003 kukuk@suse.de - Move /var/log/samba and /var/run/samba to samba-client [#30027] * Thu Aug 28 2003 lmuelle@suse.de - call sbin/SuSEconfig --module samba and not directly the script in the %%post section * Tue Aug 26 2003 lmuelle@suse.de - add patch from Ademar de Souza Reis Jr. for smbclient to get a working -TI option, #27353 * Thu Aug 21 2003 lmuelle@suse.de - add nss-soname patch from Andreas Schwab, #28248 - add stop_on_removal and restart_on_update macros to preun and postun section * Tue Jul 29 2003 lmuelle@suse.de - point getSambaOptions to the right location of the source file - fix handling of uninitialized variable in nmbstatus * Mon Jul 28 2003 lmuelle@suse.de - add Urban Widmark patches for smbmount; this includes LFS, unicode, escape character, and 32 bit uid suppprt, #18472 - add nmbstatus utility - add schannel feature from Volker Lendecke - move winbind init script and rc sysm link to the client package - remove superfluous linkvfs patch - activate root = administrator admin in smbusers by default - add smbprngenpdf - add configure option --with-sendfile-support - autocreate samba.opts.ini while build * Mon Jun 23 2003 lmuelle@suse.de - add /usr/lib/cups/backend/smb to the samba-client package - unify init scripts; add one space at the end to all echos * Wed Jun 04 2003 lmuelle@suse.de - fix pointer cast on 64bit big endian architecture in winbind_nss.c, #27220 - add new sysconfig tags * Wed May 14 2003 ro@suse.de - run autoreconf / fix build with latest libtool * Thu May 08 2003 lmuelle@suse.de - remove %%ghost from sym linked files * Mon Apr 28 2003 lmuelle@suse.de - cleanup %%post script part which takes care of old configuration location * Sun Apr 20 2003 lmuelle@suse.de - remove tdbtorture from package on request of the Samba team - update to version 2.2.8a * Mon Mar 17 2003 lmuelle@suse.de - readd map to guest = Bad User to smb.conf * Fri Mar 14 2003 lmuelle@suse.de - move samba LDAP schema to the client package - add product suffix to README and smb.conf files of documentation - mark sym links from /var/lib/samba/bin/ as %%ghost * Thu Mar 13 2003 lmuelle@suse.de - add security patch for the client side, #25140 - remove check for existence of sysconfig and smb.conf from smbfs init script * Wed Mar 12 2003 lmuelle@suse.de - add security patch from SuSE Security Team, #25140 - cleanup init scripts try-restart part * Mon Mar 10 2003 lmuelle@suse.de - add fix to samba-nds.schema provided by Jochen Schaefer - add fixes for winbind caching and uid handling , smbpasswd, smbd and TDB handling * Sun Mar 09 2003 kukuk@suse.de - Use getent in smbadduser * Fri Mar 07 2003 ro@suse.de - remove mminimal-toc from CFLAGS (ppc64) * Thu Mar 06 2003 kukuk@suse.de - Add xinetd config file [Bug #24682] * Thu Mar 06 2003 kukuk@suse.de - Remove cyrus-sasl from neededforbuild * Mon Mar 03 2003 lmuelle@suse.de - add header files to samba package for squid, #24235 - remove rc_reset from status part of nmb init script * Mon Feb 24 2003 lmuelle@suse.de - update samba-vscan to version 0.3.2a * Tue Feb 18 2003 lmuelle@suse.de - add separate binaries to PreReq - add /bin/grep to PreReq of the client package - move README to client package and inform about the new doc package, #23838 - fix %%post in case of update - fix nmb init script, #23854 * Mon Feb 17 2003 lmuelle@suse.de - add appropriate suffix to example smb.conf of documentation - add example to auto mount or umount CD drive to smb.conf - add -s ${SMB_CONF} to all startproc calls in init scripts * Fri Feb 14 2003 lmuelle@suse.de - call SuSEconfig -module samba if packages with binaries are installed via rpm - only insserv nmb depending on an active smb service, if we update from a version before SuSE Linux 8.1 - add meta data to sysconfig file - add appropriate suffix to README - update samba-vscan to version 0.3.2 - split libsmbclient and libsmbclient-devel package from samba-client - add msdfsproxy and ldaprebind patches from Guenther Deschner * Wed Jan 29 2003 kukuk@suse.de - Remove samba-doc requires from samba-client * Wed Jan 15 2003 ro@suse.de - use fPIC in samba-vscan * Wed Jan 15 2003 ro@suse.de - use sasl2 * Wed Jan 15 2003 ro@suse.de - added logrotate config - added patch to work around glibc defining st_atime as macro * Fri Dec 13 2002 ro@suse.de - updated neededforbuild * Thu Dec 12 2002 lmuelle@suse.de - update samba to version 2.2.7a - update samba-vscan to version 0.3.1 - move tdb tools to client package - move smbldap-tools from examples/LDAP to a new package - move samba.schema to /etc/openldap/schema * Fri Nov 22 2002 lmuelle@suse.de - fix some broken literals in samba-svan and nettime - split documentation to samba-doc subpackage - move provides smbfs to samba-client package * Wed Nov 20 2002 lmuelle@suse.de - update samba to version 2.2.7; this includes the security fix for the broken password length handling - update samba-vscan to version 0.3.0 - remove superfluous aclocal, autoconf and libtoolize calls * Fri Nov 08 2002 lmuelle@suse.de - use rc_exit, not exit at the end of the smbfs init script, #21641 * Wed Nov 06 2002 lmuelle@suse.de - remove check and Required-Start for nmb in smbfs init script, #20793 move nmb from Required-Start to X-UnitedLinux-Should-Start add section about smbfs and nmb service to README.SuSE - add fix for s390 interface handling, #15717 * Tue Nov 05 2002 lmuelle@suse.de - add security fix for wrong passwd len handling * Sat Oct 19 2002 lmuelle@suse.de - update to version 2.2.6 * Thu Oct 17 2002 lmuelle@suse.de - generate version suffix UL or SuSE as required from Samba team * Wed Oct 16 2002 lmuelle@suse.de - add improved ACL mapping patch, #19494 - remove check_nmbd and rc_reset from smb init script status part, #20921 - also remove check_nmbd from winbind and smbfs init scripts * Tue Oct 08 2002 lmuelle@suse.de - add improved ACL mapping patch, #19494 - set syslog = 0, log level = 1 in smb.conf, #20411 - switch to RFC 3330 conform example IP addresses in smb.conf - remove character set and client code page from smb.conf, #20378 * Thu Sep 26 2002 ro@suse.de - remove hang in smbfs init script (#20204) * Wed Sep 25 2002 agruen@suse.de - WinNT compatibility fix in the improved ACL mapping * Mon Sep 23 2002 lmuelle@suse.de - add ACL mapping fixes from Andreas Gruenbacher - put SAM related binaries in extra subdirectories - set TMPDIR to /var/tmp in smb init script - create classic and ldap sudirectories for the binaries to get usual process names - remove runlevel 2 from Default-Start of smbfs; add nmb to Required-Start - warn if nmbd is not running while start of smb, smbfs and winbind - drop rcsamba * Thu Sep 12 2002 lmuelle@suse.de - add missing user information if nmbd is reloaded - add root to write list of print$ in default smb.conf * Thu Sep 12 2002 lmuelle@suse.de - add check for ready cupsd if CUPS is active and Samba using CUPS as printing system - remove ACL fixes, #19494 * Wed Sep 11 2002 lmuelle@suse.de - add winbind to X-UnitedLinux-Should-Start of smb init script * Tue Sep 10 2002 lmuelle@suse.de - intergrate ACL fixes from Andreas Gruenbacher - split smb in two (smb and nmb) init scripts - fix Required-Start of smb and winbind init script - include most parts of two mostly printing related pre 2.2.6 patches * Mon Sep 09 2002 lmuelle@suse.de - check existence of brlock and locking tdb, #18978 - include tdbdump, tdbtest, tdbtool, tdbtorture - change smb and winbind init script, #18784 * Mon Sep 02 2002 lmuelle@suse.de - let SuSEconfig.samba use correct lib subdirectory, #18730 - include printing patch for 2.2.5 from Samba team - let smb and winbind init script also recognize daemons started before an update of the package; workaround for #18784 - include netttime program, #6508 * Fri Aug 30 2002 lmuelle@suse.de - replace wrong, left variable in %%post of samba by filename * Wed Aug 28 2002 lmuelle@suse.de - make reload of smbfs init script equal to restart - remove Should-Start smb in smbfs init script - create ntadmin group in %%pre of samba - adjust permission and ownership of /var/lib/samba/drivers * Wed Aug 21 2002 lmuelle@suse.de - fix start of smbfs init script; introduce /etc/samba/smbfstab, #7146 - reinclude lost pdbedit and man page, now part of the client package - move cupsd to Should-Start in smb, also smb and remove $remote_fs from Required-Start in smbfs init script - rename sysconfig.samba-samba-client to sysconfig.samba-client and use fillup_only with -ans due to usage in a subpackage - force LDAP protocol version 3 during connection establishment * Tue Aug 20 2002 lmuelle@suse.de - add missing PreReq to samba and samba-client, #17979, #17980 - fix status of smbfs init script, #9092 * Mon Aug 19 2002 lmuelle@suse.de - fix path to temp file in %%post of samba - fix %%post of samba-client, rename sysconfig.samba to sysconfig.samba-samba-client * Mon Aug 19 2002 lmuelle@suse.de - drop the split in classic and ldap version; introduce etc/sysconfig/samba and SuSEconfig.samba instead to get the appropriate binaries, #17691 * Fri Jul 26 2002 gd@suse.de - fixed /usr/share/samba in %%files - moved libsmbclient libraries to samba-client * Fri Jul 19 2002 gd@suse.de - added rediffed start_tls-fix from cvs - enabled challenge-response-auth for winbind - removed all references to rc.config - made cups default printing system for SuSE Linux 8.1 * Thu Jul 18 2002 link@suse.de - updated to samba-vscan-0.2.5d -- bugfix for F-Prot Daemon and ScannerDaemon -- added a sanity check for "grepping" the virus name from the output of ScannerDaemon and F-Prot Daemon -- init message has been changed when module is loaded -- added Makefile fix for x86-64 by Ulricht Hecht * Tue Jul 16 2002 uli@suse.de - link PIC objects into examples/VFS stuff (fixes x86-64) * Tue Jul 16 2002 kukuk@suse.de - Don't use macros for Version: * Mon Jul 15 2002 gd@suse.de - update to version 2.2.5 (mainly done by Lars Mueller ) - added samba-vscan 0.2.5a as subpackage - link against acl and attr library - added winbind-init script, rewrote smb-init script - updates, clean-ups in smb.conf and more examples - added patch for pdbedit to handle script based LDAP account creation and make deletion of only SAM LDAP entries possible and added a -b option for pdbedit to allow stdin password changes (patch by lmuelle@suse.de) - fixed smbadduser script patch (bug #15562) - split the samba-package into a classic and a ldap-version: thus you need in either case samba/samba-client, then you choose between samba-classic/samba-classic-client for the common smbpasswd-backend or samba-ldap/samba-ldap-client to support the ldapsam-backend. - added README.SuSE - added link to make using_samba accessible from swat - no sgid for printer-drivers-dir * Fri Jun 14 2002 meissner@suse.de - rerun auto* tools, use -mminimal-toc on ppc64. * Fri Mar 08 2002 kukuk@suse.de - Add libsmbclient.so.0 and /usr/share/samba to filelist * Thu Feb 14 2002 adrian@suse.de - install needed header file for libsmbclient.so * Sun Feb 10 2002 kukuk@suse.de - Don't test for -fpic if PICFLAG is already set * Thu Feb 07 2002 lmuelle@suse.de - Update to 2.2.3a, minor bugfix release * Thu Feb 07 2002 lmuelle@suse.de - Update to 2.2.3 - Fix smbsh library search path - Removed 'kernel oplocks = No' from smb.conf; default is yes - Include pam_smbpass, syslog, utmp, and winbind support - Include libsmbclient - Include findsmb * Tue Jan 08 2002 egmont@suselinux.hu - Cosmetical changes in init scripts * Thu Dec 20 2001 ro@suse.de - removed START_SMB and added insserv_macros * Sun Sep 23 2001 lmuelle@suse.de - Shorten output and tunig of old configuration files handling - Include SID and secrets files to old configuration files handling - Move netlogon and profiles directories to /var/lib/samba - Move smbpasswd binary and man page to samba-client package - Introduce additional sym link from /etc/init.d/smb to rcsamba due to too many typos and cleaner systematic - Add character set = ISO8859-15 and client code page = 850 to smb.conf in the global section to enable correct UNIX <-> DOS character mapping for west European languages - Change create mask of home section to 0640, directory mask to 0750; change create mask of printers section to 0600 in smb.conf - Move path of printers section to /var/tmp * Fri Aug 24 2001 lmuelle@suse.de - Move all configuration files to /etc/samba - Move data bases to /var/lib/samba; important, cause boot script cleans up /var/lock/samba - Move pid files to /var/run/samba - Link against cups library - Use build root - Rename subpackage smbclnt to samba-client - Move /usr/share/doc/packages/samba to package samba-client - Move /usr/lib/samba/scripts to /usr/share/samba/scripts - Move /usr/lib/samba/codepages to /usr/share/samba/codepages - Move /usr/lib/samba/swat to /usr/share/samba/swat - Move /usr/lib/samba/VFS/* to /usr/lib/samba - Remove smb.conf from package samba, kept in samba-client - Remove redundant html documentation of man pages - Remove superfluous install and uninstall scripts - Add example configuration file /etc/samba/smbusers - Update to 2.2.1a: fixes bug with too strict name handling while adding a machine into a domain - Update to 2.2.1: add pam password changing and pam restrictions code; printer driver management improvements (delete driver); fix for Samba running on top of Linux VFAT ftruncate bug * Tue Aug 14 2001 ro@suse.de - Don't use absolute paths to PAM modules in PAM config files * Wed Jun 27 2001 ro@suse.de - re-added the libtoolize to make it build * Tue Jun 26 2001 lmuelle@suse.de - Update to 2.2.0a fixes remote file create/ append bug. This may only happen by '%%m' macro usage for the 'log file' command. - spec and dif cleanup - Include VFS module support. * Wed Jun 13 2001 ro@suse.de - fix to build with new autoconf * Wed May 30 2001 ro@suse.de - config-dist.sh: accept any kernel version on s390 * Thu May 10 2001 bodammer@suse.de - initscript fix: don't start smbd in runlevel 2 [bug #8046] - some additional files included to doc (COPYING, README, ..) * Wed May 09 2001 uli@suse.de - bzipped tarball * Tue May 08 2001 schwab@suse.de - Don't use _syscallX. * Mon Apr 30 2001 ro@suse.de - added config-dist.sh to build only on 2.4 machines (samba configure seems braindead enough to check the running kernel) * Mon Apr 30 2001 ro@suse.de - removed kerberos support: does not work as expected * Tue Apr 24 2001 lemsi@suse.de - for 7.2 we have added some kerbereos 5 support * Tue Apr 24 2001 lemsi@suse.de - new version samba 2.2 - new spec file with more functions for configure - libnss_winbind.so support for /etc/nsswich.conf * Wed Apr 18 2001 lemsi@suse.de - new security fixes and version 2.0.8 for 6.3, 6.4, 7.0, 7.1 * Tue Apr 17 2001 lemsi@suse.de - new rcsmb script - include security fixes * Fri Mar 09 2001 ro@suse.de - don't mess with os_install_post * Fri Feb 23 2001 ro@suse.de - added readline/readline-devel to neededforbuild (split from bash) * Wed Feb 07 2001 schwab@suse.de - Fix LFS support in client. * Mon Feb 05 2001 schwab@suse.de - Compile with -D_GNU_SOURCE and -D_LARGEFILE64_SOURCE to get missing declarations. - Include when checking for ino64_t. - Include for crypt declaration. * Wed Jan 31 2001 lemsi@suse.de - added codepages in smbclnt-subpackage - changed german coments to english coments * Wed Jan 03 2001 lemsi@suse.de - changed in the share section the path /cd to /cdrom - added smb.conf to the smbclnt-subpackage * Tue Nov 28 2000 kukuk@suse.de - Fix init scripts and move them to /etc/init.d - Fix post/postun section for subpackages * Fri Nov 24 2000 bodammer@suse.de - rcscript update * Mon Aug 28 2000 choeger@suse.de - changed $* to "$@" in mount.smbfs to make it also possible to mount shares with spaces * Mon Jul 31 2000 choeger@suse.de - improvement for rcsmb - fix for spec-file to compile with NIS netgroups * Thu Jul 20 2000 choeger@suse.de - added smbfs initscript that has been removed by an error * Tue Jul 11 2000 choeger@suse.de - split package into client and server parts client package name: smbclnt * Wed Apr 26 2000 choeger@suse.de - new version, 2.0.7 * Thu Apr 06 2000 ro@suse.de - removed pam,cracklib from neededforbuild: build handles this * Wed Apr 05 2000 bk@suse.de - s390 team added config.{sub,guess} update macro for s390 * Mon Mar 27 2000 choeger@suse.de - fixed bug in specfile the multilined configure call missed a "\" :-( * Thu Mar 09 2000 choeger@suse.de - fixed typo in specfile * Wed Mar 01 2000 choeger@suse.de - added %%{_mandir} * Tue Feb 08 2000 choeger@suse.de - removed /sbin/init.d/smbfs because it is no longer needed * Mon Jan 03 2000 choeger@suse.de - bugfix for ipc.c to make roaming profiles work again. * Tue Nov 30 1999 choeger@suse.de - changed kernel oplocks = off to kernel oplocks = false * Tue Nov 16 1999 choeger@suse.de - added kernel oplocks = off in smb.conf * Fri Nov 12 1999 choeger@suse.de - new version, 2.0.6 * Fri Nov 05 1999 choeger@suse.de - Fix for the smbmount lost-connection problem _seems_ to work... * Fri Oct 29 1999 choeger@suse.de - removed comment sign in /etc/inetd.conf for swat * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Tue Aug 10 1999 fehr@suse.de - set execute permissions for mksmbpasswd.sh and changesmbpasswd.sh * Thu Jul 29 1999 fehr@suse.de - fixed typo in /sbin/init.d/smbfs * Thu Jul 22 1999 fehr@suse.de - changed to new version 2.0.5a * Wed Jul 21 1999 fehr@suse.de - changed to new version 2.0.5 * Tue Jul 20 1999 fehr@suse.de - install /sbin/init.d/smbfs - changed to new version 2.0.5pre4 * Mon Jul 19 1999 fehr@suse.de - add /sbin/init.d/smbfs - changed to new version 2.0.5pre3 * Fri Jul 02 1999 fehr@suse.de - removed "umount -a -t smbfs" from start sscript * Tue Jun 22 1999 kukuk@suse.de - 2.0.4b changed default values, enable PAM again * Fri Jun 18 1999 kukuk@suse.de - changed to new version 2.0.4b * Mon Jun 14 1999 kukuk@suse.de - Enable PAM, add samba.pamd * Mon May 03 1999 fehr@suse.de - add umount -a -t smbfs to shutdown sequence of samba * Thu Mar 11 1999 ro@suse.de - smbmount: define NR_OPEN to 1024 if undefined (GLIBC-2.1) * Wed Mar 10 1999 choeger@suse.de - some enhancements for smb.conf * Wed Mar 10 1999 choeger@suse.de - new version 2.0.3 and smbmount now seems to work * Tue Mar 09 1999 ro@suse.de - use samba-2.0.2 for STABLE - use smbfs-2.1 with kernel 2.2.2 * Sun Feb 28 1999 ro@suse.de - for glibc-2.1 strncat uses strcat for one subcase, so don't redefine strcat to "ERROR" for glibc-2.1 * Mon Feb 15 1999 fehr@suse.de - fix for umount problem from Volker * Tue Feb 09 1999 fehr@suse.de - changed to version 2.0.2 of samba * Fri Jan 15 1999 bs@suse.de - replaced /sbin/init.d/smb with newer style version (again) * Fri Jan 15 1999 fehr@suse.de - switched to new version 2.0.0 * Wed Jan 13 1999 bs@suse.de - fixed entry in inetd.conf * Wed Jan 13 1999 bs@suse.de - replaced /sbin/init.d/smb with newer style version * Mon Jan 11 1999 vl@suse.de - make 2.0.0beta5 package of samba * Mon Aug 24 1998 vl@suse.de - changed to version 1.9.18p10 * Mon Jun 29 1998 vl@suse.de - changed to version 1.9.18p8 * Mon Apr 20 1998 vl@suse.de - changed to version 1.9.18p4 * Thu Feb 19 1998 vl@suse.de - changed to version 1.9.18p3 * Tue Feb 03 1998 vl@suse.de - changed to version 1.9.18p2 - fixed some problems in spec-file, some files were missing :-( - fixed smbfs-2.0.2/Makefile.Linux * Tue Jan 13 1998 vl@suse.de - changed to version 1.9.18p1 * Fri Jan 09 1998 vl@suse.de - changed to version 1.9.18 * Tue Dec 02 1997 bs@suse.de - disable samba by default in /etc/rc.config * Mon Oct 06 1997 fehr@suse.de - package prepared for automatic building * Mon Sep 29 1997 fehr@suse.de - updated to version 1.9.17p2 due to security hole. * Wed Jul 16 1997 fehr@suse.de - add fillup-template for rc.config and install it in doinst.sh * Fri Jun 27 1997 bs@suse.de - update to smbfs-2.0.2, due to security hole. * Tue Jun 17 1997 fehr@suse.de - changed init-skript to recognize entry START_SMB of rc.config * Mon Jun 02 1997 vl@suse.de - update to version 1.9.16p11 - Starting Samba from /sbin/init.d, not from inetd.conf * Sun Feb 02 1997 vl@suse.de - update to version 1.9.16p10 - Adapted /etc/smb.conf.sample to 4.4.1 manual * Thu Jan 02 1997 florian@suse.de - update to version 1.9.16p9 - configuration file is now /etc/smb.conf - smbd and nmbd are now in /usr/sbin - added start-script /sbin/init.d/smb and entry in /etc/rc.config * Thu Jan 02 1997 florian@suse.de - Update auf neue Version 1.9.16p6.