s3: nmbd: Ensure the main nmbd process doesn't create zombies.
authorJeremy Allison <jra@samba.org>
Tue, 23 Sep 2014 20:32:37 +0000 (13:32 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Oct 2014 21:31:07 +0000 (23:31 +0200)
commit5b9d192548eeb1ab87d2490a2437b1f268b10538
treebab7ee1c44b1bc84c23ebd91d27114fd1f9d7616
parent7432a08575a48ed7f6bac5147d650660e991812d
s3: nmbd: Ensure the main nmbd process doesn't create zombies.

Use the same mechanism as setup for smbd and winbindd.

Fixes bug #10830 - nmbd can leave unreaped zombies.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Mon Oct 13 23:31:07 CEST 2014 on sn-devel-104
source3/nmbd/nmbd.c