Hello community, here is the log from the commit of package samba for openSUSE:Factory checked in at 2015-04-22 01:11:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/samba (Old) and /work/SRC/openSUSE:Factory/.samba.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "samba" Changes: -------- --- /work/SRC/openSUSE:Factory/samba/samba.changes 2015-03-30 19:09:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.samba.new/samba.changes 2015-04-22 01:11:42.000000000 +0200 @@ -1,0 +2,54 @@ +Thu Apr 16 11:32:55 UTC 2015 - lmue...@suse.com + +- Update to 4.2.1. + + s3:winbind:grent: Don't stop group enumeration when a group has no gid; + (bso#8905). + + Initialize dwFlags field of DNS_RPC_NODE structure; (bso#9791). + + s3: lib: ntlmssp: If NTLMSSP_NEGOTIATE_TARGET_INFO isn't set, cope with + servers that don't send the 2 unused fields; (bso#10016). + + build:wafadmin: Fix use of spaces instead of tabs; (bso#10476). + + waf: Fix the build on openbsd; (bso#10476). + + s3: client: "client use spnego principal = yes" code checks wrong name; + (bso#10888). + + spoolss: Retrieve published printer GUID if not in registry; (bso#11018). + + s3: lib: libsmbclient: If reusing a server struct, check every cli->timout + miliseconds if it's still valid before use; (bso#11079). + + vfs_fruit: Enhance handling of malformed AppleDouble files; (bso#11125). + + backupkey: Explicitly link to gnutls and gcrypt; (bso#11135). + + replace: Remove superfluous check for gcrypt header; (bso#11135). + + Backport subunit changes; (bso#11137). + + libcli/auth: Match Declaration of netlogon_creds_cli_context_tmp with + implementation; (bso#11140). + + s3-winbind: Fix cached user group lookup of trusted domains; (bso#11143). + + talloc: Version 2.1.2; (bso#11144). + + Update libwbclient version to 0.12; (bso#11149). + + brlock: Use 0 instead of empty initializer list; (bso#11153). + + s4:auth/gensec_gssapi: Let gensec_gssapi_update() return + NT_STATUS_LOGON_FAILURE for unknown errors; (bso#11164). + + docs/idmap_rid: Remove deprecated base_rid from example; (bso#11169); + (bnc#913304). + + s3: libcli: smb1: Ensure we correctly finish a tevent req if the writev + fails in the SMB1 case; (bso#11173). + + backupkey: Use ndr_pull_struct_blob_all(); (bso#11174). + + Fix lots of winbindd zombie processes on Solaris platform; (bso#11175). + + s3: libsmbclient: Add missing talloc stackframe; (bso#11177). + + s4-process_model: Do not close random fds while forking; (bso#11180). + + s3-passdb: Fix 'force user' with winbind default domain; (bso#11185). + +------------------------------------------------------------------- +Thu Apr 16 10:20:52 UTC 2015 - lmue...@suse.com + +- Prevent samba package updates from disabling samba kerberos printing. + +------------------------------------------------------------------- +Thu Apr 9 12:02:25 UTC 2015 - noel.po...@suse.com + +- Add sparse file support for samba; (fate#318424). + +------------------------------------------------------------------- +Tue Mar 31 23:21:12 UTC 2015 - dd...@suse.com + +- Purge printer name cache on spoolss SetPrinter change; (bso#11210); + (bnc#901813). + +------------------------------------------------------------------- @@ -434 +488 @@ -Thu Sep 18 16:59:49 UDT 2014 - jmcdono...@suse.com +Thu Sep 18 16:59:49 UTC 2014 - jmcdono...@suse.com @@ -437,0 +492,6 @@ + +------------------------------------------------------------------- +Thu Sep 18 08:54:38 UTC 2014 - jmcdono...@suse.com + +- Use domain name if search by domain SID fails to send SIDHistory + lookups to correct idmap backend; (bnc#773464). Old: ---- samba-4.2.0.tar.asc samba-4.2.0.tar.gz New: ---- samba-4.2.1.tar.asc samba-4.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ samba.spec ++++++ --- /var/tmp/diff_new_pack.Xyp7Vx/_old 2015-04-22 01:11:43.000000000 +0200 +++ /var/tmp/diff_new_pack.Xyp7Vx/_new 2015-04-22 01:11:43.000000000 +0200 @@ -121,7 +121,7 @@ BuildRequires: systemd BuildRequires: systemd-devel %endif -%define samba_ver 4.2.0 +%define samba_ver 4.2.1 %define samba_ver_suffix %nil %if "%{samba_ver_suffix}" == "" %define samba_source_location http://ftp.samba.org/pub/samba/stable/samba-%{version}.tar.gz @@ -143,11 +143,11 @@ %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -%define SOURCE_TIMESTAMP 3386 +%define SOURCE_TIMESTAMP 3400 %define BRANCH %{version} %global with_mitkrb5 1 %global with_dc 0 -Version: 4.2.0 +Version: 4.2.1 Release: 0 Url: http://www.samba.org/ Provides: samba-gplv3 = %{version} @@ -1384,7 +1384,7 @@ done # cups SMB support mkdir -p %{buildroot}/%{cups_lib_dir}/backend/ -ln -s %{_bindir}/smbspool %{buildroot}/%{cups_lib_dir}/backend/smb +touch %{buildroot}/%{cups_lib_dir}/backend/smb # pam_smbpass is missing cp -a source3/pam_smbpass/samples examples/pam_smbpass install -m 0644 source3/pam_smbpass/CHANGELOG examples/pam_smbpass/CHANGELOG @@ -1510,6 +1510,9 @@ fi fi %endif +if ! test -e %{_bindir}/get_printing_ticket; then + ln -fs %{_bindir}/smbspool %{cups_lib_dir}/backend/smb +fi %if 0%{?suse_version} > 1220 %{fillup_only -ans samba client} %endif @@ -1797,7 +1800,7 @@ %{_bindir}/testparm %dir %{cups_lib_dir} %dir %{cups_lib_dir}/backend -%{cups_lib_dir}/backend/smb +%ghost %{cups_lib_dir}/backend/smb %{_libdir}/libnss_wins.so.* %dir %{_libdir}/samba %{_libdir}/samba/charset ++++++ patches.tar.bz2 ++++++ ++++ 3653 lines of diff (skipped) ++++++ samba-4.2.0.tar.gz -> samba-4.2.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/samba/samba-4.2.0.tar.gz /work/SRC/openSUSE:Factory/.samba.new/samba-4.2.1.tar.gz differ: char 5, line 1 ++++++ vendor-files.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files/tools/get_printing_ticket.c new/vendor-files/tools/get_printing_ticket.c --- old/vendor-files/tools/get_printing_ticket.c 2015-01-19 18:08:14.000000000 +0100 +++ new/vendor-files/tools/get_printing_ticket.c 1970-01-01 01:00:00.000000000 +0100 @@ -1,156 +0,0 @@ -/* - Copyright (C) Dan Winship 2006 - Copyright (C) Jeremy Allison 2006 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ - -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - -#include <stdio.h> -#include <sys/types.h> -#include <unistd.h> -#include <pwd.h> -#include <grp.h> -#include <errno.h> -#include <string.h> -#include <stdlib.h> - -#ifndef DEBUG_ERROR -#define DEBUG_ERROR printf -#endif - -/* Usage: - * - * get_printing_ticket <smbspool cups args.> - * - * The cups args look like : - * - * [DEVICE_URI] job-id user title copies options [file] - - * Sets its uid to the given username and then invokes smbspool. - */ - -#if 0 -/* NEVER ENABLE THIS IT IS A SECURITY HOLE. USE ONLY FOR DEBUGGING. JRA. */ -int printargs(const char *name, int argc, char **argv) -{ - FILE *fp; - int i; - fp = fopen(name, "w"); - for ( i = 0; i < argc; i++) { - fprintf(fp, "argv[%d] = '%s'\n", i, argv[i]); - } - fclose(fp); -} -#endif - -char *null_envp[] = { NULL }; - -int main (int argc, char **argv) -{ - uid_t uid, LP_UID; - gid_t gid, LP_GID; - struct passwd *pw; - - /* Get uid and gid of user lp */ - pw = getpwnam( "lp"); - if (!pw) { - DEBUG_ERROR ( "Unknown username lp\n"); - return 1; - } - LP_UID = pw->pw_uid; - if (LP_UID == (uid_t)-1) { - DEBUG_ERROR ("Bad uid %lu for user lp\n", (unsigned long)LP_UID); - return 1; - } - LP_GID = pw->pw_gid; - if (LP_GID == (gid_t)-1) { - DEBUG_ERROR ("Bad gid %lu for user lp\n", (unsigned long)LP_GID); - return 1; - } - - /* Check that calling uid/gid is "lp" or 0. (This hack doesn't have to - * survive beyond CODE10, so we can safely hardcode the ids.) - */ - - /* - * THE FOLLOWING IS DONE AS ROOT. BEWARE !!!!!!! - */ - - if (getuid() != LP_UID && getuid() != 0) { - DEBUG_ERROR ("Bad invoking uid %lu\n", (unsigned long)getuid ()); - return 1; - } - if (getgid() != LP_GID && getgid() != 0) { - DEBUG_ERROR ("Bad invoking gid %lu\n", (unsigned long)getgid ()); - return 1; - } - - if (argc == 1) { - uid = LP_UID; /* Invoke as uid lp to do a query-only. */ - gid = LP_GID; /* define gid too to suppress a warning */ - } else if (argc == 6 || argc == 7) { - pw = getpwnam(argv[2]); - if (!pw) { - DEBUG_ERROR ("Unknown username %s\n", argv[3]); - return 1; - } - uid = pw->pw_uid; - if (uid == (uid_t)-1) { - DEBUG_ERROR ("Bad uid %lu\n", (unsigned long)uid); - return 1; - } - gid = pw->pw_gid; - if (gid == (gid_t)-1) { - DEBUG_ERROR ("Bad gid %lu\n", (unsigned long)gid); - return 1; - } - } else { - DEBUG_ERROR ("Bad number of args %u\n", (unsigned int)argc); - return 1; - } - - if (uid != LP_UID && uid < 500) { - DEBUG_ERROR ("Bad uid %lu\n", (unsigned long)uid); - return 1; - } - if (setgroups (0, NULL) != 0) { - DEBUG_ERROR ("Couldn't clear groups: %s\n", strerror (errno)); - return 1; - } - if (setresgid (gid, gid, gid) != 0) { - DEBUG_ERROR ("Couldn't set gid: %s\n", strerror (errno)); - return 1; - } - if (setresuid (uid, uid, uid) != 0) { - DEBUG_ERROR ("Couldn't set uid: %s\n", strerror (errno)); - return 1; - } - - /* Clear the environment to ensure nothing can - be loaded via LD_PRELOAD. Thanks to Sebastian Krahmer - from the SuSE security Team for reviewing this. */ - clearenv(); - - /* - * We are now the requested user. - * From cups arg[0] is the smb:// uri and smbspool expects this - */ - - return execve ("/usr/bin/smbspool", argv, null_envp); -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files/tools/package-data new/vendor-files/tools/package-data --- old/vendor-files/tools/package-data 2015-03-20 15:43:27.000000000 +0100 +++ new/vendor-files/tools/package-data 2015-04-16 14:23:52.000000000 +0200 @@ -1,2 +1,2 @@ # This is an autogenrated file. -SAMBA_PACKAGE_SVN_VERSION="3386" +SAMBA_PACKAGE_SVN_VERSION="3400"