summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2009-11-01 13:33:36 +0000
committerArthur de Jong <arthur@arthurdejong.org>2009-11-01 13:33:36 +0000
commit3fa81153e6374c6d37ce9b5343d5d944f709dba7 (patch)
tree1949442195b0b023a124a8f447a83956691a3992
parent7d5b924fbf167e0e403be292e6f1c795aaa589ef (diff)
also log uri when ldap_start_tls_s() fails
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1012 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--nslcd/myldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/myldap.c b/nslcd/myldap.c
index ca42241..518e0c3 100644
--- a/nslcd/myldap.c
+++ b/nslcd/myldap.c
@@ -379,8 +379,8 @@ static int do_bind(MYLDAP_SESSION *session,const char *uri)
rc=ldap_start_tls_s(session->ld,NULL,NULL);
if (rc!=LDAP_SUCCESS)
{
- log_log(LOG_WARNING,"ldap_start_tls_s() failed: %s: %s",
- ldap_err2string(rc),strerror(errno));
+ log_log(LOG_WARNING,"ldap_start_tls_s() failed: %s: %s (uri=\"%s\")",
+ ldap_err2string(rc),strerror(errno),uri);
return rc;
}
}