From: Stefan Metzmacher Date: Tue, 5 Jun 2018 00:52:10 +0000 (+0200) Subject: s4:rpc_server/lsa: make use of trust_forest_info_{from,to}_lsa() X-Git-Tag: tevent-0.17.0~717 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23cc5113abb6ca2b7427f0e1f1c4d024c6e83186;p=thirdparty%2Fsamba.git s4:rpc_server/lsa: make use of trust_forest_info_{from,to}_lsa() Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c index 9b6cb14bb8d..4d9570aef4b 100644 --- a/source4/rpc_server/lsa/dcesrv_lsa.c +++ b/source4/rpc_server/lsa/dcesrv_lsa.c @@ -4515,8 +4515,7 @@ static NTSTATUS dcesrv_lsa_lsaRQueryForestTrustInformation(struct dcesrv_call_st return status; } - status = dsdb_trust_forest_info_to_lsa(mem_ctx, trust_fti, - &trust_lfti); + status = trust_forest_info_to_lsa(mem_ctx, trust_fti, &trust_lfti); if (!NT_STATUS_IS_OK(status)) { return status; } @@ -4702,7 +4701,7 @@ static NTSTATUS dcesrv_lsa_lsaRSetForestTrustInformation(struct dcesrv_call_stat goto done; } - status = dsdb_trust_forest_info_to_lsa(tdo, fti, &lfti); + status = trust_forest_info_to_lsa(tdo, fti, &lfti); if (!NT_STATUS_IS_OK(status)) { goto done; } @@ -4739,8 +4738,7 @@ static NTSTATUS dcesrv_lsa_lsaRSetForestTrustInformation(struct dcesrv_call_stat goto done; } - status = dsdb_trust_forest_info_from_lsa(mem_ctx, step2_lfti, - &trust_fti); + status = trust_forest_info_from_lsa(mem_ctx, step2_lfti, &trust_fti); if (!NT_STATUS_IS_OK(status)) { goto done; }