From 2ad8c705b238e8ebb87fed51b962b4e165c1202f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 14 Sep 2006 10:21:46 +0000 Subject: r18512: Add krb5conf file environment to debug statement. Guenther (This used to be commit 398f368c8a2df36d522583c733f7c22cac2f2059) --- source3/libads/kerberos.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index 6374c515ad..76866a8093 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -86,8 +86,9 @@ 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\n", - cache_name ? cache_name: krb5_cc_default_name(ctx))); + DEBUG(10,("kerberos_kinit_password: using [%s] as ccache and config [%s]\n", + cache_name ? cache_name: krb5_cc_default_name(ctx), + getenv("KRB5_CONFIG"))); if ((code = krb5_cc_resolve(ctx, cache_name ? cache_name : krb5_cc_default_name(ctx), &cc))) { krb5_free_context(ctx); -- cgit