s3-pid: Catch with pid filename's change when config file is not smb.conf
authorMatthieu Patou <mat@matws.net>
Wed, 25 Jan 2012 05:29:11 +0000 (21:29 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 31 May 2012 19:22:39 +0000 (21:22 +0200)
commit1a596076697624545f415eb558c4647267cfe46c
treed02e2e8900c4e4d49d996f8cd6fce1e6506f22d9
parentddad733a2166fb629157298a54a5ccc10a6b11fe
s3-pid: Catch with pid filename's change when config file is not smb.conf

This is what is done in pidfile_create
(cherry picked from commit 9b43ad4fcac1eb6796973336c5614b18a054080d)

Fix bug #8714 (smbcontrol can't find the pid file of winbindd because the later
is created with a different name).
source3/lib/pidfile.c