From 5b1a798a2a792c74e5f11f744f4f5b663c8b93c3 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 7 May 2012 10:41:24 +0200 Subject: Remove erroneous failure message in find_principal_in_keytab * When it's actually a failure, then the callers will print a message. Fine tune this. --- src/providers/krb5/krb5_child.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/providers/krb5/krb5_child.c') diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c index f403dbc3..cf232b69 100644 --- a/src/providers/krb5/krb5_child.c +++ b/src/providers/krb5/krb5_child.c @@ -1288,7 +1288,9 @@ static krb5_error_code check_fast_ccache(krb5_context ctx, const char *primary, kerr = find_principal_in_keytab(ctx, keytab, primary, realm, &client_princ); if (kerr != 0) { - DEBUG(1, ("find_principal_in_keytab failed.\n")); + DEBUG(SSSDBG_MINOR_FAILURE, + ("find_principal_in_keytab failed for principal %s@%s.\n", + primary, realm)); goto done; } -- cgit