From: Stefan Metzmacher Date: Thu, 3 Mar 2022 22:16:13 +0000 (+0100) Subject: s4:dsdb: don't set mapped_state in auth_usersupplied_info for audit logging X-Git-Tag: samba-4.14.13~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ef4c442c6356e9670ae4f8253b129e4acc54725;p=thirdparty%2Fsamba.git s4:dsdb: 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 (cherry picked from commit 99efe5f4e9ce426b28cef94d858849707ce15739) --- diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index 0e08f4889ee..1b8a713ecf5 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -3011,7 +3011,6 @@ static int check_password_restrictions_and_log(struct setup_password_fields_io * * logs are consistent, even if some elements are always NULL. */ struct auth_usersupplied_info ui = { - .mapped_state = true, .was_mapped = true, .client = { .account_name = io->u.sAMAccountName,