rpms/samba/F-11 samba-3.4.0-bug6551.patch, NONE, 1.1 samba.spec, 1.187, 1.188
Guenther Deschner
gd at fedoraproject.org
Thu Jul 16 23:05:48 UTC 2009
Author: gd
Update of /cvs/pkgs/rpms/samba/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31059
Modified Files:
samba.spec
Added Files:
samba-3.4.0-bug6551.patch
Log Message:
Fix Bug #6551 (vuid and tid not set in sessionsetupX and tconX)
Guenther
samba-3.4.0-bug6551.patch:
--- NEW FILE samba-3.4.0-bug6551.patch ---
>From 94565270786003d6fb97ec7289b904948db281cd Mon Sep 17 00:00:00 2001
From: Jeremy Allison <jra at samba.org>
Date: Wed, 15 Jul 2009 14:00:41 -0700
Subject: [PATCH] Fix bug #6551 - win98 clients cannot connect after server upgrade to samba-3.4.0.
The values of vuid and tid were not being correctly updated in the struct smb_request
when passed to chain_reply inside sessionsetupX and tconX.
Jeremy.
---
source3/smbd/reply.c | 2 ++
source3/smbd/sesssetup.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 6fe4f88..f76ab6d 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -759,6 +759,7 @@ void reply_tcon_and_X(struct smb_request *req)
END_PROFILE(SMBtconX);
+ req->tid = conn->cnum;
chain_reply(req);
return;
}
@@ -1924,6 +1925,7 @@ void reply_ulogoffX(struct smb_request *req)
DEBUG( 3, ( "ulogoffX vuid=%d\n", req->vuid ) );
END_PROFILE(SMBulogoffX);
+ req->vuid = UID_FIELD_INVALID;
chain_reply(req);
}
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 2c92c41..044e398 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -1805,6 +1805,7 @@ void reply_sesssetup_and_X(struct smb_request *req)
SSVAL(req->outbuf,smb_uid,sess_vuid);
SSVAL(req->inbuf,smb_uid,sess_vuid);
+ req->vuid = sess_vuid;
if (!done_sesssetup)
max_send = MIN(max_send,smb_bufsize);
--
1.5.4.3
Index: samba.spec
===================================================================
RCS file: /cvs/pkgs/rpms/samba/F-11/samba.spec,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -p -r1.187 -r1.188
--- samba.spec 15 Jul 2009 10:21:15 -0000 1.187
+++ samba.spec 16 Jul 2009 23:05:18 -0000 1.188
@@ -1,4 +1,4 @@
-%define main_release 39
+%define main_release 40
%define samba_version 3.4.0
%define tdb_version 1.1.3
%define talloc_version 1.2.0
@@ -48,6 +48,7 @@ Patch104: samba-3.0.0rc3-nmbd-netbiosnam
Patch107: samba-3.2.0pre1-grouppwd.patch
Patch200: samba-3.2.5-inotify.patch
Patch201: samba-3.4.0-build.patch
+Patch202: samba-3.4.0-bug6551.patch
Requires(pre): samba-common = %{epoch}:%{samba_version}-%{release}
Requires: pam >= 0:0.64
@@ -259,6 +260,7 @@ cp %{SOURCE11} packaging/Fedora/
%patch107 -p1 -b .grouppwd
%patch200 -p0 -b .inotify
%patch201 -p1 -b .build
+%patch202 -p1 -b .bug6551
mv %samba_source/VERSION %samba_source/VERSION.orig
sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{samba_release}\"/' < %samba_source/VERSION.orig > %samba_source/VERSION
@@ -885,6 +887,9 @@ exit 0
%{_datadir}/pixmaps/samba/logo-small.png
%changelog
+* Fri Jul 17 2009 Guenther Deschner <gdeschner at redhat.com> - 3.4.0-0.40
+- Fix Bug #6551 (vuid and tid not set in sessionsetupX and tconX)
+
* Wed Jul 15 2009 Guenther Deschner <gdeschner at redhat.com> - 3.4.0-0.39
- Update to 3.4.0
- resolves: #510558
More information about the fedora-extras-commits
mailing list