summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-06-27 19:43:08 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-07-06 11:44:45 -0400
commit71062d4494bbe9c24358e21fa3a40ae747eae0f6 (patch)
tree0dbd59aaa3021c28f7adc87c27c7680bbb62a34c /src
parenta9c8fdfc939813eafceeecf3ec694608868d8000 (diff)
downloadsssd-71062d4494bbe9c24358e21fa3a40ae747eae0f6.tar.gz
sssd-71062d4494bbe9c24358e21fa3a40ae747eae0f6.tar.bz2
sssd-71062d4494bbe9c24358e21fa3a40ae747eae0f6.zip
KRB5_LOCATOR: Print the filename that couldn't be opened
Diffstat (limited to 'src')
-rw-r--r--src/krb5_plugin/sssd_krb5_locator_plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/krb5_plugin/sssd_krb5_locator_plugin.c b/src/krb5_plugin/sssd_krb5_locator_plugin.c
index 7ecdb29b..402fd03e 100644
--- a/src/krb5_plugin/sssd_krb5_locator_plugin.c
+++ b/src/krb5_plugin/sssd_krb5_locator_plugin.c
@@ -124,7 +124,8 @@ static int get_krb5info(const char *realm, struct sssd_ctx *ctx,
fd = open(krb5info_name, O_RDONLY);
if (fd == -1) {
- PLUGIN_DEBUG(("open failed [%d][%s].\n", errno, strerror(errno)));
+ PLUGIN_DEBUG(("open failed [%s][%d][%s].\n",
+ krb5info_name, errno, strerror(errno)));
ret = errno;
goto done;
}