SOURCES: vixie-cron-pam.patch - log information that the problem c...

arekm arekm at pld-linux.org
Sat Jun 2 12:16:29 CEST 2007


Author: arekm                        Date: Sat Jun  2 10:16:29 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- log information that the problem commes from PAM

---- Files affected:
SOURCES:
   vixie-cron-pam.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/vixie-cron-pam.patch
diff -u SOURCES/vixie-cron-pam.patch:1.3 SOURCES/vixie-cron-pam.patch:1.4
--- SOURCES/vixie-cron-pam.patch:1.3	Fri Sep  2 13:16:20 2005
+++ SOURCES/vixie-cron-pam.patch	Sat Jun  2 12:16:24 2007
@@ -11,8 +11,8 @@
 +    NULL
 +    };
 +#define PAM_FAIL_CHECK if (retcode != PAM_SUCCESS) { \
-+	fprintf(stderr,"\n%s\n",pam_strerror(pamh, retcode)); \
-+	syslog(LOG_ERR,"%s",pam_strerror(pamh, retcode)); \
++	fprintf(stderr,"\nPAM ERROR: %s\n",pam_strerror(pamh, retcode)); \
++	syslog(LOG_ERR,"PAM ERROR: %s",pam_strerror(pamh, retcode)); \
 +	pam_end(pamh, retcode); exit(1); \
 +	}
 +
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/vixie-cron-pam.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list