From: Stefan Metzmacher Date: Thu, 3 Mar 2022 22:16:13 +0000 (+0100) Subject: s4:kdc: don't set mapped_state in auth_usersupplied_info for audit logging X-Git-Tag: tevent-0.12.0~490 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca6948642bc2ff821ec4ca8ab24902b1ba9e8397;p=thirdparty%2Fsamba.git s4:kdc: don't set mapped_state in auth_usersupplied_info for audit logging 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 Reviewed-by: Andrew Bartlett --- diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c index 3f573f297f8..b10cc37e608 100644 --- a/source4/kdc/hdb-samba4.c +++ b/source4/kdc/hdb-samba4.c @@ -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,