CVE-2021-20251 auth4: Add missing newline to debug message on PSO read failure
authorAndrew Bartlett <abartlet@samba.org>
Tue, 30 Mar 2021 03:35:44 +0000 (16:35 +1300)
committerJule Anger <janger@samba.org>
Mon, 19 Sep 2022 04:02:12 +0000 (04:02 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14611

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 4a9e0fdccfa218fbb2c3eb87e1a955ade0364b98)

source4/auth/sam.c

index 19199701465d766a994c877d75f9280ff21a6148..b12a7c981e6a2c8e96cd80a0f63d9ecec4f13f53 100644 (file)
@@ -1096,7 +1096,7 @@ NTSTATUS authsam_update_bad_pwd_count(struct ldb_context *sam_ctx,
                 * fallback to using the domain defaults so that we still
                 * record the bad password attempt
                 */
-               DBG_ERR("Error (%d) checking PSO for %s",
+               DBG_ERR("Error (%d) checking PSO for %s\n",
                        ret, ldb_dn_get_linearized(msg->dn));
        }