lists.arthurdejong.org
RSS feed

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

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

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



Author: arthur
Date: Sun Apr 24 23:01:04 2011
New Revision: 1436
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1436

Log:
make request indicator shorter

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

Modified: nss-pam-ldapd/nslcd/pam.c
==============================================================================
--- nss-pam-ldapd/nslcd/pam.c   Sun Apr 24 22:54:35 2011        (r1435)
+++ nss-pam-ldapd/nslcd/pam.c   Sun Apr 24 23:01:04 2011        (r1436)
@@ -152,7 +152,7 @@
   READ_STRING(fp,servicename);
   READ_STRING(fp,password);
   /* log call */
-  log_setrequest("pam_authc=\"%s\"",username);
+  log_setrequest("authc=\"%s\"",username);
   log_log(LOG_DEBUG,"nslcd_pam_authc(\"%s\",\"%s\",\"%s\")",
                     username,servicename,*password?"***":"");
   /* write the response header */
@@ -327,7 +327,7 @@
   READ_STRING(fp,rhost);
   READ_STRING(fp,tty);
   /* log call */
-  log_setrequest("pam_authz=\"%s\"",username);
+  log_setrequest("authz=\"%s\"",username);
   log_log(LOG_DEBUG,"nslcd_pam_authz(\"%s\",\"%s\",\"%s\",\"%s\",\"%s\")",
             username,servicename,ruser,rhost,tty);
   /* write the response header */
@@ -404,7 +404,7 @@
   READ_STRING(fp,ruser);
   READ_INT32(fp,sessionid);
   /* log call */
-  log_setrequest("pam_sess_o=\"%s\"",username);
+  log_setrequest("sess_o=\"%s\"",username);
   log_log(LOG_DEBUG,"nslcd_pam_sess_o(\"%s\",\"%s\",\"%s\",\"%s\",\"%s\")",
                     username,servicename,tty,rhost,ruser);
   /* write the response header */
@@ -433,7 +433,7 @@
   READ_STRING(fp,ruser);
   READ_INT32(fp,sessionid);
   /* log call */
-  log_setrequest("pam_sess_c=\"%s\"",username);
+  log_setrequest("sess_c=\"%s\"",username);
   log_log(LOG_DEBUG,"nslcd_pam_sess_c(\"%s\",\"%s\",%d)",
                     username,servicename,(int)sessionid);
   /* write the response header */
@@ -500,7 +500,7 @@
   READ_STRING(fp,oldpassword);
   READ_STRING(fp,newpassword);
   /* log call */
-  log_setrequest("pam_pwmod=\"%s\"",username);
+  log_setrequest("pwmod=\"%s\"",username);
   log_log(LOG_DEBUG,"nslcd_pam_pwmod(\"%s\",%s,\"%s\",\"%s\",\"%s\")",
                     
username,asroot?"asroot":"asuser",servicename,*oldpassword?"***":"",
                     *newpassword?"***":"");
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits