s4:server: avoid using pid=0 for the parent 'samba' process
commite896ca8f9c5d6f8f0500944dc8ceea9a8dcdabb5
authorStefan Metzmacher <metze@samba.org>
Mon, 28 Jan 2019 15:29:51 +0000 (28 16:29 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Feb 2019 14:33:29 +0000 (5 15:33 +0100)
tree56af1899b53295c92ed8769a0374038d93aab3ea
parent562ceb1f43da0e7fd640bb7a8d5eb65a92ea2e89
s4:server: avoid using pid=0 for the parent 'samba' process

It confuses the 'samba-tool processes' output and log messages.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13752

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Baumbach <bbaumbach@samba.org>
(cherry picked from commit 5bd7a8e5685caa09067745b108ef7e53e3108e97)
source4/smbd/server.c