libads: Improve a debug message
authorVolker Lendecke <vl@samba.org>
Tue, 18 Aug 2020 07:16:22 +0000 (09:16 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 2 Oct 2020 21:30:32 +0000 (21:30 +0000)
"kdc_ip_string" is a multi-line string starting with a tab. It looks
better in the debug message when starting in a new line.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libads/kerberos.c

index 52a5ac9b5e6867144e280543e65bdb862fd0fc95..75beeef4a44b7fbbcb364b98569027950ab705ff 100644 (file)
@@ -824,9 +824,8 @@ bool create_local_private_krb5_conf_for_domain(const char *realm,
                goto done;
        }
 
-       DEBUG(5,("create_local_private_krb5_conf_for_domain: wrote "
-               "file %s with realm %s KDC list = %s\n",
-               fname, realm_upper, kdc_ip_string));
+       DBG_INFO("wrote file %s with realm %s KDC list:\n%s\n",
+                fname, realm_upper, kdc_ip_string);
 
        /* Set the environment variable to this file. */
        setenv("KRB5_CONFIG", fname, 1);