From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 31 07:00:29 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3411C16A4CE for ; Wed, 31 Mar 2004 07:00:29 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1868B43D53 for ; Wed, 31 Mar 2004 07:00:29 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2VF0Sbv067831 for ; Wed, 31 Mar 2004 07:00:28 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2VF0SuR067830; Wed, 31 Mar 2004 07:00:28 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 31 Mar 2004 07:00:28 -0800 (PST) Resent-Message-Id: <200403311500.i2VF0SuR067830@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry A Grigorovich Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD75416A4CE for ; Wed, 31 Mar 2004 06:57:22 -0800 (PST) Received: from pierino.bionet.nsc.ru (pierino.bionet.nsc.ru [193.125.179.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABC1443D2F for ; Wed, 31 Mar 2004 06:57:21 -0800 (PST) (envelope-from odip@pierino.bionet.nsc.ru) Received: from pierino.bionet.nsc.ru (localhost [127.0.0.1]) i2VEvIAB000447 for ; Wed, 31 Mar 2004 21:57:18 +0700 (NOVST) (envelope-from odip@pierino.bionet.nsc.ru) Received: (from odip@localhost) by pierino.bionet.nsc.ru (8.12.8p1/8.12.8/Submit) id i2VEvI8f000446; Wed, 31 Mar 2004 21:57:18 +0700 (NOVST) (envelope-from odip) Message-Id: <200403311457.i2VEvI8f000446@pierino.bionet.nsc.ru> Date: Wed, 31 Mar 2004 21:57:18 +0700 (NOVST) From: Dmitry A Grigorovich To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/64996: [PATCH] DFS in samba-2.2 don't work with WinXP, Win2003 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dmitry A Grigorovich List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 15:00:29 -0000 >Number: 64996 >Category: ports >Synopsis: [PATCH] DFS in samba-2.2 don't work with WinXP, Win2003 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 31 07:00:28 PST 2004 >Closed-Date: >Last-Modified: >Originator: Dmitry A Grigorovich >Release: FreeBSD 4.8-RELEASE i386 >Organization: ICiG, Novosibirsk, Russia >Environment: System: FreeBSD pierino.bionet.nsc.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #5: Sat Oct 4 02:28:14 NOVST 2003 root@pierino.bionet.nsc.ru:/usr/obj/usr/src/sys/ODIP i386 >Description: When using DFS share on samba-2.2 clients like WinXP (Win2003) don't follow DFS links e.g. we have \\server\dfs\archives ==> \\server2\soft Client enter to \\server\dfs, but can't change to \\server\dfs\archives and generate error You may found this patch in samba CVSWEB Or you may see discussion on forum http://lists.samba.org/archive/samba/2003-April/065067.html >How-To-Repeat: Make dfs share \\server\dfs Make DFS link \\server\dfs\archives => \\server2\soft Using WinXP client connect to \\server\dfs Try to enter to \\server\dfs\archives You get a error ! >Fix: Copy patch-aa to /usr/ports/net/samba/files Reinstall samba port --- patch-aa begins here --- =================================================================== RCS file: /cvsroot/samba/source/smbd/trans2.c,v retrieving revision 1.149.4.98 retrieving revision 1.149.4.99 diff -u -r1.149.4.98 -r1.149.4.99 --- source/smbd/trans2.c 2003/03/07 23:35:00 1.149.4.98 +++ source/smbd/trans2.c 2003/03/25 23:50:47 1.149.4.99 @@ -3043,7 +3043,7 @@ { char *params = *pparams; enum remote_arch_types ra_type = get_remote_arch(); - BOOL NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K)); + BOOL NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K) || (ra_type == RA_WINXP) || (ra_type == RA_WIN2K3)); pstring pathname; int reply_size = 0; int max_referral_level; --- patch-aa ends here --- >Release-Note: >Audit-Trail: >Unformatted: