summaryrefslogtreecommitdiff
path: root/net/samba33/patches/patch-av
blob: ed7ad8b2f262ceecd655127fd2be50056ba76c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$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");