Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nslcd/nslcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/nslcd.c b/nslcd/nslcd.c
index eb8299d..ac1d941 100644
--- a/nslcd/nslcd.c
+++ b/nslcd/nslcd.c
@@ -325,7 +325,7 @@ static void handleconnection(int sock,MYLDAP_SESSION *session)
pid_t pid;
/* log connection */
if (getpeercred(sock,&uid,&gid,&pid))
- log_log(LOG_DEBUG,"connection from unknown client");
+ log_log(LOG_DEBUG,"connection from unknown client: %s",strerror(errno));
else
log_log(LOG_DEBUG,"connection from pid=%d uid=%d gid=%d",
(int)pid,(int)uid,(int)gid);