s4:kdc: Add const to "msg" parameter in samba_kdc_message2entry_keys()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 8 Mar 2022 09:48:50 +0000 (22:48 +1300)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 Mar 2022 09:19:33 +0000 (09:19 +0000)
This will help with a future caller.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/kdc/db-glue.c

index 115ef1c94b21a62baddbb329b7c252137bd2cfc7..29c2fece8f0917c58d6898fe8ab26ecff46c8832 100644 (file)
@@ -576,7 +576,7 @@ fail:
 static krb5_error_code samba_kdc_message2entry_keys(krb5_context context,
                                                    struct samba_kdc_db_context *kdc_db_ctx,
                                                    TALLOC_CTX *mem_ctx,
-                                                   struct ldb_message *msg,
+                                                   const struct ldb_message *msg,
                                                    uint32_t rid,
                                                    bool is_rodc,
                                                    uint32_t userAccountControl,