winbindd: introduce add_trusted_domain_from_tdc()
authorUri Simchoni <uri@samba.org>
Tue, 9 Feb 2016 22:26:45 +0000 (00:26 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 23 Feb 2016 17:52:21 +0000 (18:52 +0100)
commitc65841a3bd737b61251603a916a315043703c832
tree93fc6df4588d7927c23c5177e7165654e40ea0c4
parenta42dc8610b1d5b58e805d85f51ffe6ab173e2bd9
winbindd: introduce add_trusted_domain_from_tdc()

This is purely a refactoring patch -
Add a routine that adds a winbindd domain object based on
domain trust cache entry. add_trusted_domain() becomes
a wrapper for this new routine.

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

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/winbindd/winbindd_util.c