winbindd: move loading of trusted domains on a DC to a seperate function
authorRalph Boehme <slow@samba.org>
Thu, 18 Jan 2018 10:28:20 +0000 (11:28 +0100)
committerRalph Boehme <slow@samba.org>
Sat, 10 Feb 2018 07:35:16 +0000 (08:35 +0100)
commit4274ef681bf3b974ce99b8f21fda3a86a5b305bc
treee1a087eb8a6b6a993ff1d1eb9c38dd68f2eba1e6
parent728fb7c593230abeb681854d924e4619d6f4cf37
winbindd: move loading of trusted domains on a DC to a seperate function

This allows using the split out function in a subsequent commit in the
MSG_WINBIND_NEW_TRUSTED_DOMAIN message handler.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/winbindd_util.c