smbd: Factor out notify_init
commit2c7bfdc6445a82823f3876eafe22cd7ec8ae95a2
authorVolker Lendecke <vl@samba.org>
Thu, 23 Jun 2016 10:53:47 +0000 (23 12:53 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 20 Jul 2016 03:21:06 +0000 (20 05:21 +0200)
tree51ceabfe2e1c78cc110982462c6ea2fd15b0eb89
parent8e27c19d13a7d2c2cfc5881c95850a2d65d0aee3
smbd: Factor out notify_init

Before this patch, failure of notify_init was ignored. Also, no proper error
handling of a messaging_register failure was done. Fix those, also adding some
debug messages.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/service.c