lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1125 - nss-pam-ldapd/pam

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

nss-pam-ldapd commit: r1125 - nss-pam-ldapd/pam



Author: arthur
Date: Mon May 31 23:16:06 2010
New Revision: 1125
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1125

Log:
fix typo

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

Modified: nss-pam-ldapd/pam/pam.c
==============================================================================
--- nss-pam-ldapd/pam/pam.c     Thu May 27 22:10:00 2010        (r1124)
+++ nss-pam-ldapd/pam/pam.c     Mon May 31 23:16:06 2010        (r1125)
@@ -299,7 +299,7 @@
   PAM_REQUEST(action,
     /* log debug message */
     pam_syslog(pamh,LOG_DEBUG,"nslcd session %s; user=%s",
-          (action==NSLCD_ACTION_PAM_SESS_O)?"open":"clode",username),
+          (action==NSLCD_ACTION_PAM_SESS_O)?"open":"close",username),
     /* write the request parameters */
     WRITE_STRING(fp,username);
     WRITE_STRING(fp,ctx->dn);
@@ -493,7 +493,7 @@
     pam_syslog(pamh,LOG_NOTICE,"%s; user=%s",pam_strerror(pamh,rc),username);
   else if (cfg.debug)
     pam_syslog(pamh,LOG_DEBUG,"session %s succeeded; session_id=%d",
-               (action==NSLCD_ACTION_PAM_SESS_O)?"open":"clode",ctx->sessid);
+               (action==NSLCD_ACTION_PAM_SESS_O)?"open":"close",ctx->sessid);
   /* remap error code */
   if ((rc==PAM_AUTHINFO_UNAVAIL)&&cfg.ignore_authinfo_unavail)
     rc=PAM_IGNORE;
@@ -502,7 +502,7 @@
   if ((rc!=PAM_SUCCESS)&&(rc!=PAM_IGNORE))
     if (!cfg.no_warn)
       pam_error(pamh,"LDAP %s session failed",
-                     (action==NSLCD_ACTION_PAM_SESS_O)?"open":"clode");
+                     (action==NSLCD_ACTION_PAM_SESS_O)?"open":"close");
   return rc;
 }
 
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits