s4:dsdb: 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 99efe5f4e9ce426b28cef94d858849707ce15739)

source4/dsdb/samdb/ldb_modules/password_hash.c

index 0e08f4889ee0a2ef23e15b3749e650368e6c11bd..1b8a713ecf59426491dafd62bb409619de075f78 100644 (file)
@@ -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,