]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:rpc_server/samr: don't set mapped_state in auth_usersupplied_info for audit logging
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Mar 2022 22:16:13 +0000 (23:16 +0100)
committerJule Anger <janger@samba.org>
Wed, 16 Mar 2022 14:27:12 +0000 (14:27 +0000)
mapped_state is completely irrelevant for audit logging and
will also be removed in the next commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 52787b9c1e9370133ff4481c62c2e7b9393c2439)

source4/rpc_server/samr/samr_password.c

index 437e8f6627590277debb2e36de5719a4ed822586..858c7b040648affbf1cacc11fa9f2c21e37104ad 100644 (file)
@@ -56,7 +56,6 @@ static void log_password_change_event(struct imessaging_context *msg_ctx,
         * logs are consistent, even if some elements are always NULL.
         */
        struct auth_usersupplied_info ui = {
-               .mapped_state = true,
                .was_mapped = true,
                .client = {
                        .account_name = original_client_name,