]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
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/dsdb/samdb/ldb_modules/password_hash.c

index 348696a895c2554c87dca4c1ef21eb1e72c93480..3978d82a79a201c5358c3c580de61dc77ebf6c66 100644 (file)
@@ -3028,7 +3028,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,