s4:dsdb/common: add dsdb_trust_merge_forest_info() helper function
commit666ac7c5b796cf29aa278af6c429726864aba3bc
authorStefan Metzmacher <metze@samba.org>
Mon, 2 Feb 2015 12:12:36 +0000 (2 13:12 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jul 2015 16:38:21 +0000 (8 18:38 +0200)
tree1e5478ce8be4244d24283c5292d1762dfb104964
parentf043ee97ac7c0f16eb9367d7783b6ec8d8ce8114
s4:dsdb/common: add dsdb_trust_merge_forest_info() helper function

This is used to merge the netr_GetForestTrustInformation() result with
the existing information in msDS-TrustForestTrustInfo.

New top level names are added with LSA_TLN_DISABLED_NEW
while all others keep their flags.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util_trusts.c