From: Stefan Metzmacher Date: Wed, 16 Oct 2024 15:49:26 +0000 (+0200) Subject: s4:dsdb/common: dsdb_trust_get_incoming_passwords only needs a const ldb_message X-Git-Tag: ldb-2.9.2~35 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6bd5d4d204a468982bf19f8baa494eb412991427;p=thirdparty%2Fsamba.git 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 (cherry picked from commit f92def2f943917d8946b03f71fcf676998701815) --- diff --git a/source4/dsdb/common/util_trusts.c b/source4/dsdb/common/util_trusts.c index 5003e7499b0..34a836a6a6f 100644 --- a/source4/dsdb/common/util_trusts.c +++ b/source4/dsdb/common/util_trusts.c @@ -2646,7 +2646,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)