From 996014c09053cbca2175eac890f9b11b7bba8c58 Mon Sep 17 00:00:00 2001 From: kim Date: Fri, 5 Sep 2003 19:13:41 +0000 Subject: Fix DFS for Windows XP and 2003 clients. http://lists.xsec.it/pipermail/samba-it/2003-April/000321.html --- net/samba/Makefile | 4 ++-- net/samba/distinfo | 3 ++- net/samba/patches/patch-as | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 net/samba/patches/patch-as (limited to 'net/samba') diff --git a/net/samba/Makefile b/net/samba/Makefile index b8fa10eb090..3fe3aa2b2b2 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.101 2003/08/30 22:51:27 jlam Exp $ +# $NetBSD: Makefile,v 1.102 2003/09/05 19:13:41 kim Exp $ .include "Makefile.common" -PKGREVISION= 2 +PKGREVISION= 3 MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.samba.org/ diff --git a/net/samba/distinfo b/net/samba/distinfo index a93b1113a1e..371c6ed622a 100644 --- a/net/samba/distinfo +++ b/net/samba/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.29 2003/06/04 06:12:21 jlam Exp $ +$NetBSD: distinfo,v 1.30 2003/09/05 19:13:41 kim Exp $ SHA1 (samba-2.2.8a.tar.bz2) = f25ff456bf7ac58d32eb0209c15ce0b2fa6d7450 Size (samba-2.2.8a.tar.bz2) = 4505672 bytes @@ -13,3 +13,4 @@ SHA1 (patch-al) = 9507677d964044416802e91597c29310c61c9622 SHA1 (patch-ap) = cc0b3d73d0c7de4cd46e66b0d66b2c3bbaddeb41 SHA1 (patch-aq) = ea9cd9097cf91dd2b9f1acd9e6ff6f9445505774 SHA1 (patch-ar) = e5b442fb7eb837bb2771ac71c73e6f95ae6fdfc2 +SHA1 (patch-as) = 019cd56e1a0f3c4517e1701e09d0a7cbd741df93 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; -- cgit v1.2.3