]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:dsdb/common: samdb_confirm_rodc_allowed_to_repl_to() only needs a const sid
authorStefan Metzmacher <metze@samba.org>
Wed, 2 Oct 2024 16:04:27 +0000 (18:04 +0200)
committerJule Anger <janger@samba.org>
Wed, 13 Nov 2024 10:39:11 +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 c9eaf5e22de730f1e7575f6697f32dbb377eae06)

source4/dsdb/common/rodc_helper.c

index b4982aee9ed45f056594375a8afc7e33d96cf4df..2b2a0ae78268a4ecdb5db8ccb19c7a14b5900b1c 100644 (file)
@@ -237,7 +237,7 @@ WERROR samdb_confirm_rodc_allowed_to_repl_to_sid_list(struct ldb_context *sam_ct
  * rather than relying on the caller providing those
  */
 WERROR samdb_confirm_rodc_allowed_to_repl_to(struct ldb_context *sam_ctx,
-                                            struct dom_sid *rodc_machine_account_sid,
+                                            const struct dom_sid *rodc_machine_account_sid,
                                             struct ldb_message *rodc_msg,
                                             struct ldb_message *obj_msg)
 {