pkgsrc/net/samba33/patches/patch-ap
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

15 lines
394 B
Text

$NetBSD: patch-ap,v 1.1.1.1 2010/02/16 16:24:16 taca Exp $
--- nmbd/nmbd.c.orig 2010-01-14 10:12:10.000000000 +0000
+++ nmbd/nmbd.c
@@ -909,6 +909,10 @@ static bool open_sockets(bool isdaemon,
mkdir(lp_lockdir(), 0755);
}
+ if (!directory_exist(lp_statedir(), NULL)) {
+ mkdir(lp_statedir(), 0755);
+ }
+
pidfile_create("nmbd");
if (!reinit_after_fork(nmbd_messaging_context(),