lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1127 - nss-pam-ldapd/nslcd

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1127 - nss-pam-ldapd/nslcd



Author: arthur
Date: Tue Jun  1 21:40:39 2010
New Revision: 1127
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1127

Log:
add a debug log message when user authentication was successful

Modified:
   nss-pam-ldapd/nslcd/pam.c

Modified: nss-pam-ldapd/nslcd/pam.c
==============================================================================
--- nss-pam-ldapd/nslcd/pam.c   Tue Jun  1 21:39:31 2010        (r1126)
+++ nss-pam-ldapd/nslcd/pam.c   Tue Jun  1 21:40:39 2010        (r1127)
@@ -166,6 +166,8 @@
   }
   /* try authentication */
   rc=try_bind(userdn,password);
+  if (rc=NSLCD_PAM_SUCCESS)
+    log_log(LOG_DEBUG,"bind successful");
   /* write response */
   WRITE_INT32(fp,NSLCD_RESULT_BEGIN);
   WRITE_STRING(fp,username);
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits