]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: 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 ca6948642bc2ff821ec4ca8ab24902b1ba9e8397)

source4/kdc/hdb-samba4.c

index f0939193ad78227c93d75792f9cab816c4c437b2..2ed7a5e0623d06b44f9d31102997d8079a61e5b1 100644 (file)
@@ -385,7 +385,6 @@ static krb5_error_code hdb_samba4_auth_status(krb5_context context, HDB *db,
         * 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,