rpms/samba/F-7 samba-3.0.26a-winbindd-padding.patch, NONE, 1.1 samba.spec, 1.136, 1.137

Simo Sorce (simo) fedora-extras-commits at redhat.com
Thu Oct 18 17:02:18 UTC 2007


Author: simo

Update of /cvs/pkgs/rpms/samba/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20826

Modified Files:
	samba.spec 
Added Files:
	samba-3.0.26a-winbindd-padding.patch 
Log Message:

Fix multilib problem
bug 253036



samba-3.0.26a-winbindd-padding.patch:

--- NEW FILE samba-3.0.26a-winbindd-padding.patch ---
--- samba-3.0.26a/source/nsswitch/winbindd_nss.h.orig	2007-10-18 12:43:25.000000000 -0400
+++ samba-3.0.26a/source/nsswitch/winbindd_nss.h	2007-10-18 12:43:41.000000000 -0400
@@ -319,7 +319,7 @@
 		   The size is the sizeof the union without the padding aligned on 
 		   an 8 byte boundary.   --jerry */
 
-		char padding[1560];
+		char padding[1800];
 	} data;
 	union {
 		SMB_TIME_T padding;
--- samba-3.0.26a/source/nsswitch/winbindd.c.orig	2007-10-18 12:44:24.000000000 -0400
+++ samba-3.0.26a/source/nsswitch/winbindd.c	2007-10-18 12:44:55.000000000 -0400
@@ -540,8 +540,8 @@
 	}
 
 	if (*(uint32 *)(&state->request) != sizeof(state->request)) {
-		DEBUG(0,("request_len_recv: Invalid request size received: %d\n",
-			 *(uint32 *)(&state->request)));
+		DEBUG(0,("request_len_recv: Invalid request size received: %d (expected %d)\n",
+			 *(uint32 *)(&state->request), sizeof(state->request)));
 		state->finished = True;
 		return;
 	}


Index: samba.spec
===================================================================
RCS file: /cvs/pkgs/rpms/samba/F-7/samba.spec,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -r1.136 -r1.137
--- samba.spec	15 Oct 2007 16:21:53 -0000	1.136
+++ samba.spec	18 Oct 2007 17:01:44 -0000	1.137
@@ -2,7 +2,7 @@
 Name: samba
 Epoch: 0
 Version: 3.0.26a
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: System Environment/Daemons
 URL: http://www.samba.org/
@@ -42,6 +42,7 @@
 Patch111: samba-3.0.13-smbclient.patch
 Patch200: samba-3.0.25rc1-inotifiy.patch
 Patch201: samba3_idmap_default_domain.patch
+Patch202: samba-3.0.26a-winbindd-padding.patch
 
 Requires(pre): samba-common = %{epoch}:%{version}-%{release}
 Requires: pam >= 0:0.64
@@ -159,6 +160,7 @@
 %patch111 -p1 -b .smbclient
 %patch200 -p0 -b .inotify
 %patch201 -p0 -b .idmap_def_dom
+%patch202 -p1 -b .winbindd_padding
 
 mv source/VERSION source/VERSION.orig
 sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{release}\"/' < source/VERSION.orig > source/VERSION
@@ -644,6 +646,9 @@
 #%{_includedir}/libmsrpc.h
 
 %changelog
+* Thu Oct 16 2007 Simo Sorce <ssorce at redhat.com> 3.0.26a-6.fc7
+- Fix bug 253036
+
 * Sun Oct 14 2007 Simo Sorce <ssorce at redhat.com> 3.0.26a-5.fc7
 - Fix default domain patch turned out to be incomplete, fixed
 




More information about the fedora-extras-commits mailing list