]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:dsdb/common: dsdb_trust_get_incoming_passwords only needs a const ldb_message
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Oct 2024 15:49:26 +0000 (17:49 +0200)
committerJule Anger <janger@samba.org>
Wed, 13 Nov 2024 08:41:12 +0000 (08:41 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15425

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit f92def2f943917d8946b03f71fcf676998701815)

source4/dsdb/common/util_trusts.c

index dcd4d315dda7666654b7533eac61c4a2712b6a61..be7e2012053e5a2c2c80ec515aa308ad7c9ceead 100644 (file)
@@ -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)