]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
auth: Add missing newlines to logging messages
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 7 Aug 2023 04:31:51 +0000 (16:31 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Aug 2023 04:39:37 +0000 (04:39 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/credentials/credentials.c
auth/credentials/credentials_krb5.c

index 1785423cb707693ce923de89765f19c092271107..3690ac8c3a436385eb1d1212613b5987e14563ad 100644 (file)
@@ -1882,7 +1882,7 @@ _PUBLIC_ NTSTATUS netlogon_creds_session_encrypt(
 
        if (data.data == NULL || data.length == 0) {
                DBG_ERR("Nothing to encrypt "
-                       "data.data == NULL or data.length == 0");
+                       "data.data == NULL or data.length == 0\n");
                return NT_STATUS_INVALID_PARAMETER;
        }
        /*
index 71863367aa5504aeba29073b88c0beace5059cc8..0ce70557c581eddbd49abca4546769b2845ec47a 100644 (file)
@@ -1516,7 +1516,7 @@ _PUBLIC_ int cli_credentials_get_aes256_key(struct cli_credentials *cred,
                                                   &key);
        if (krb5_ret != 0) {
                DEBUG(1,("cli_credentials_get_aes256_key: "
-                        "generation of a aes256-cts-hmac-sha1-96 key failed: %s",
+                        "generation of a aes256-cts-hmac-sha1-96 key failed: %s\n",
                         smb_get_krb5_error_message(smb_krb5_context->krb5_context,
                                                    krb5_ret, mem_ctx)));
                return EINVAL;