diff options
Diffstat (limited to 'net/samba/patches/patch-as')
-rw-r--r-- | net/samba/patches/patch-as | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/samba/patches/patch-as b/net/samba/patches/patch-as new file mode 100644 index 00000000000..2bc372e1d8a --- /dev/null +++ b/net/samba/patches/patch-as @@ -0,0 +1,16 @@ +$NetBSD: patch-as,v 1.1 2003/09/05 19:13:42 kim 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; |