Print principal in debug statement in kerberos_kinit_password() as well.
authorGünther Deschner <gd@samba.org>
Mon, 14 Jan 2008 13:18:53 +0000 (14:18 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 14 Jan 2008 17:39:08 +0000 (18:39 +0100)
Guenther
(This used to be commit 44d67e84625a2a1a93baecef0e418b48e982443b)

source3/libads/kerberos.c

index 4fc23956bdef17689263021d2715bedff73bbd62..e9222e840189b3715c6493451ab7794dd2ef9b77 100644 (file)
@@ -209,7 +209,8 @@ int kerberos_kinit_password_ext(const char *principal,
                krb5_set_real_time(ctx, time(NULL) + time_offset, 0);
        }
 
-       DEBUG(10,("kerberos_kinit_password: using [%s] as ccache and config [%s]\n",
+       DEBUG(10,("kerberos_kinit_password: as %s using [%s] as ccache and config [%s]\n",
+                       principal,
                        cache_name ? cache_name: krb5_cc_default_name(ctx),
                        getenv("KRB5_CONFIG")));