s3-pid: Catch with pid filename's change when config file is not smb.conf
commitc7f0c086108f8272487348cd7b664b325cad7009
authorMatthieu Patou <mat@matws.net>
Wed, 25 Jan 2012 05:29:11 +0000 (24 21:29 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Jun 2012 19:49:48 +0000 (22 21:49 +0200)
tree44b03080f38e0ec5315e1a67cf30a69c650ccdca
parent35f39d71a9acf0bb680a33a96475709d010c38b4
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).
(cherry picked from commit 1a596076697624545f415eb558c4647267cfe46c)
source3/lib/pidfile.c