diff --git a/build-source-timestamp b/build-source-timestamp index 1c718e1..aa4f9f2 100644 --- a/build-source-timestamp +++ b/build-source-timestamp @@ -1,2 +1,2 @@ -1683 -Branch : 3.0.28a +1728 +Branch : trunk diff --git a/patches.tar.bz2 b/patches.tar.bz2 index 48445b4..8cc5d08 100644 --- a/patches.tar.bz2 +++ b/patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4fba927abfc7dbd758083a2d44a66fb819eb4b44bad92734230b9784394fc409 -size 107619 +oid sha256:b242de7da6001f7e6d9a4d51e2c04c5a2f4f89396977eb5b81ea6b6653916bfa +size 74081 diff --git a/samba-3.0.28a.tar.bz2 b/samba-3.0.28a.tar.bz2 deleted file mode 100644 index 52e716d..0000000 --- a/samba-3.0.28a.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d6cf6e90d572a77174f54c8601a13518f8e0c85e9fe1856ad64798a7028c804e -size 16527196 diff --git a/samba-3.2.0pre2.tar.bz2 b/samba-3.2.0pre2.tar.bz2 new file mode 100644 index 0000000..acc67f2 --- /dev/null +++ b/samba-3.2.0pre2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cc1f87ca94465d6b4e7b4d26925727e468b8ef892c2ccbad0781cddceb23a07 +size 14788572 diff --git a/samba-doc.spec b/samba-doc.spec index d56d313..4909d6e 100644 --- a/samba-doc.spec +++ b/samba-doc.spec @@ -1,5 +1,5 @@ # -# spec file for package samba-doc (Version 3.0.28a) +# spec file for package samba-doc (Version 3.2.0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -13,13 +13,13 @@ Name: samba-doc BuildRequires: ccache cracklib-devel cups-devel e2fsprogs-devel gdbm-devel krb5-devel libacl-devel libiniparser-devel libnscd-devel openldap2-devel pam-devel popt-devel pwdutils python-devel readline-devel -%define samba_ver 3.0.28a -%define samba_ver_suffix %nil +%define samba_ver 3.2.0 +%define samba_ver_suffix pre2 %define samba_ver_full %{samba_ver}%{samba_ver_suffix} -License: GPL v2 or later +License: GPL v3 or later Url: http://www.samba.org/ -Version: 3.0.28a -Release: 9 +Version: 3.2.0 +Release: 1 Summary: Samba Documentation Group: Documentation/Other AutoReqProv: on @@ -37,9 +37,8 @@ Source3: build-source-timestamp %define use_ccache 0 # 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_python 1 %define make_utils 0 -%define make_vscan 1 +%define make_vscan 0 %define make_ldapsmb 1 %if %{suse_version} < 1021 # requires: libxml2 libxml2-devel mysql-devel mysql-shared @@ -59,6 +58,7 @@ Source3: build-source-timestamp %define INITDIR %{_sysconfdir}/init.d %define PIDDIR %{_localstatedir}/run/samba %define idmap_modules idmap_ad,idmap_ldap,idmap_rid +%define vfs_modules vfs_cacheprime,vfs_readahead %if %ul_version >= 1 %define VENDOR UL %else @@ -135,7 +135,8 @@ export CC="ccache gcc" %endif cd source %{?suse_update_config:%{suse_update_config -f}} -autoreconf --force --install -Ilib/replace +ln -s m4/aclocal.m4 aclocal.m4 +autoreconf --force --install -I. -Im4 -Ilib/replace CONFIGURE_OPTIONS="\ --prefix=%{_prefix} \ --localstatedir=%{LOCKDIR} \ @@ -160,19 +161,13 @@ CONFIGURE_OPTIONS="\ --with-profiling-data \ %endif --with-quotas \ -%if %{suse_version} < 1011 - --with-smbmount \ -%endif --with-swatdir=%{SWATDIR} \ --with-syslog \ --with-tdbsam \ --with-utmp \ --with-vfs \ --with-winbind \ - --with-shared-modules=%{idmap_modules} \ -%if %{make_python} - --with-python \ -%endif + --with-shared-modules=%{vfs_modules},%{idmap_modules} \ %if %{make_devel} --enable-developer \ --enable-krb5developer \ @@ -190,7 +185,6 @@ CONFIGURE_OPTIONS_DEVEL="--enable-debug --enable-developer" ./script/mkversion.sh %install -[ x"${RPM_BUILD_ROOT}" = x"/" ] && ( echo "your buildroot is /" && exit 0) || rm -rf "${RPM_BUILD_ROOT}" mkdir -p \ ${RPM_BUILD_ROOT}/%{DOCDIR} \ ${RPM_BUILD_ROOT}/%{DOCBOOKDIR} \ @@ -305,8 +299,8 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %changelog * Thu Jan 24 2008 lmuelle@suse.de diff --git a/samba.changes b/samba.changes index d1d5334..c09b089 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,97 @@ +------------------------------------------------------------------- +Wed Apr 23 13:30:26 CEST 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 15:47:56 CEST 2008 - jmcdonough@suse.de + +- Update kdc dns-only lookup patch to IPv6. + +------------------------------------------------------------------- +Thu Apr 17 12:18:03 CEST 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 11:30:17 CEST 2008 - anschneider@suse.de + +- Enable the build of vfs_cacheprime and vfs_readahead modules. + +------------------------------------------------------------------- +Mon Apr 14 23:14:07 CEST 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 15:29:54 CEST 2008 - anschneider@suse.de @@ -77,7 +171,7 @@ Wed Jan 23 15:53:03 CET 2008 - anschneider@suse.de Wed Jan 9 04:30:56 CET 2008 - boyang@novell.com - Remove duplicate domain name prepend when user SID is in winbindd cache; - [#336854] + [#336854]. ------------------------------------------------------------------- Thu Dec 20 16:32:32 CET 2007 - anschneider@suse.de @@ -87,7 +181,7 @@ Thu Dec 20 16:32:32 CET 2007 - anschneider@suse.de ------------------------------------------------------------------- Wed Dec 12 13:59:11 CET 2007 - jmcdonough@suse.de -- Update to 3.0.28 +- Update to 3.0.28. + Fix send_mailslot overflow: CVE-2007-6015; [#343702]. ------------------------------------------------------------------- @@ -169,6 +263,30 @@ Fri Oct 5 17:36:28 CEST 2007 - jmcdonough@suse.de - Use FQDN in KDC DNS lookup; [#295284]. +------------------------------------------------------------------- +Thu Oct 4 00:59:14 CEST 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 3 23:42:42 CEST 2007 - jmcdonough@suse.de diff --git a/samba.spec b/samba.spec index a06e7ee..32e9985 100644 --- a/samba.spec +++ b/samba.spec @@ -1,5 +1,5 @@ # -# spec file for package samba (Version 3.0.28a) +# spec file for package samba (Version 3.2.0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -13,17 +13,17 @@ Name: samba BuildRequires: ccache cracklib-devel cups-devel e2fsprogs-devel gdbm-devel krb5-devel libacl-devel libiniparser-devel libnscd-devel openldap2-devel pam-devel popt-devel pwdutils python-devel readline-devel -%define samba_ver 3.0.28a -%define samba_ver_suffix %nil +%define samba_ver 3.2.0 +%define samba_ver_suffix pre2 %define samba_ver_full %{samba_ver}%{samba_ver_suffix} %define vscan_ver 0.3.6b %define ldapsmb_ver 1.34b -License: GPL v2 or later +License: GPL v3 or later Group: Productivity/Networking/Samba Url: http://www.samba.org/ AutoReqProv: on -Version: 3.0.28a -Release: 9 +Version: 3.2.0 +Release: 1 Provides: samba3 = %{version}-%{release} Obsoletes: samba3 < %{version} Requires: samba-client >= %{version} @@ -41,9 +41,8 @@ Source11: http://www.hhrm.de/~gd/ldapsmb/ldapsmb-%{ldapsmb_ver}.tar.bz2 %define use_ccache 0 # 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_python 1 %define make_utils 0 -%define make_vscan 1 +%define make_vscan 0 %define make_ldapsmb 1 %if %{suse_version} < 1021 # requires: libxml2 libxml2-devel mysql-devel mysql-shared @@ -63,6 +62,7 @@ Source11: http://www.hhrm.de/~gd/ldapsmb/ldapsmb-%{ldapsmb_ver}.tar.bz2 %define INITDIR %{_sysconfdir}/init.d %define PIDDIR %{_localstatedir}/run/samba %define idmap_modules idmap_ad,idmap_ldap,idmap_rid +%define vfs_modules vfs_cacheprime,vfs_readahead %if %ul_version >= 1 %define VENDOR UL %else @@ -75,7 +75,7 @@ Source11: http://www.hhrm.de/~gd/ldapsmb/ldapsmb-%{ldapsmb_ver}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %package client -License: GPL v2 or later +License: GPL v3 or later Summary: Samba Client Utilities Group: Productivity/Networking/Samba AutoReqProv: on @@ -88,7 +88,7 @@ Requires: cifs-mount %if %{suse_version} > 1020 %package devel -License: GPL v2 or later +License: GPL v3 or later Summary: Libraries and Header Files to Develop Programs with Samba Support Group: Development/Libraries/C and C++ AutoReqProv: on @@ -96,7 +96,7 @@ AutoReqProv: on %if %{suse_version} < 1001 %package doc -License: GPL v2 or later +License: GPL v3 or later Summary: Samba Documentation Group: Documentation/Other AutoReqProv: on @@ -106,14 +106,14 @@ PreReq: /bin/rm /usr/bin/find /usr/bin/xargs %endif %package krb-printing -License: GPL v2 or later +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 %if %{suse_version} > 1000 -PreReq: /sbin/conf.d/SuSEconfig.permissions +PreReq: /sbin/conf.d/SuSEconfig.permissions /bin/ln %endif Requires: samba-client >= %{version} %if %{make_pdb} @@ -126,18 +126,6 @@ AutoReqProv: on Provides: samba3-pdb = %{version}-%{release} Obsoletes: samba3-pdb %endif -%if %{make_python} - -%package python -License: GPL v2 or later -Summary: Samba Python Modules -Group: Productivity/Networking/Samba -AutoReqProv: on -%define pyver %(python -c "import sys; print sys.version[:3]") -Provides: samba3-python = %{version}-%{release} -Obsoletes: samba3-python -Requires: python >= %pyver, python < %pyver.99 -%endif %if %{make_utils} %package utils @@ -150,14 +138,14 @@ Obsoletes: samba3-utils %endif %package winbind -License: GPL v2 or later +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 Requires: samba-client >= %{version} -PreReq: /bin/ln /sbin/ldconfig /sbin/insserv +PreReq: /bin/ln /sbin/ldconfig /sbin/insserv /bin/rm %if %{suse_version} < 1031 %package -n libsmbclient @@ -187,42 +175,91 @@ Requires: libsmbclient = %{version} krb5-devel Requires: libsmbclient0 = %{version} krb5-devel %endif -%package -n libmsrpc -License: GPL v2 or later -Summary: Samba msrpc Library -Group: System/Libraries +%package -n libnetapi0 +License: GPL v3 or later +Summary: Samba netapi Library +Group: Productivity/Networking/Samba AutoReqProv: on PreReq: /sbin/ldconfig -%package -n libmsrpc-devel -License: GPL v2 or later -Summary: Libraries and Header Files to Develop Programs with msrpc Support -Group: Development/Libraries/C and C++ +%package -n libnetapi-devel +License: GPL v3 or later +Summary: Libraries and Header Files to Develop Programs with netapi Support +Group: Productivity/Networking/Samba AutoReqProv: on -Requires: libmsrpc = %{version} +Requires: libnetapi0 = %{version} +%if %{suse_version} < 1031 %package -n libsmbsharemodes -License: GPL v2 or later +License: GPL v3 or later +%else + +%package -n libsmbsharemodes0 + +%endif Summary: Samba smbsharemodes Library Group: System/Libraries AutoReqProv: on PreReq: /sbin/ldconfig %package -n libsmbsharemodes-devel -License: GPL v2 or later +License: GPL v3 or later Summary: Samba smbsharemodes Library Group: System/Libraries AutoReqProv: on Requires: libsmbsharemodes = %{version} %if %{make_ldapsmb} +%package -n libtalloc1 +License: GPL v3 or later +Summary: Samba talloc Library +Group: Productivity/Networking/Samba +AutoReqProv: on +PreReq: /sbin/ldconfig + +%package -n libtalloc-devel +License: GPL v3 or later +Summary: Libraries and Header Files to Develop Programs with talloc Support +Group: Productivity/Networking/Samba +AutoReqProv: on +Requires: libtalloc1 = %{version} + +%package -n libtdb0 +License: GPL v3 or later +Summary: Samba tdb Library +Group: Productivity/Networking/Samba +AutoReqProv: on +PreReq: /sbin/ldconfig + +%package -n libtdb-devel +License: GPL v3 or later +Summary: Libraries and Header Files to Develop Programs with tdb Support +Group: Productivity/Networking/Samba +AutoReqProv: on +PreReq: /sbin/ldconfig +Requires: libtdb0 = %{version} + +%package -n libwbclient0 +License: GPL v3 or later +Summary: Samba libwbclient Library +Group: Productivity/Networking/Samba +AutoReqProv: on +PreReq: /sbin/ldconfig + +%package -n libwbclient-devel +License: GPL v3 or later +Summary: Libraries and Header Files to Develop Programs with wbclient Support +Group: Productivity/Networking/Samba +AutoReqProv: on +Requires: libwbclient0 = %{version} + %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: 171 +Release: 174 Requires: perl-ldap %endif %if %{suse_version} > 920 @@ -241,7 +278,7 @@ Summary: On-Access Virus Scanning with Samba Group: Productivity/Networking/Samba AutoReqProv: on Version: 0.3.6b -Release: 242 +Release: 245 Provides: samba3-vscan = 0.3.6b Obsoletes: samba3-vscan Requires: samba = %{samba_ver} @@ -329,7 +366,8 @@ export CC="ccache gcc" %endif cd source %{?suse_update_config:%{suse_update_config -f}} -autoreconf --force --install -Ilib/replace +ln -s m4/aclocal.m4 aclocal.m4 +autoreconf --force --install -I. -Im4 -Ilib/replace CONFIGURE_OPTIONS="\ --prefix=%{_prefix} \ --localstatedir=%{LOCKDIR} \ @@ -354,19 +392,13 @@ CONFIGURE_OPTIONS="\ --with-profiling-data \ %endif --with-quotas \ -%if %{suse_version} < 1011 - --with-smbmount \ -%endif --with-swatdir=%{SWATDIR} \ --with-syslog \ --with-tdbsam \ --with-utmp \ --with-vfs \ --with-winbind \ - --with-shared-modules=%{idmap_modules} \ -%if %{make_python} - --with-python \ -%endif + --with-shared-modules=%{vfs_modules},%{idmap_modules} \ %if %{make_devel} --enable-developer \ --enable-krb5developer \ @@ -405,16 +437,12 @@ rm ldapsmb %{__make} %{?jobs:-j%jobs} all doc popd %endif -%if %{make_python} -%{__make} python_ext -%endif make test_pam_modules # Run testsuite cd ../testsuite/libsmbclient/src make %install -[ x"${RPM_BUILD_ROOT}" = x"/" ] && ( echo "your buildroot is /" && exit 0) || rm -rf "${RPM_BUILD_ROOT}" %if %{make_devel} export NO_BRP_STRIP_DEBUG="true" %endif @@ -548,18 +576,26 @@ cp -p source/bin/smbfilter ${RPM_BUILD_ROOT}/%{_bindir}/ # smbget cp -p source/bin/smbget ${RPM_BUILD_ROOT}/%{_bindir}/ # workaround for wrong(?) used LIBDIR setting -for file in libsmbclient libmsrpc libsmbsharemodes; do +for file in libnetapi libsmbclient libsmbsharemodes libtalloc libtdb libwbclient; do rm "${RPM_BUILD_ROOT}/%{LIBDIR}/${file}.so" # install libs - install -m 0644 "source/bin/${file}.a" "${RPM_BUILD_ROOT}/%{_libdir}" - install -m 0755 "source/bin/${file}.so" "${RPM_BUILD_ROOT}/%{_libdir}/${file}.so.0" - ln -s "${file}.so.0" "${RPM_BUILD_ROOT}/%{_libdir}/${file}.so" + test -e "source/bin/${file}.a" && \ + install -m 0644 "source/bin/${file}.a" "${RPM_BUILD_ROOT}/%{_libdir}" + if test -e "source/bin/${file}.so"; then + install -m 0755 "source/bin/${file}.so" "${RPM_BUILD_ROOT}/%{_libdir}/${file}.so.0" + ln -s "${file}.so.0" "${RPM_BUILD_ROOT}/%{_libdir}/${file}.so" + fi done # install nsswitch-headers (for squid, etc. #FIXME) -mkdir -p ${RPM_BUILD_ROOT}/%{_includedir}/samba/nsswitch -for file in winbind_client.h winbind_nss.h winbind_nss_config.h winbind_nss_linux.h winbindd.h winbindd_nss.h winbindd_proto.h; do +mkdir -p \ + ${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 cp -p "source/nsswitch/${file}" ${RPM_BUILD_ROOT}/%{_includedir}/samba/nsswitch/ done +for file in winbindd.h winbindd_proto.h; do + cp -p "source/winbindd/${file}" ${RPM_BUILD_ROOT}/%{_includedir}/samba/winbindd/ +done # install smbtorture and other test-programs %if %{make_utils} install -m 0755 source/bin/debug2html ${RPM_BUILD_ROOT}/%{_bindir}/ @@ -590,14 +626,12 @@ VSCAN="$VFS/samba-vscan-%{vscan_ver}" PDB="${RPM_BUILD_DIR}/samba-%{samba_ver_full}/examples/pdb" dirs="$PDB $SAM $VFS" (for i in $dirs; do make -C "${i}" clean; done) -# install python -%if %{make_python} -cp -a source/build/lib.*/samba ${RPM_BUILD_ROOT}/%{_libdir}/python/lib-dynload/ -%endif # add docs %if %{make_vscan} mv examples/VFS/samba-vscan-%{vscan_ver} . %endif +## FIXME upstream; don't install these files. +rm ${RPM_BUILD_ROOT}/%{_mandir}/man8/{smbmnt,smbmount,smbumount}.8 # pam_smbpass is missing cp -a source/pam_smbpass/samples examples/pam_smbpass cp -p source/pam_smbpass/{CHANGELOG,INSTALL,README,TODO} examples/pam_smbpass/ @@ -666,6 +700,12 @@ for file in $( find . -mindepth 1 -maxdepth 1);do done popd %endif +# Workaround bug 380693 by relocating the CIFS helper apps to /usr +%if %{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 || : @@ -707,6 +747,30 @@ fi %postun client /sbin/ldconfig %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 libtdb0 +/sbin/ldconfig + +%postun -n libtdb0 +/sbin/ldconfig %if %{suse_version} < 1001 %pre doc @@ -775,17 +839,21 @@ fi %postun -n libsmbclient0 %endif /sbin/ldconfig - -%post -n libmsrpc -/sbin/ldconfig - -%postun -n libmsrpc -/sbin/ldconfig +%if %{suse_version} < 1031 %post -n libsmbsharemodes +%else + +%post -n libsmbsharemodes0 +%endif /sbin/ldconfig +%if %{suse_version} < 1031 %postun -n libsmbsharemodes +%else + +%postun -n libsmbsharemodes0 +%endif /sbin/ldconfig %clean @@ -853,12 +921,14 @@ fi %doc %{_mandir}/man8/vfs_shadow_copy.8.gz %if %{suse_version} < 1021 %{_includedir}/samba +%{_includedir}/*.h %endif %if %{suse_version} > 1020 %files devel %defattr(-,root,root) %{_includedir}/samba +%{_includedir}/*.h %endif %files client @@ -876,6 +946,11 @@ fi %{_sysconfdir}/sysconfig/network/scripts/dhcpcd-hook-samba-functions %{_bindir}/eventlogadm %{_bindir}/findsmb +%{_bindir}/ldbadd +%{_bindir}/ldbdel +%{_bindir}/ldbedit +%{_bindir}/ldbmodify +%{_bindir}/ldbsearch %{_bindir}/net %{_bindir}/nmblookup %{_bindir}/nmbstatus @@ -898,15 +973,6 @@ fi %{_bindir}/tdbtool %{_bindir}/testparm %{_sbindir}/rcsmbfs -%if %{suse_version} < 1011 -%{_bindir}/smbmnt -%{_bindir}/smbmount -%{_bindir}/smbumount -%doc %{_mandir}/man8/smbmnt.8.gz -%doc %{_mandir}/man8/smbmount.8.gz -%doc %{_mandir}/man8/smbumount.8.gz -/sbin/mount.smbfs -%endif /%{_lib}/libnss_wins.so.2 %dir %{_libdir}/cups %dir %{_libdir}/cups/backend @@ -919,7 +985,13 @@ fi %dir %{LIBDIR}/nss_info %{LIBDIR}/nss_info/rfc2307.so %{LIBDIR}/nss_info/sfu.so +%{LIBDIR}/nss_info/sfu20.so %doc %{_mandir}/man1/findsmb.1.gz +%doc %{_mandir}/man1/ldbadd.1.gz +%doc %{_mandir}/man1/ldbdel.1.gz +%doc %{_mandir}/man1/ldbedit.1.gz +%doc %{_mandir}/man1/ldbmodify.1.gz +%doc %{_mandir}/man1/ldbsearch.1.gz %doc %{_mandir}/man1/nmblookup.1.gz %doc %{_mandir}/man1/nmbstatus.1.gz %doc %{_mandir}/man1/profiles.1.gz @@ -964,6 +1036,8 @@ fi %if %{suse_version} < 921 /sbin/mount.cifs /sbin/umount.cifs +%{_sbindir}/mount.cifs +%{_sbindir}/umount.cifs %doc %{_mandir}/man8/mount.cifs.8.gz %doc %{_mandir}/man8/umount.cifs.8.gz %endif @@ -1053,17 +1127,15 @@ fi %doc samba-vscan-%{vscan_ver}/*/vscan-*.conf %dir %{LIBDIR}/vfs %endif -%if %{make_python} -%files python +%files -n libnetapi0 %defattr(-,root,root) -%doc source/python/README -%doc source/python/examples -%doc source/python/gprinterdata -%doc source/python/gtdbtool -%doc source/python/gtkdictbrowser.py -%{_libdir}/python/lib-dynload/samba -%endif +%{_libdir}/libnetapi.so.* + +%files -n libnetapi-devel +%defattr(-,root,root) +%{_libdir}/libnetapi.a +%{_libdir}/libnetapi.so %if %{suse_version} < 1031 %files -n libsmbclient @@ -1080,18 +1152,13 @@ fi %{_includedir}/libsmbclient.h %{_libdir}/libsmbclient.a %{_libdir}/libsmbclient.so - -%files -n libmsrpc -%defattr(-,root,root) -%{_libdir}/libmsrpc.so.* - -%files -n libmsrpc-devel -%defattr(-,root,root) -%{_includedir}/libmsrpc.h -%{_libdir}/libmsrpc.a -%{_libdir}/libmsrpc.so +%if %{suse_version} < 1031 %files -n libsmbsharemodes +%else + +%files -n libsmbsharemodes0 +%endif %defattr(-,root,root) %{_libdir}/libsmbsharemodes.so.* @@ -1102,6 +1169,33 @@ fi %{_libdir}/libsmbsharemodes.so %if %{make_ldapsmb} +%files -n libtalloc1 +%defattr(-,root,root) +%{_libdir}/libtalloc.so.* + +%files -n libtalloc-devel +%defattr(-,root,root) +%{_libdir}/libtalloc.a +%{_libdir}/libtalloc.so + +%files -n libtdb0 +%defattr(-,root,root) +%{_libdir}/libtdb.so.* + +%files -n libtdb-devel +%defattr(-,root,root) +%{_libdir}/libtdb.a +%{_libdir}/libtdb.so + +%files -n libwbclient0 +%defattr(-,root,root) +%{_libdir}/libwbclient.so.* + +%files -n libwbclient-devel +%defattr(-,root,root) +#%{_libdir}/libwbclient.a +%{_libdir}/libwbclient.so + %files -n ldapsmb %defattr(-,root,root) %{_sbindir}/ldapsmb @@ -1111,6 +1205,10 @@ fi %files -n cifs-mount %defattr(-,root,root) +%if %{suse_version} < 1030 +%{_sbindir}/mount.cifs +%{_sbindir}/umount.cifs +%endif /sbin/mount.cifs /sbin/umount.cifs %doc %{_mandir}/man8/mount.cifs.8.gz @@ -1139,8 +1237,8 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %if %{suse_version} > 1020 @@ -1154,8 +1252,8 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %endif @@ -1181,8 +1279,8 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %description winbind This is the winbind-daemon and the wbinfo-tool. @@ -1193,8 +1291,8 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %if %{make_utils} @@ -1225,8 +1323,8 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %endif @@ -1239,8 +1337,8 @@ Authors: -------- Jeremy Allison -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %if %{make_pdb} @@ -1253,8 +1351,8 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %endif %if %{make_vscan} @@ -1271,14 +1369,13 @@ Authors: -------- Rainer Link -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %endif -%if %{make_python} -%description python -This package provides the Samba Python modules. +%description -n libnetapi0 +This package includes the netapi library. @@ -1286,10 +1383,22 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk + +%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: 1728 +Branch : trunk -%endif %if %{suse_version} < 1031 %description -n libsmbclient @@ -1307,8 +1416,8 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %else @@ -1321,11 +1430,11 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %endif -This package includes the libsmbclient library. +This package includes the smbclient library. Authors: -------- The Samba Team @@ -1340,33 +1449,10 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk -%description -n libmsrpc -This package includes the libmsrpc library. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1683 -Branch : 3.0.28a - -%description -n libmsrpc-devel -This package contains the static libraries and header files needed to -develop programs which make use of the msrpc programming interface. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1683 -Branch : 3.0.28a +%if %{suse_version} < 1031 %description -n libsmbsharemodes This package includes the smbsharemodes library. @@ -1377,8 +1463,18 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk + +%else + +%description -n libsmbsharemodes0 + +%endif +This package includes the smbsharemodes library. +Authors: +-------- + The Samba Team %description -n libsmbsharemodes-devel This package contains the static libraries and header files needed to @@ -1391,8 +1487,83 @@ Authors: -------- The Samba Team -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk + +%description -n libtalloc1 +This package includes the talloc library. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1728 +Branch : trunk + +%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: 1728 +Branch : trunk + +%description -n libtdb0 +This package includes the tdb library. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1728 +Branch : trunk + +%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: 1728 +Branch : trunk + +%description -n libwbclient0 +This package includes the wbclient library. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1728 +Branch : trunk + +%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: 1728 +Branch : trunk %if %{make_ldapsmb} @@ -1406,8 +1577,8 @@ Authors: -------- Guenther Deschner -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %endif %if %{suse_version} > 920 @@ -1422,12 +1593,91 @@ Authors: -------- Steve French -Source Timestamp: 1683 -Branch : 3.0.28a +Source Timestamp: 1728 +Branch : trunk %endif %changelog +* 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. +* Tue Apr 15 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 @@ -1466,11 +1716,11 @@ Branch : 3.0.28a - 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] + [#336854]. * 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 +- Update to 3.0.28. + Fix send_mailslot overflow: CVE-2007-6015; [#343702]. * Thu Nov 29 2007 jmcdonough@suse.de - Additional cases and problems caused by fix for CVE-2007-4572; @@ -1509,6 +1759,27 @@ Branch : 3.0.28a variables; [#253862c223]. * Fri Oct 05 2007 jmcdonough@suse.de - Use FQDN in KDC DNS lookup; [#295284]. +* Thu Oct 04 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. * Thu Oct 04 2007 jmcdonough@suse.de - Make nss_winbind thread-safe; [#293907, #329796]. * Wed Oct 03 2007 jmcdonough@suse.de diff --git a/vendor-files.tar.bz2 b/vendor-files.tar.bz2 index 96283bc..f5a3533 100644 --- a/vendor-files.tar.bz2 +++ b/vendor-files.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d5863d38d37964a2d89e0fe354395701b624cbc5e7fd1cea3ef89913ea457f3c -size 21847 +oid sha256:2728a3a4bc3393021ea1d0a536a0beb56e3647a2da22414eb7b24a8f5b59b1a0 +size 21907