]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:rpc_server/lsa: make use of trust_forest_info_{from,to}_lsa()
authorStefan Metzmacher <metze@samba.org>
Tue, 5 Jun 2018 00:52:10 +0000 (02:52 +0200)
committerRalph Boehme <slow@samba.org>
Sat, 22 Feb 2025 16:00:35 +0000 (16:00 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source4/rpc_server/lsa/dcesrv_lsa.c

index 9b6cb14bb8d6b56700ae9db1dd7f4c0f7ec6be9d..4d9570aef4b6b0120ffde73e06f73e91052e96cb 100644 (file)
@@ -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;
        }