]> 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 10:39:12 +0000 (10:39 +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 5003e7499b01084b8ed0773bc16cb30b694d14c1..34a836a6a6f21f11c0d237a0a3c8049049520839 100644 (file)
@@ -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)