From f92def2f943917d8946b03f71fcf676998701815 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 16 Oct 2024 17:49:26 +0200 Subject: [PATCH] s4:dsdb/common: dsdb_trust_get_incoming_passwords only needs a const ldb_message BUG: https://bugzilla.samba.org/show_bug.cgi?id=15425 Signed-off-by: Stefan Metzmacher Reviewed-by: Douglas Bagnall --- source4/dsdb/common/util_trusts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/common/util_trusts.c b/source4/dsdb/common/util_trusts.c index dcd4d315dda..be7e2012053 100644 --- a/source4/dsdb/common/util_trusts.c +++ b/source4/dsdb/common/util_trusts.c @@ -2668,7 +2668,7 @@ NTSTATUS dsdb_trust_search_tdo_by_sid(struct ldb_context *sam_ctx, return NT_STATUS_OK; } -NTSTATUS dsdb_trust_get_incoming_passwords(struct ldb_message *msg, +NTSTATUS dsdb_trust_get_incoming_passwords(const struct ldb_message *msg, TALLOC_CTX *mem_ctx, struct samr_Password **_current, struct samr_Password **_previous)