lib/ldb: add missing newline in the output of ldb_ldif_write_trace()
[metze/samba/wip.git] / lib / ldb / common / ldb_ldif.c
index 419906ba82dd30fff530700940c1dff078d3cb5f..a2e448846a0c336e1762c640d0d0bed31d20796d 100644 (file)
@@ -333,7 +333,7 @@ static int ldb_ldif_write_trace(struct ldb_context *ldb,
                
                if (in_trace && secret_attributes && ldb_attr_in_list(secret_attributes, msg->elements[i].name)) {
                        /* Deliberatly skip printing this password */
-                       ret = fprintf_fn(private_data, "# %s::: REDACTED SECRET ATTRIBUTE",
+                       ret = fprintf_fn(private_data, "# %s::: REDACTED SECRET ATTRIBUTE\n",
                                         msg->elements[i].name);
                        CHECK_RET;
                        continue;