summaryrefslogtreecommitdiff
path: root/net/samba/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-02-09 16:08:35 +0000
committerdrochner <drochner@pkgsrc.org>2010-02-09 16:08:35 +0000
commit455ad285bb1dab2201fca16ae3fef42ff65d84a5 (patch)
treef09fd380d7d5be5b48bd0df1691edaec9c87ac41 /net/samba/patches
parentd0e4cf4a93853e4822e314a0f330878b4cee2ffd (diff)
downloadpkgsrc-455ad285bb1dab2201fca16ae3fef42ff65d84a5.tar.gz
let the "wide links" option default to "false", as a preliminary
response to the recent symlink attack problem approved by Takahiro Kambe bump PKGREVISION
Diffstat (limited to 'net/samba/patches')
-rw-r--r--net/samba/patches/patch-bs13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/samba/patches/patch-bs b/net/samba/patches/patch-bs
index 28337f397ea..cf9a04a5a85 100644
--- a/net/samba/patches/patch-bs
+++ b/net/samba/patches/patch-bs
@@ -1,6 +1,6 @@
-$NetBSD: patch-bs,v 1.5 2008/04/03 20:19:42 jlam Exp $
+$NetBSD: patch-bs,v 1.6 2010/02/09 16:08:36 drochner Exp $
---- param/loadparm.c.orig 2008-03-08 10:56:27.000000000 -0500
+--- param/loadparm.c.orig 2009-09-30 12:21:56.000000000 +0000
+++ param/loadparm.c
@@ -109,6 +109,7 @@ typedef struct {
char *szDeletePrinterCommand;
@@ -18,6 +18,15 @@ $NetBSD: patch-bs,v 1.5 2008/04/03 20:19:42 jlam Exp $
BOOL bTimestampLogs;
BOOL bNTSmbSupport;
BOOL bNTPipeSupport;
+@@ -564,7 +566,7 @@ static service sDefault = {
+ True, /* bLevel2OpLocks */
+ False, /* bOnlyUser */
+ True, /* bMangledNames */
+- True, /* bWidelinks */
++ False, /* bWidelinks */
+ True, /* bSymlinks */
+ False, /* bSyncAlways */
+ False, /* bStrictAllocate */
@@ -890,6 +892,7 @@ static struct parm_struct parm_table[] =
{"passwd chat", P_STRING, P_GLOBAL, &Globals.szPasswdChat, NULL, NULL, FLAG_ADVANCED},
{"passwd chat debug", P_BOOL, P_GLOBAL, &Globals.bPasswdChatDebug, NULL, NULL, FLAG_ADVANCED},