From: Stefan Metzmacher Date: Wed, 2 Oct 2024 16:04:27 +0000 (+0200) Subject: s4:dsdb/common: samdb_confirm_rodc_allowed_to_repl_to() only needs a const sid X-Git-Tag: tdb-1.4.13~820 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9eaf5e22de730f1e7575f6697f32dbb377eae06;p=thirdparty%2Fsamba.git s4:dsdb/common: samdb_confirm_rodc_allowed_to_repl_to() only needs a const sid BUG: https://bugzilla.samba.org/show_bug.cgi?id=15425 Signed-off-by: Stefan Metzmacher Reviewed-by: Douglas Bagnall --- diff --git a/source4/dsdb/common/rodc_helper.c b/source4/dsdb/common/rodc_helper.c index 5ed60e0af43..a3cef870497 100644 --- a/source4/dsdb/common/rodc_helper.c +++ b/source4/dsdb/common/rodc_helper.c @@ -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) {