s3:smbcontrol: Use cmdline_messaging_context
authorChristof Schmitt <cs@samba.org>
Tue, 21 Aug 2018 19:35:11 +0000 (12:35 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Oct 2018 13:51:55 +0000 (15:51 +0200)
commit217373b05d36afe3162fc64514580186114bc1db
treeb03578bc12909a4384f75ac8d1cd8dd86261ef95
parentdef7d7cee44ad557741111f936499942d70f9537
s3:smbcontrol: Use cmdline_messaging_context

Initialize the messaging context through cmdline_messaging_context to
allow access to config in clustered Samba.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit de040eafbd7d729316d757c14c44df163a4b36ad)
source3/utils/smbcontrol.c
source3/utils/wscript_build