]> 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)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 10 Mar 2022 03:16:35 +0000 (03:16 +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>
source4/kdc/hdb-samba4.c

index 3f573f297f89fb781296499d82220cf2e48763cb..b10cc37e6082596fda17d5bdae03b65e6d7f502d 100644 (file)
@@ -527,7 +527,6 @@ static krb5_error_code hdb_samba4_audit(krb5_context context,
         * logs are consistent, even if some elements are always NULL.
         */
        ui = (struct auth_usersupplied_info) {
-               .mapped_state = true,
                .was_mapped = true,
                .client = {
                        .account_name = r->cname,