summaryrefslogtreecommitdiff
path: root/net/samba2/patches/patch-as
blob: a809ae1c8973308b14f5be4d450a0db83f6c36f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-as,v 1.1.1.1 2004/01/11 00:41:13 jlam Exp $

Fix DFS referrals for Windows XP and 2003 clients.
http://lists.xsec.it/pipermail/samba-it/2003-April/000321.html

--- smbd/trans2.c.orig	Sun Apr  6 21:54:00 2003
+++ smbd/trans2.c	Fri Sep  5 14:47:28 2003
@@ -3041,7 +3041,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;