pkgsrc/net/samba33/patches/patch-av
taca 0a54216b4e Importing Samba 3.3.10 as net/samba33.
This isn't latest release, but diffrence from current package is minimal
supported release.

Since changes are too huge to write here, please refer each release notes:

	http://www.samba.org/samba/history/

And this pacakge already contain fix for CVE-2009-3297.
2010-02-16 16:24:15 +00:00

14 lines
399 B
Text

$NetBSD: patch-av,v 1.1.1.1 2010/02/16 16:24:16 taca Exp $
--- smbd/server.c.orig 2010-01-14 10:12:10.000000000 +0000
+++ smbd/server.c
@@ -1350,6 +1350,9 @@ extern void build_options(bool screen);
if (!directory_exist(lp_lockdir(), NULL))
mkdir(lp_lockdir(), 0755);
+ if (!directory_exist(lp_statedir(), NULL))
+ mkdir(lp_statedir(), 0755);
+
if (is_daemon)
pidfile_create("smbd");