Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2004 21:57:18 +0700 (NOVST)
From:      Dmitry A Grigorovich <odip@bionet.nsc.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    ports/64996: [PATCH] DFS in samba-2.2 don't work with WinXP, Win2003
Message-ID:  <200403311457.i2VEvI8f000446@pierino.bionet.nsc.ru>
Resent-Message-ID: <200403311500.i2VF0SuR067830@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403311457.i2VEvI8f000446>