From: Ira Cooper Date: Wed, 7 Mar 2012 00:25:16 +0000 (-0500) Subject: s3: piddir creation fix. X-Git-Tag: tdb-1.2.10~306 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25fbf907e90a70e167c56dd63b44b0f5ff1d27a7;p=thirdparty%2Fsamba.git s3: piddir creation fix. Since the piddir got moved from the lockdir by default, the default piddir wasn't getting created stopping some configurations from running. Signed-off-by: Jeremy Allison --- diff --git a/source3/smbd/server.c b/source3/smbd/server.c index e348e0b5e05..22b6a7a134b 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1216,6 +1216,9 @@ extern void build_options(bool screen); if (!directory_exist(lp_lockdir())) mkdir(lp_lockdir(), 0755); + if (!directory_exist(lp_piddir())) + mkdir(lp_piddir(), 0755); + if (is_daemon) pidfile_create("smbd");