messaging: Call messaging_dgm_send under become_root only if necessary
authorRalph Boehme <slow@samba.org>
Thu, 1 Sep 2016 12:08:55 +0000 (14:08 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 12 Sep 2016 22:19:26 +0000 (00:19 +0200)
commitd2b0694666b59021b7a2c2a8745cb50f57fc2a76
tree55b1cc68e94b9e51069d2369c1451391c53c683c
parente0de912793fe23ba3e61541e69b36199d57d7f0f
messaging: Call messaging_dgm_send under become_root only if necessary

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/messages.c
source4/lib/messaging/messaging.c