By popular request, I've MFC'd all of the new smbfs features and bugfixes from -current to -stable. See the forwarded commit message below for details of what these are. Since this is a fairly large and wide-sweeping commit, I may have made mistakes merging, or I may have backported some bugs from -current along with the fixes. Let me know immediately if this commit breaks any existing setups. I'd also be interested to hear success/failure stories from people trying to connect to Windows 2003 servers that did not work with FreeBSD in the past. Thanks, Tim ----- Forwarded message from "Tim J. Robbins" <tjr@FreeBSD.org> ----- X-Original-To: tim@localhost Delivered-To: tim@robbins.dropbear.id.au Delivered-To: tjr@freebsd.org Delivered-To: src-committers@freebsd.org From: "Tim J. Robbins" <tjr@FreeBSD.org> Date: Fri, 9 Jan 2004 20:17:50 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/smbfs/lib/smb ctx.c kiconv.c rap.c src/contrib/smbfs/smbutil common.h src/sys/netsmb netbios.h smb.h smb_conn.c smb_conn.h smb_crypt.c smb_dev.c smb_dev.h smb_iod.c smb_rq.c smb_rq.h smb_smb.c smb_subr.c smb_subr.h smb_tran.h ... X-FreeBSD-CVS-Branch: RELENG_4 Precedence: bulk X-Loop: FreeBSD.ORG tjr 2004/01/09 20:17:50 PST FreeBSD src repository Modified files: (Branch: RELENG_4) contrib/smbfs/lib/smb ctx.c kiconv.c rap.c contrib/smbfs/smbutil common.h sys/netsmb netbios.h smb.h smb_conn.c smb_conn.h smb_crypt.c smb_dev.c smb_dev.h smb_iod.c smb_rq.c smb_rq.h smb_smb.c smb_subr.c smb_subr.h smb_tran.h smb_trantcp.c smb_trantcp.h smb_usr.c sys/fs/smbfs smbfs.h smbfs_node.c smbfs_node.h smbfs_smb.c smbfs_subr.c smbfs_subr.h smbfs_vfsops.c smbfs_vnops.c Log: Bring in all of the smbfs features and bug fixes from -current to -stable: - Add support for SMB signing, which is required to connect to Windows 2003 servers. - Add support for mixed-case passwords. - Add support for large (up to 64K) READ_ANDX/WRITE_ANDX requests. - Increase TCP send/receive queue size to support these large requests. - Receive packets in small pieces so TCP slowstart will get ACKs faster. - Fix off-by-one bug preventing access to servers with NetBIOS names exactly 15 characters long. - Allow the [, ], and = characters in non-8.3 filenames. - Only close files on the server when there are no more references to the vnode; makes mmap()'d regions work properly after the local file descriptor has been closed. - Fix mishandling of files >4GB. - Diff reduction to make future merges easier. PR: 36038 46902 57123 Revision Changes Path 1.1.1.1.2.5 +6 -6 src/contrib/smbfs/lib/smb/ctx.c 1.1.1.1.2.3 +2 -1 src/contrib/smbfs/lib/smb/kiconv.c 1.1.1.1.2.2 +2 -1 src/contrib/smbfs/lib/smb/rap.c 1.1.1.1.2.3 +2 -1 src/contrib/smbfs/smbutil/common.h 1.2.2.3 +1 -1 src/sys/fs/smbfs/smbfs.h 1.2.2.4 +24 -21 src/sys/fs/smbfs/smbfs_node.c 1.1.2.3 +2 -1 src/sys/fs/smbfs/smbfs_node.h 1.1.2.3 +243 -10 src/sys/fs/smbfs/smbfs_smb.c 1.1.2.3 +2 -0 src/sys/fs/smbfs/smbfs_subr.c 1.1.2.2 +5 -2 src/sys/fs/smbfs/smbfs_subr.h 1.2.2.6 +2 -2 src/sys/fs/smbfs/smbfs_vfsops.c 1.2.2.9 +67 -77 src/sys/fs/smbfs/smbfs_vnops.c 1.1.2.3 +1 -1 src/sys/netsmb/netbios.h 1.1.2.4 +74 -12 src/sys/netsmb/smb.h 1.1.2.2 +90 -69 src/sys/netsmb/smb_conn.c 1.1.2.4 +7 -1 src/sys/netsmb/smb_conn.h 1.1.2.4 +196 -3 src/sys/netsmb/smb_crypt.c 1.2.2.2 +7 -26 src/sys/netsmb/smb_dev.c 1.3.2.2 +0 -0 src/sys/netsmb/smb_dev.h 1.1.2.3 +42 -29 src/sys/netsmb/smb_iod.c 1.1.2.3 +29 -9 src/sys/netsmb/smb_rq.c 1.1.2.3 +5 -1 src/sys/netsmb/smb_rq.h 1.1.2.4 +270 -9 src/sys/netsmb/smb_smb.c 1.1.2.3 +14 -4 src/sys/netsmb/smb_subr.c 1.1.2.2 +8 -41 src/sys/netsmb/smb_subr.h 1.1.2.2 +1 -0 src/sys/netsmb/smb_tran.h 1.3.2.2 +72 -22 src/sys/netsmb/smb_trantcp.c 1.1.2.2 +11 -3 src/sys/netsmb/smb_trantcp.h 1.1.2.2 +10 -4 src/sys/netsmb/smb_usr.c ----- End forwarded message -----