summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-av
blob: 6d6e6764c42940312e4a7406d2cfe826e7159b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-av,v 1.4 2011/12/16 11:05:24 asau Exp $

--- smbd/server.c.orig	2010-10-07 16:41:16.000000000 +0000
+++ smbd/server.c
@@ -1210,6 +1210,9 @@ extern void build_options(bool screen);
 	if (!directory_exist(lp_lockdir()))
 		mkdir(lp_lockdir(), 0755);
 
+	if (!directory_exist(lp_statedir()))
+		mkdir(lp_statedir(), 0755);
+
 	if (is_daemon)
 		pidfile_create("smbd");